Function at 0x533cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb8
push esi
mov esi, dword [esp + 0xc4]
test esi, esi
push edi
mov edi, dword [esp + 0xc4]
mov eax, dword [edi]
mov dword [esp + 0x34], 1
mov dword [esp + 8], eax
je 0x533d93
cmp byte [eax + 0x1e], 0
jne 0x533d93
cmp dword [edi + 0x40], 0
jne 0x533d93
push 0
push 0
push 0
push 0x15
push edi
call fcn.0052fa50
add esp, 0x14
test eax, eax
jne 0x533d93
push 0x2c
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004b7bc0
mov edx, dword [esp + 0xd8]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
cmp byte [edx], 4
mov dword [esp + 0x18], ecx
ja 0x533d37
mov dword [esi + 0x1c], 0
mov byte [esi + 5], 0
push 0
push esi
push edi
call fcn.00533260
add esp, 0xc
test eax, eax
jne 0x534997
cmp dword [esi + 0x20], 0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
je 0x533dc5
cmp dword [esi + 0x28], 0
jne 0x533da1
xor ecx, ecx
xor edx, edx
mov eax, esi
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], esi
mov ecx, eax
mov eax, dword [eax + 0x20]
add edx, 1
test eax, eax
jne 0x533d64
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x533da1
cmp edx, eax
jle 0x533da1
push str.too_many_terms_in_compound_SELECT
push edi
call fcn.00511b10
add esp, 8
pop edi
mov eax, 1
pop esi
add esp, 0xb8
ret
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xcc]
push edx
push eax
push edi
mov edi, esi
call fcn.005327f0
add esp, 0xc
pop edi
pop esi
add esp, 0xb8
ret
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
movzx eax, byte [esi + 5]
mov dword [esp + 0x20], edx
movzx edx, byte [esi + 7]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
je 0x534997
cmp dword [edi + 0x40], 0
jg 0x534997
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [esp + 0xcc]
push edx
mov ecx, edi
call fcn.00530ac0
add esp, 4
test eax, eax
jne 0x534997
mov eax, dword [esp + 0xcc]
cmp byte [eax], 4
ja 0x533e3b
mov dword [esp + 0x18], 0
push ebp
push edi
call fcn.00532610
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x534996
mov ecx, dword [esp + 0x28]
cmp word [ecx], 0
push ebx
mov dword [esp + 0x38], 0
jle 0x533f9e
xor edx, edx
xor ebx, ebx
jmp 0x533e72
xor edx, edx
mov eax, dword [esp + 0x2c]
cmp dword [ebx + eax + 0x18], edx
lea ecx, [ebx + eax + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
je 0x533f85
cmp byte [ebx + eax + 0x1c], 0
jne 0x533f85
mov eax, dword [ebx + eax + 0xc]
cmp eax, edx
je 0x533eb9
mov edx, dword [edi + 0x18c]
mov dword [esp + 0x24], edx
mov dword [edi + 0x18c], eax
mov dword [esp + 0x1c], 1
jmp 0x533ebd
mov dword [esp + 0x1c], edx
push esi
call fcn.00535200
add dword [edi + 0x1a4], eax
mov eax, dword [esp + 0x30]
mov eax, dword [ebx + eax + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
xor eax, eax
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
push esi
lea eax, [esp + 0xcc]
mov byte [esp + 0xcc], 9
mov byte [esp + 0xcd], 0
mov edx, dword [ecx]
push eax
push edx
push edi
call fcn.00533cb0
mov eax, dword [esp + 0x30]
add esp, 0x20
cmp byte [eax + 0x1e], 0
jne 0x534995
push esi
call fcn.00535200
sub dword [edi + 0x1a4], eax
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x533f4a
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x18c], ecx
mov ecx, dword [esp + 0xd4]
cmp byte [ecx], 4
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
jbe 0x533f6b
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x14]
movzx edx, byte [esi + 5]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x38]
movsx eax, word [eax]
add ecx, 1
add ebx, 0x30
cmp ecx, eax
mov dword [esp + 0x38], ecx
jl 0x533e70
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x533fec
mov ebx, dword [esp + 0xe0]
test ebx, ebx
je 0x533fec
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0xe0]
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.005338d0
add esp, 0x14
test eax, eax
je 0x533fec
cmp dword [esp + 0x44], 0
je 0x534995
mov dword [ebx], 1
jmp 0x534995
cmp byte [esi + 5], 0
je 0x53401d
cmp byte [esi + 7], 0
jne 0x53401d
cmp dword [esi + 0x14], 0
jne 0x53401d
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00534ef0
add esp, 8
mov dword [esi + 0x14], eax
mov dword [esp + 0x14], eax
mov byte [esi + 5], 0
xor ebx, ebx
jmp 0x534021
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x534065
push eax
push edi
call fcn.00530f70
mov edx, dword [edi + 0x44]
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffff7
push eax
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x30]
add dword [edi + 0x44], 1
mov edx, dword [eax]
mov eax, dword [eax + 8]
push 0
add edx, 2
push edx
push eax
push 0x70
push ebp
call fcn.005104e0
add esp, 0x24
mov dword [esp + 0x24], eax
mov dword [esi + 0x44], eax
jmp 0x53406d
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0xd4]
cmp byte [eax], 9
jne 0x53408f
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push eax
push 0x70
push ebp
call fcn.0050e130
add esp, 0x10
push ebp
call fcn.0050e150
push eax
mov dword [esp + 0x94], eax
push esi
mov eax, edi
call fcn.00532650
add esp, 0xc
test ebx, ebx
je 0x5340d7
mov ebx, dword [edi + 0x44]
lea ecx, [ebx + 1]
mov dword [edi + 0x44], ecx
mov edx, dword [esi]
push edx
push edi
mov dword [esp + 0x40], ebx
call fcn.00530f70
push 0xfffffffffffffff7
push eax
push 0
push 0
push ebx
push 0x70
push ebp
call fcn.005104e0
add esp, 0x24
jmp 0x5340df
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x44], 0
jne 0x53417c
cmp dword [esp + 0x14], 0
jne 0x53417c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push edi
call fcn.00542cd0
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x534995
cmp dword [esp + 0x24], 0
jl 0x53413e
cmp dword [esp + 0x20], 0
jne 0x53413e
mov eax, dword [esp + 0x24]
push 1
push eax
push ebp
call fcn.0050fe90
add esp, 0xc
mov dword [esi + 0x44], 0xffffffff
mov ecx, dword [esp + 0xe4]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
push eax
push esi
mov eax, edi
call fcn.00530af0
push ebx
call fcn.00541840
add esp, 0x2c
jmp 0x534913
push ebp
call fcn.0050e150
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0xb0], edx
je 0x5341fa
mov ecx, dword [eax]
add ecx, 1
mov dword [esp + 0x58], ecx
jmp 0x534202
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00536640
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00536640
mov eax, dword [esp + 0x40]
add esp, 0x10
test eax, eax
je 0x534246
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00536620
add esp, 8
mov ecx, dword [esp + 0x60]
xor ebx, ebx
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x68], ecx
jle 0x53428d
mov dword [esp + 0x18], ebx
lea ebx, [ebx]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00536640
add dword [esp + 0x20], 0x10
add ebx, 1
add esp, 8
cmp ebx, dword [esp + 0x70]
jl 0x534260
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x1e], 0
jne 0x534995
xor eax, eax
cmp dword [esp + 0x14], eax
je 0x5347cf
push ebp
call fcn.0050e150
push ebp
mov dword [esp + 0x18], eax
call fcn.0050e150
push ebp
mov dword [esp + 0x88], eax
call fcn.0050e150
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x5c], eax
push edx
add eax, 1
push edi
mov dword [edi + 0x44], eax
call fcn.00530f70
mov ecx, dword [esp + 0x64]
push 0xfffffffffffffff7
push eax
push 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
push eax
push ecx
push 0x70
push ebp
call fcn.005104e0
mov ebx, dword [edi + 0x48]
mov edx, dword [esp + 0x44]
add ebx, 1
lea ecx, [ebx + 1]
mov dword [edi + 0x48], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [edx]
add eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x44]
push ecx
mov dword [edi + 0x48], eax
mov edx, dword [edx]
push 0
add edx, eax
push 0x2f
push ebp
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x58], ecx
mov dword [edi + 0x48], edx
call fcn.0050e130
add esp, 0x40
push ebx
push 0
push 0x2f
push ebp
call fcn.0050e130
mov eax, dword [esp + 0x20]
push eax
push 0
push 0x5b
push ebp
call fcn.0050e130
push ebp
call fcn.0050e2f0
mov ecx, dword [esp + 0x3c]
push ecx
push 1
push 0x2f
push ebp
mov dword [esp + 0x68], eax
call fcn.0050e130
push 0
push 0
push 0x18
push ebp
call fcn.0050e130
add esp, 0x44
push ebp
call fcn.0050e2f0
mov dword [esp + 0x20], eax
add eax, 2
push eax
push ebx
push 0x7b
push ebp
call fcn.0050e130
push 0
push 0
push 0x18
push ebp
call fcn.0050e130
add esp, 0x24
lea ebx, [esp + 0x4c]
mov eax, edi
call fcn.00533520
cmp dword [esp + 0x30], 0
je 0x5343dc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push 8
add edx, 1
push edx
push eax
push edi
call fcn.00538930
add esp, 0x10
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
mov edx, dword [esp + 0x40]
add eax, 1
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi]
push edx
push eax
push 0
push 0
push ecx
push esi
mov eax, edi
call fcn.00530af0
push 0
push 0
push 0x18
push ebp
call fcn.0050e130
push ebp
call fcn.0050e2f0
push edi
lea ebx, [esp + 0x8c]
mov dword [esp + 0xc4], eax
call fcn.00533460
add esp, 0x40
push 0
push 0
push 0x18
push ebp
call fcn.0050e130
mov edx, dword [esp + 0x20]
push edx
push ebp
call fcn.0050e1a0
mov eax, dword [esp + 0x9c]
push eax
push 0
push 0x2e
push ebp
call fcn.0050e130
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push 0
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call fcn.00542cd0
add esp, 0x3c
test eax, eax
mov dword [esp + 0x34], eax
je 0x534995
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5344a2
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
jmp 0x5345fb
mov ebx, dword [eax]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
add ebx, 1
test esi, esi
mov dword [esp + 0x30], 1
mov eax, ebx
mov dword [esp + 0x28], ebx
mov edx, ebx
jle 0x5344e6
mov ecx, dword [esp + 0x5c]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], edx
jl 0x5344da
add eax, 1
add edx, 1
add ecx, 0x18
sub esi, 1
jne 0x5344d0
mov dword [esp + 0x28], eax
push eax
push edi
call fcn.00535c30
mov edx, dword [esp + 0x1c]
mov esi, eax
push 0
push esi
push edx
push edi
mov dword [esp + 0x54], esi
call fcn.005359a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
lea ecx, [esi + eax]
push ecx
push edx
push 5
push ebp
call fcn.0050e130
add esp, 0x28
cmp dword [esp + 0x60], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], 0
jle 0x534599
mov eax, esi
mov ecx, ebx
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x5c]
xor esi, esi
lea esp, [esp]
mov edx, dword [esp + 0x10]
cmp dword [esi + eax + 0xc], edx
jl 0x534581
mov ecx, dword [esi + eax + 4]
mov edx, dword [esi + eax + 8]
mov eax, dword [esi + eax]
push 0
push ebx
push ecx
push edx
push eax
push edi
call fcn.00535620
add esp, 0x18
cmp ebx, eax
je 0x534575
push ebx
push eax
push 8
push ebp
call fcn.0050e130
add esp, 0x10
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x5c]
add ebx, 1
mov ecx, dword [esp + 0x38]
add ecx, 1
add esi, 0x18
cmp ecx, dword [esp + 0x60]
mov dword [esp + 0x38], ecx
jl 0x534540
mov esi, dword [esp + 0x3c]
push edi
call fcn.00535b70
mov ecx, dword [esp + 0x2c]
mov ebx, eax
push ebx
push ecx
push esi
push 0x55
push ebp
call fcn.0050e060
mov edx, dword [esp + 0x68]
push ebx
push edx
push 0x68
push ebp
call fcn.0050e130
push ebx
push edi
call fcn.00535c10
mov eax, dword [esp + 0x58]
push eax
push esi
push edi
call fcn.00535ca0
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00541840
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x90]
add esp, 0x40
push edx
push eax
push 0x12
push ebp
call fcn.0050e130
add esp, 0x10
mov byte [esp + 0x4d], 1
push ebp
call fcn.0050e2f0
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
xor esi, esi
add esp, 4
cmp dword [eax], esi
jle 0x534667
mov dword [esp + 0x28], esi
lea ebx, [ebx]
cmp dword [esp + 0x30], 0
lea ecx, [esi + ebx]
push ecx
je 0x53463e
mov edx, dword [esp + 0x54]
push esi
push edx
push 3
push ebp
call fcn.0050e060
add esp, 0x14
jmp 0x534657
mov byte [esp + 0x50], 1
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + eax]
push ecx
push edi
call fcn.005358f0
add esp, 0xc
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 0xc
add esi, 1
cmp esi, dword [eax]
jl 0x534620
mov esi, dword [eax]
sub esi, 1
js 0x5346cb
mov edi, edi
test esi, esi
jne 0x534689
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
push ebx
push edx
add eax, 1
push eax
push 0x44
jmp 0x53469f
mov ecx, dword [esp + 0x7c]
lea eax, [esi + ebx]
push eax
mov eax, dword [esp + 0x1c]
add eax, 1
push ecx
lea edx, [esi + eax]
push edx
push 0x43
push ebp
call fcn.0050e060
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + esi*4 + 0x10]
add esp, 0x14
push 0xfffffffffffffffc
push ecx
push 0xffffffffffffffff
push ebp
call fcn.0050fef0
push 0x10
push ebp
call fcn.0050e490
add esp, 0x18
sub esi, 1
jns 0x534670
mov edx, dword [esp + 0x7c]
push edx
push ebp
call fcn.0050e1a0
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [eax], 0
mov dword [esp + 0x10], 0
jle 0x53471f
mov eax, dword [esp + 0x18]
add eax, 1
sub eax, ebx
mov esi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x48]
add ecx, esi
push ecx
push esi
push edi
call fcn.00535800
mov edx, dword [esp + 0x20]
add ebx, 1
add esp, 0xc
add esi, 1
cmp ebx, dword [edx]
jl 0x534700
mov ebx, dword [esp + 0x1c]
push ebx
push 0
push 0x2e
push ebp
call fcn.0050e130
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x7b
push ebp
call fcn.0050e130
mov edx, dword [esp + 0xa4]
push edx
push 0
push 0x2e
push ebp
call fcn.0050e130
mov eax, dword [esp + 0xb0]
push eax
push ebp
call fcn.0050e1a0
lea ecx, [esp + 0x84]
push ecx
mov esi, edi
call fcn.00533570
mov edx, dword [esp + 0xc4]
push edx
push 1
push 0x2f
push ebp
call fcn.0050e130
add esp, 0x4c
cmp dword [esp + 0x30], 0
je 0x53479f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push 0x67
push ebp
call fcn.0050e130
jmp 0x5347b9
mov edx, dword [esp + 0x34]
push edx
call fcn.00541840
mov eax, dword [esp + 0x94]
push 1
push eax
push ebp
call fcn.0050fe90
add esp, 0x10
push ebx
push 0
push 0x2e
push ebp
call fcn.0050e130
add esp, 0x10
jmp 0x534905
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.005331e0
mov bl, al
test bl, bl
mov byte [esp + 0x34], bl
je 0x53482a
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov esi, dword [esp + 0x10]
push ecx
push esi
call fcn.00534ef0
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
je 0x53482a
cmp byte [esi + 0x1e], 0
jne 0x53482a
mov eax, dword [eax + 0xc]
cmp bl, 1
setne dl
mov byte [eax + 8], dl
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov byte [eax], 0x95
push edi
lea ebx, [esp + 0x50]
call fcn.00533460
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push edi
call fcn.00542cd0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x534869
mov edx, dword [esp + 0x1c]
push edx
call fcn.00535220
add esp, 4
jmp 0x534995
lea eax, [esp + 0x4c]
push eax
mov esi, edi
call fcn.00533570
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x534897
cmp byte [esp + 0x34], 0
je 0x534897
mov ecx, dword [ebx + 0x14]
push ecx
push 0
push 0x5b
push ebp
call fcn.0050e130
add esp, 0x10
push ebx
call fcn.00541840
add esp, 4
lea ebx, [esp + 0x4c]
mov eax, edi
call fcn.00533520
mov eax, dword [esp + 0x30]
test eax, eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], 0
je 0x5348cc
push 8
push esi
push eax
push edi
call fcn.00538930
add esp, 0x10
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xd4]
push edx
push esi
push esi
push eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
mov eax, edi
call fcn.00530af0
mov edx, dword [esp + 0x44]
push edx
call fcn.00535220
add esp, 0x2c
mov eax, dword [esp + 0x24]
push eax
push ebp
call fcn.0050e1a0
add esp, 8
cmp dword [esp + 0x20], 0
je 0x53493c
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xd4]
push eax
push ecx
push edi
mov esi, ebp
call fcn.00531010
add esp, 0x10
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x53495c
mov ecx, dword [esp + 0xdc]
mov eax, dword [eax + 0xc]
lea edx, [ecx + ecx*2]
shl edx, 4
mov byte [edx + eax + 0x1c], 1
mov ecx, dword [esp + 0x8c]
push ecx
push ebp
call fcn.0050e1a0
mov edx, dword [esp + 0xdc]
add esp, 8
cmp byte [edx], 5
mov dword [esp + 0x3c], 0
jne 0x534995
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00531590
add esp, 8
pop ebx
pop ebp
mov edx, dword [esp + 0x54]
push edx
call fcn.0050dc90
mov eax, dword [esp + 0x68]
push eax
call fcn.0050dc90
mov eax, dword [esp + 0x3c]
add esp, 8
pop edi
pop esi
add esp, 0xb8
ret