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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [esp + 0x44], 1
mov dword [esp + 0xc], eax
je 0x439150
cmp byte [eax + 0x1e], 0
jne 0x439150
cmp dword [ebx + 0x40], 0
jne 0x439150
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.00425860
add esp, 0x10
test eax, eax
jne 0x439150
push 0x2c
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0046e670
mov ecx, dword [ebp + 0x10]
mov esi, dword [edi + 0x1c]
add esp, 0xc
cmp byte [ecx], 4
mov dword [esp + 0x24], esi
ja 0x4390f3
mov dword [edi + 0x1c], 0
mov byte [edi + 5], 0
push 0
push edi
push ebx
call fcn.00438910
add esp, 0xc
test eax, eax
jne 0x439f0f
cmp dword [edi + 0x20], eax
mov dword [edi + 0x1c], esi
je 0x439175
cmp dword [edi + 0x28], eax
jne 0x43915c
xor ecx, ecx
xor edx, edx
mov eax, edi
lea ebx, [ebx]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edi
mov ecx, eax
mov eax, dword [eax + 0x20]
add edx, 1
test eax, eax
jne 0x439120
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x43915c
cmp edx, eax
jle 0x43915c
push str.too_many_terms_in_compound_SELECT
mov esi, ebx
call fcn.00405450
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push edi
push ebx
call fcn.004378b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [edi + 7]
mov dword [esp + 0x14], edx
movzx edx, byte [edi + 5]
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], edi
je 0x439f0f
cmp dword [ebx + 0x40], 0
jg 0x439f0f
cmp dword [edi], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4391d3
mov esi, ebx
call fcn.00435620
test eax, eax
jne 0x439f0f
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
ja 0x4391e3
mov dword [esp + 0x24], 0
mov esi, ebx
call fcn.00437640
mov edi, eax
test edi, edi
mov dword [esp + 0x40], edi
je 0x439f0f
mov edx, dword [esp + 0x2c]
mov ebx, dword [ebp + 0xc]
xor eax, eax
cmp word [edx], ax
mov dword [esp + 0x30], eax
jle 0x439352
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
cmp dword [eax + ecx + 0x18], 0
lea edx, [eax + ecx + 0x18]
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], edx
je 0x439335
cmp byte [eax + ecx + 0x1c], 0
jne 0x439335
mov eax, dword [eax + ecx + 0xc]
test eax, eax
je 0x439262
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x34], ecx
mov dword [esi + 0x18c], eax
mov dword [esp + 0x18], 1
jmp 0x43926a
mov dword [esp + 0x18], 0
mov ecx, ebx
call fcn.0041f990
add dword [esi + 0x1a4], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov eax, dword [edx + eax + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xcc], eax
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
push ebx
lea eax, [esp + 0xd8]
mov byte [esp + 0xd8], 9
mov byte [esp + 0xd9], 0
mov edx, dword [ecx]
push eax
push edx
push esi
call fcn.00439070
mov eax, dword [esp + 0x28]
add esp, 0x1c
cmp byte [eax + 0x1e], 0
jne 0x439f0f
mov ecx, ebx
call fcn.0041f990
sub dword [esi + 0x1a4], eax
cmp dword [esp + 0x18], 0
je 0x4392fa
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x18c], ecx
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
jbe 0x439317
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
movzx edx, byte [ebx + 5]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
add eax, 0x30
mov dword [esp + 0x38], eax
movsx eax, word [ecx]
add edx, 1
cmp edx, eax
mov dword [esp + 0x30], edx
jl 0x439212
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x439399
cmp dword [ebp + 0x1c], 0
je 0x439399
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp + 0x18]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00438450
add esp, 0x14
test eax, eax
je 0x439399
cmp dword [esp + 0x58], 0
je 0x439f0f
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 1
jmp 0x439f0f
cmp byte [ebx + 5], 0
je 0x4393ce
cmp byte [ebx + 7], 0
jne 0x4393ce
cmp dword [ebx + 0x14], 0
jne 0x4393ce
mov edx, dword [ebx]
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.0041f1b0
add esp, 8
mov dword [ebx + 0x14], eax
mov dword [esp + 0x14], eax
mov byte [ebx + 5], 0
mov dword [esp + 0x10], 0
cmp dword [esp + 0x24], 0
je 0x43940f
mov ecx, dword [esp + 0x24]
push ecx
push esi
call fcn.00435af0
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
add dword [esi + 0x44], 1
mov ecx, dword [edx]
mov edx, dword [edx + 8]
push 0xfffffffffffffff7
push eax
push 0x70
add ecx, 2
push edi
xor eax, eax
call fcn.00415a60
add esp, 0x18
mov dword [esp + 0x18], eax
mov dword [ebx + 0x44], eax
jmp 0x439417
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [ebp + 0x10]
cmp byte [edx], 9
jne 0x43943e
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
push 0
push ecx
push eax
push 0x70
mov esi, edi
call fcn.004159c0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
add esp, 0x10
mov eax, edi
call fcn.00415a90
push eax
mov dword [esp + 0xa4], eax
push ebx
mov eax, esi
call fcn.00437670
add esp, 8
cmp dword [esp + 0x10], 0
je 0x43948d
mov eax, dword [esi + 0x44]
mov dword [esp + 0x20], eax
add eax, 1
mov dword [esi + 0x44], eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00435af0
mov edx, dword [esp + 0x28]
push 0xfffffffffffffff7
push eax
push 0x70
push edi
xor eax, eax
xor ecx, ecx
call fcn.00415a60
add esp, 0x18
jmp 0x439495
mov dword [esp + 0x20], 0xffffffff
cmp dword [esp + 0x58], 0
mov ebx, dword [esp + 0x14]
jne 0x43952f
test ebx, ebx
jne 0x43952f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0x28]
push edx
push eax
push ecx
push esi
call fcn.00441360
mov esi, eax
add esp, 0x14
test esi, esi
je 0x439f0f
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x4394f1
cmp dword [esp + 0x24], ebx
jne 0x4394f1
lea edx, [ebx + 1]
mov eax, edi
call fcn.00415ec0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x44], 0xffffffff
mov eax, dword [ebp + 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push edx
push eax
push ecx
call fcn.00435650
add esp, 0x2c
push esi
call fcn.00442c30
add esp, 4
jmp 0x439e93
mov eax, edi
call fcn.00415a90
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
xor eax, eax
cmp ebx, eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xc0], ecx
je 0x4395a7
mov edx, dword [ebx]
add edx, 1
mov dword [esp + 0x78], edx
jmp 0x4395ab
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0x78], eax
call fcn.00423010
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0xa8]
add esp, 4
push edx
call fcn.00423010
mov eax, dword [esp + 0x40]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4395fb
lea ecx, [esp + 0xa4]
push ecx
push 0x422d40
push eax
call fcn.0041faf0
add esp, 0xc
cmp dword [esp + 0x90], esi
mov edx, dword [esp + 0x80]
mov dword [esp + 0x88], edx
jle 0x439648
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xa4]
push eax
call fcn.00423010
add dword [esp + 0x14], 0x10
add esi, 1
add esp, 4
cmp esi, dword [esp + 0x90]
jl 0x439616
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x1e], 0
jne 0x439f0f
xor esi, esi
cmp dword [esp + 0x14], esi
je 0x439d2f
mov eax, edi
call fcn.00415a90
mov dword [esp + 0x18], eax
mov eax, edi
call fcn.00415a90
mov dword [esp + 0x4c], eax
mov eax, edi
call fcn.00415a90
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x70], eax
add eax, 1
push esi
push ebx
mov dword [ebx + 0x44], eax
call fcn.00435af0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
push 0xfffffffffffffff7
push eax
mov dword [esp + 0x78], eax
push 0x70
push edi
xor eax, eax
call fcn.00415a60
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x48]
add eax, 1
mov dword [esp + 0x4c], eax
add eax, 1
mov dword [ebx + 0x48], eax
mov ecx, dword [esi]
lea edx, [eax + 1]
add ecx, eax
mov dword [esp + 0x78], edx
lea edx, [ecx + 1]
push 0
mov dword [ebx + 0x48], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esi]
push eax
add edx, ecx
push 0
push 0x2f
mov esi, edi
mov dword [esp + 0xc0], eax
mov dword [ebx + 0x48], edx
call fcn.004159c0
mov eax, dword [esp + 0x5c]
push 0
push eax
push 0
push 0x2f
call fcn.004159c0
mov ecx, dword [esp + 0x50]
push 0
push ecx
push 0
push 0x5b
call fcn.004159c0
mov eax, dword [esp + 0xe0]
mov edx, dword [edi + 0xc]
add esp, 0x48
push 0
push eax
push 1
push 0x2f
mov dword [esp + 0x6c], edx
call fcn.004159c0
push 0
push 0
push 0
push 0x18
call fcn.004159c0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], eax
push 0
add eax, 2
push eax
mov ecx, dword [esp + 0x5c]
push ecx
push 0x7b
call fcn.004159c0
push 0
push 0
push 0
push 0x18
call fcn.004159c0
lea edx, [esp + 0xac]
add esp, 0x40
push edx
mov eax, ebx
call fcn.00438c50
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
je 0x4397a3
mov ecx, dword [esp + 0x10]
push 8
add ecx, 1
push ecx
push eax
push ebx
call fcn.00422960
add esp, 0x10
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x28]
add ecx, 1
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.00435650
add esp, 0x2c
push 0
push 0
push 0
push 0x18
call fcn.004159c0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x7c]
push ecx
push ebx
mov dword [esp + 0x74], eax
call fcn.00438b10
push 0
push 0
push 0
push 0x18
call fcn.004159c0
mov edx, dword [esp + 0x40]
mov ecx, edi
call fcn.00415b00
mov edx, dword [esp + 0x84]
push 0
push edx
push 0
push 0x2e
call fcn.004159c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
push 0
lea eax, [esp + 0x50]
push eax
push ecx
push edx
push ebx
call fcn.00441360
add esp, 0x4c
test eax, eax
mov dword [esp + 0x50], eax
je 0x439f0f
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x439861
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
jmp 0x439a67
mov eax, dword [esi]
mov dword [esp + 0x44], eax
add eax, 1
cmp dword [esp + 0x80], 0
mov edx, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], edx
jle 0x4398ae
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
add ecx, 0xc
cmp dword [ecx], eax
jl 0x43989e
add edx, 1
add eax, 1
add ecx, 0x18
sub esi, 1
jne 0x439894
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
push edx
mov ecx, ebx
call fcn.00423110
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edx
jle 0x43991b
mov esi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
push esi
push eax
push ebx
call fcn.00421720
add esp, 0xc
cmp eax, esi
je 0x439908
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x439908
mov edx, dword [esp + 0x20]
push 0
push edx
push eax
push 8
mov esi, ecx
call fcn.004159c0
mov esi, dword [esp + 0x30]
add esp, 0x10
add dword [esp + 0x30], 0xc
add esi, 1
sub dword [esp + 0xc], 1
mov dword [esp + 0x20], esi
jne 0x4398d4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
push 0
add eax, ecx
push eax
push edx
push 5
mov esi, edi
call fcn.004159c0
mov eax, dword [esp + 0x74]
add esp, 0x10
cmp dword [esp + 0x80], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
jle 0x4399e5
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x7c]
lea esi, [ecx + edx]
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [eax + edx + 0xc], ecx
jl 0x4399cc
mov edi, dword [ebp + 8]
mov ecx, edx
mov edx, dword [eax + ecx + 4]
mov ebx, dword [eax + ecx + 8]
push esi
push edx
mov edx, dword [eax + ecx]
push edx
xor edx, edx
call fcn.00421520
add esp, 0xc
cmp esi, eax
je 0x4399b5
push 0
push esi
mov esi, dword [esp + 0x48]
push eax
push 8
call fcn.004159c0
mov esi, dword [esp + 0x54]
add esp, 0x10
add dword [esp + 0xc], 1
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
mov ebx, dword [ebp + 8]
add esi, 1
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x30]
add dword [esp + 0x20], 0x18
add ecx, 1
cmp ecx, dword [esp + 0x80]
mov dword [esp + 0x30], ecx
jl 0x439970
mov ecx, ebx
call fcn.00423050
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
push 0x55
mov esi, edi
call fcn.004159c0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x80]
push 0
push edx
push eax
push 0x68
call fcn.004159c0
mov edx, dword [esp + 0x60]
add esp, 0x20
mov eax, ebx
call fcn.004230f0
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [ebx + 0x38]
jle 0x439a3d
mov eax, dword [esp + 0x1c]
mov edx, ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00442c30
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x74]
add esp, 4
push 0
push edx
push eax
push 0x12
mov esi, edi
call fcn.004159c0
add esp, 0x10
mov byte [esp + 0x6d], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
xor esi, esi
cmp dword [eax], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0xc], esi
jle 0x439ae4
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x18], 0
je 0x439aab
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x70]
push ecx
push eax
push edx
push 3
mov esi, edi
call fcn.004159c0
mov esi, dword [esp + 0x1c]
add esp, 0x10
jmp 0x439ad0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea ecx, [esi + eax]
push ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x70], 1
mov eax, dword [edx + 0xc]
mov edx, dword [eax + ecx]
push edx
push ebx
call fcn.00422390
add esp, 0xc
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0xc
add esi, 1
cmp esi, dword [eax]
mov dword [esp + 0xc], esi
jl 0x439a80
mov eax, dword [eax]
sub eax, 1
mov dword [esp + 0xc], eax
js 0x439bba
cmp dword [esp + 0xc], 0
mov esi, edi
jne 0x439b0f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
push 0x44
jmp 0x439b29
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x64]
push ecx
add eax, edx
push eax
push 0x43
call fcn.004159c0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
mov esi, dword [edi + 0x14]
mov ecx, dword [eax + ecx*4 + 0x10]
add esp, 0x10
test esi, esi
mov dword [esp + 0x40], ecx
je 0x439b93
mov edx, dword [edi]
cmp byte [edx + 0x1e], 0
jne 0x439b93
mov eax, dword [edi + 0xc]
sub eax, 1
js 0x439b9d
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.00415e20
cmp dword [esp + 0x40], 0
mov dword [esi + 0x10], 0
jne 0x439b86
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x439b9d
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfc
jmp 0x439b9d
mov eax, 0xfffffffc
call fcn.00415e20
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x439baf
mov eax, dword [edi + 0xc]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x10
sub dword [esp + 0xc], 1
jns 0x439af3
mov eax, dword [edi + 0x20]
test eax, eax
je 0x439bd3
mov ecx, dword [esp + 0x4c]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
mov dword [esp + 0xc], 0
jle 0x439c5d
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x4c], ecx
je 0x439c45
mov esi, dword [ebx + 0xc]
push 0
mov edx, ecx
push edx
push eax
push 0x72
call fcn.004159c0
xor eax, eax
add esp, 0x10
cmp dword [ebx + 0x58], eax
jle 0x439c45
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + 0x6c]
lea esp, [esp]
mov esi, dword [esp + 0x28]
cmp dword [ecx], esi
jne 0x439c3a
mov dword [ecx], edx
add eax, 1
add ecx, 0x10
cmp eax, dword [ebx + 0x58]
jl 0x439c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x28], 1
add eax, 1
cmp eax, dword [ecx]
mov dword [esp + 0xc], eax
jl 0x439bf6
mov edx, dword [esp + 0x10]
push 0
push edx
push 0
push 0x2e
mov esi, edi
call fcn.004159c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa8]
push 0
push eax
push ecx
push 0x7b
call fcn.004159c0
mov edx, dword [esp + 0x7c]
push 0
push edx
push 0
push 0x2e
call fcn.004159c0
mov eax, dword [edi + 0x20]
add esp, 0x30
test eax, eax
je 0x439cb1
mov ecx, dword [esp + 0x54]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x6c]
push edx
call fcn.00438d10
mov eax, dword [esp + 0x38]
add esp, 4
push 0
push eax
push 1
push 0x2f
mov esi, edi
call fcn.004159c0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x439cf5
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
push 0
push ecx
push edx
push 0x67
call fcn.004159c0
add esp, 0x10
jmp 0x439d15
mov eax, dword [esp + 0x50]
push eax
call fcn.00442c30
mov ecx, dword [esp + 0xa0]
add esp, 4
mov edx, 1
mov eax, edi
call fcn.00415ec0
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
push 0x2e
mov esi, edi
call fcn.004159c0
add esp, 0x10
jmp 0x439e7a
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx]
cmp dword [ebx], 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], esi
je 0x439d47
mov dword [esp + 0x10], esi
jmp 0x439d94
mov eax, ebx
call fcn.004388a0
test al, al
mov dword [esp + 0x10], eax
je 0x439d94
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc]
push edx
push ebx
call fcn.0041f1b0
add esp, 8
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
je 0x439d94
cmp byte [ebx + 0x1e], 0
jne 0x439d94
cmp byte [esp + 0x10], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 8], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x95
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x6c]
push edx
push ebx
call fcn.00438b10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
push ebx
call fcn.00441360
mov esi, eax
add esp, 0x1c
test esi, esi
mov dword [esp + 0x50], esi
jne 0x439ddb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041f9b0
add esp, 4
jmp 0x439f0f
lea edx, [esp + 0x6c]
push edx
call fcn.00438d10
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x439e12
cmp byte [esp + 0x10], 0
je 0x439e12
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x14]
push 0
push ecx
push 0
push 0x5b
mov esi, edi
call fcn.004159c0
mov esi, dword [esp + 0x60]
add esp, 0x10
push esi
call fcn.00442c30
lea edx, [esp + 0x70]
add esp, 4
push edx
mov eax, ebx
call fcn.00438c50
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
mov dword [esp + 0x24], 0
je 0x439e4b
push 8
push esi
push eax
push ebx
call fcn.00422960
add esp, 0x10
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push esi
push esi
push ecx
push 0xffffffffffffffff
push 0
push 0
push 0
push edx
push eax
push ebx
call fcn.00435650
mov eax, dword [esp + 0x60]
add esp, 0x2c
push eax
call fcn.0041f9b0
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
je 0x439e93
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x24], 0
je 0x439eb6
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edi
push edx
push eax
call fcn.00435bb0
add esp, 0x14
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x439ece
mov eax, dword [ebp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
shl edx, 4
mov byte [edx + eax + 0x1c], 1
mov eax, dword [edi + 0x20]
test eax, eax
je 0x439eea
mov ecx, dword [esp + 0xa0]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
cmp byte [edx], 5
mov dword [esp + 0x44], 0
jne 0x439f0f
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00436210
add esp, 8
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x439f5f
mov esi, dword [0x4a5a74]
mov ebx, dword [edi - 8]
add edi, 0xfffffff8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add dword [esi + 0x1c], 1
mov dword [esi + 0x20], eax
mov eax, ebx
cdq
sub dword [0x4a5a78], eax
push edi
sbb dword [0x4a5a7c], edx
call fcn.0046d1a5
mov eax, dword [0x4a5a74]
add dword [eax + 0x1c], 0xffffffff
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x439fb2
mov esi, dword [0x4a5a74]
mov ebx, dword [eax - 8]
lea edi, [eax - 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add dword [esi + 0x1c], 1
mov dword [esi + 0x20], eax
mov eax, ebx
cdq
sub dword [0x4a5a78], eax
push edi
sbb dword [0x4a5a7c], edx
call fcn.0046d1a5
mov eax, dword [0x4a5a74]
add dword [eax + 0x1c], 0xffffffff
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret