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

Disassembly:
sub esp, 0xec
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x100]
mov ebp, ecx
mov ecx, edi
call fcn.004749e0
mov edx, dword [ebp + 0x1c8]
mov esi, eax
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x3b4]
mov ebx, dword [ecx]
sub edx, dword [ebp + 0x1c4]
mov dword [esp + 0x14], eax
lea eax, [edx + ebx - 1]
cdq
idiv ebx
mov ecx, dword [ebp + 0x1cc]
mov dword [esp + 0x50], esi
mov byte [esp + 0x13], 0
mov edi, eax
mov eax, dword [ebp + 0x1d0]
sub eax, ecx
lea eax, [eax + ebx - 1]
cdq
idiv ebx
mov edx, dword [ebp + 0x368]
mov ecx, dword [ebp + 0x36c]
sub ecx, edx
mov dword [ebp + 0x19c], edi
mov dword [esp + 0x74], edi
lea edi, [ebp + 0x114]
push edi
mov dword [esp + 0x38], eax
lea eax, [ecx + ebx - 1]
cdq
idiv ebx
mov edx, dword [ebp + 0x374]
mov ecx, eax
sub edx, dword [ebp + 0x370]
lea eax, [edx + ebx - 1]
cdq
idiv ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov dword [ebp + 0x1a0], edx
mov dword [ebp + 0x394], ecx
push eax
push ecx
push 0
push 0
mov dword [esp + 0x8c], eax
mov dword [ebp + 0x398], eax
call fcn.004365d0
mov ecx, dword [esi + 0x3b4]
add esp, 0x14
push edi
call fcn.00458d00
lea eax, [esp + 0xb4]
push eax
mov ecx, esi
call fcn.00462e30
test byte [ebp + 0x344], 0x12
mov edi, dword [esp + 0x104]
mov byte [esp + 0x1b], 0
je 0x443b24
test byte [ebp + 0x308], 2
jne 0x443b24
mov ecx, dword [ebp + 0x19c]
mov eax, 0xb40
cmp ecx, eax
jg 0x443b24
cmp dword [ebp + 0x1a0], eax
jg 0x443b24
cmp dword [ebp + 0x394], eax
jg 0x443b24
cmp dword [ebp + 0x398], eax
jg 0x443b24
mov eax, dword [esi + 0xfc]
test eax, eax
jne 0x443b24
mov eax, dword [esi + 0x100]
test eax, eax
jne 0x443b24
push edi
call fcn.00437e60
mov edx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x100]
setne cl
push ecx
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [ecx + 0x5c]
mov eax, dword [edx + 0xb4]
push eax
mov ecx, ebp
call fcn.0043ec80
test al, al
je 0x443b6c
mov eax, dword [ebp + 0x110]
test eax, eax
mov byte [esp + 0x13], 1
je 0x443aed
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x443af8
or dword [ebp + 0x308], 2
mov cl, 1
jmp 0x443afc
mov cl, byte [esp + 0x1b]
mov eax, dword [ebp + 0x364]
test eax, eax
jle 0x443b20
mov eax, dword [ebp + 0x390]
test eax, eax
je 0x443b17
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x443b20
or dword [ebp + 0x308], 2
jmp 0x443b24
test cl, cl
je 0x443b6c
mov esi, dword [ebp + 0x110]
test esi, esi
je 0x443b3e
mov ecx, esi
call fcn.004c7f50
push esi
call fcn.00527b30
add esp, 4
mov esi, dword [ebp + 0x390]
test esi, esi
mov dword [ebp + 0x110], 0
je 0x443b62
mov ecx, esi
call fcn.004c7f50
push esi
call fcn.00527b30
add esp, 4
mov dword [ebp + 0x390], 0
mov eax, dword [edi + 0x10]
add eax, dword [ebp + 0x1c4]
cdq
idiv ebx
mov edx, dword [edi + 0x14]
mov ecx, eax
mov eax, dword [ebp + 0x1cc]
add eax, edx
cdq
idiv ebx
mov dword [esp + 0x40], ecx
imul ecx, ebx
mov dword [ebp + 0x1f0], ecx
mov dword [ebp + 0x378], ecx
mov dword [esp + 0x44], eax
imul eax, ebx
mov edx, eax
mov dword [ebp + 0x1f4], eax
mov eax, dword [ebp + 0x364]
test eax, eax
mov dword [ebp + 0x37c], edx
jle 0x443c2b
mov esi, dword [ebp + 0x35c]
xor ecx, ecx
mov edx, 0x64
xor eax, eax
test esi, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
je 0x443c09
lea ecx, [ecx]
mov eax, dword [esi]
lea ecx, [esp + 0xb4]
push ecx
push 1
lea edx, [esp + 0x2c]
push edx
mov ecx, edx
push ecx
push edx
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esi + 4]
test esi, esi
jne 0x443be0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x378]
imul ecx, ebx
imul eax, ebx
add edx, ecx
mov ecx, dword [ebp + 0x37c]
add ecx, eax
mov dword [ebp + 0x378], edx
mov dword [ebp + 0x37c], ecx
mov eax, dword [ebp + 0x378]
cdq
idiv ebx
mov esi, dword [esp + 0x104]
mov ecx, 7
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x1f4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x37c]
cdq
idiv ebx
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1f0]
mov dword [esp + 0x90], eax
lea eax, [ebp + 0x328]
push eax
call fcn.00437740
mov eax, dword [ebp + 0x344]
shr eax, 3
add esp, 8
test al, 1
je 0x443d52
mov ecx, dword [ebp + 0x348]
mov edx, dword [ebp + 0x34c]
mov esi, dword [esp + 0x104]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, eax
push ecx
push esi
mov dword [esp + 0x2c], edx
call fcn.00436fc0
mov eax, dword [esp + 0x28]
cdq
idiv ebx
mov edi, dword [esp + 0x9c]
mov ecx, eax
mov eax, dword [esp + 0x2c]
imul ecx, ebx
cdq
idiv ebx
mov edx, dword [esp + 0x98]
add edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, 7
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x28]
imul eax, ebx
add edi, eax
mov dword [esp + 0x9c], edi
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0xb8], edx
push ecx
lea edx, [esp + 0xac]
push edx
call fcn.00438640
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
add esp, 0x18
mov dword [ebp + 0x338], eax
mov dword [ebp + 0x33c], ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00438640
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x30c]
push edx
push eax
call fcn.00437740
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov dword [ebp + 0x31c], eax
lea esi, [ebp + 0x1b4]
mov dword [ebp + 0x320], ecx
mov edx, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x70], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x88]
push esi
push eax
mov eax, dword [esp + 0x5c]
add edx, eax
push edx
push ecx
push eax
call fcn.004365d0
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 0x3b4]
add esp, 0x28
push esi
call fcn.00458d00
lea esi, [ebp + 0x380]
mov eax, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], edx
push esi
lea edx, [ecx + eax]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
add edx, eax
push edx
push ecx
push eax
call fcn.004365d0
mov ecx, dword [edi + 0x3b4]
add esp, 0x14
push esi
call fcn.00458d00
mov eax, dword [ebp + 0x110]
test eax, eax
jne 0x443e7e
mov al, byte [ebp + 0x109]
test al, al
je 0x443e62
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x58]
push eax
call fcn.004633c0
mov ecx, 7
lea esi, [ebp + 0x328]
lea edi, [ebp + 0x30c]
mov byte [ebp + 0x109], 0
rep movsd dword es:[edi], dword [esi]
jmp 0x443e85
mov byte [ebp + 0x109], 1
mov al, byte [ebp + 0x109]
test al, al
jne 0x443ea1
mov ecx, dword [ebp + 0x344]
shr ecx, 2
test cl, 1
je 0x443fe6
push 0
lea esi, [ebp + 0x380]
lea edx, [esp + 0x68]
push esi
push edx
call fcn.00436980
add esp, 0xc
test eax, eax
jne 0x443f7f
mov edi, dword [esp + 0x14]
push 1
lea eax, [esp + 0x68]
push eax
mov ecx, edi
call fcn.004633c0
push 1
push esi
mov ecx, edi
call fcn.004633c0
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b8]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
sub edx, ecx
sub eax, edi
cmp eax, edx
jne 0x443f6a
mov edx, dword [ebp + 0x1bc]
mov eax, dword [ebp + 0x1c0]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
sub eax, edx
sub esi, edi
cmp esi, eax
jne 0x443f6a
mov eax, dword [esp + 0x100]
test byte [eax + 0x4c], 2
je 0x443f7f
mov esi, dword [esp + 0x104]
mov eax, dword [esi + 0x10]
mov edi, dword [ebp + 0x220]
mov esi, dword [esi + 0x14]
sub eax, edi
sub esi, dword [ebp + 0x224]
sub ecx, dword [esp + 0x54]
sub edx, dword [esp + 0x5c]
test eax, eax
jne 0x443f4b
test ecx, ecx
jne 0x443f6a
test esi, esi
jne 0x443f53
test edx, edx
jne 0x443f6a
sub eax, ecx
jns 0x443f59
neg eax
lea ecx, [ebx + ebx]
cmp eax, ecx
jg 0x443f6a
sub esi, edx
jns 0x443f66
neg esi
cmp esi, ecx
jle 0x443f7f
lea eax, [ebp + 0x114]
push 1
mov ecx, ebp
push eax
call fcn.004633c0
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x104]
lea esi, [ebp + 0x22c]
lea ecx, [edi + 0x1c]
push esi
push ecx
call fcn.00458b90
add esp, 8
test eax, eax
jne 0x443fa2
mov byte [esp + 0x13], 1
mov edx, dword [ebp + 0x308]
mov eax, dword [ebp + 0x364]
shr edx, 4
and dl, 1
test eax, eax
setg al
cmp al, dl
je 0x443fc7
cmp dword [esi], 0
je 0x443fc7
mov byte [esp + 0x13], 1
mov eax, dword [ebp + 8]
push eax
push 0
lea ecx, [ebp + 0x210]
push edi
push ecx
call fcn.00437ee0
add esp, 0x10
test eax, eax
jne 0x443fe6
mov byte [esp + 0x13], 1
mov eax, dword [ebp + 0x308]
test al, 0x20
je 0x443ffe
and eax, 0xffffffdf
mov byte [esp + 0x13], 1
mov dword [ebp + 0x308], eax
mov esi, dword [esp + 0x100]
test byte [esi + 0x4c], 1
je 0x444022
mov eax, dword [esi + 0x18]
test eax, eax
je 0x44401d
mov al, byte [eax + 0x6e]
cmp al, 6
je 0x444022
cmp al, 0x61
je 0x444022
mov byte [esp + 0x13], 1
mov eax, dword [ebp + 0x344]
cmp eax, dword [ebp + 0x1f8]
jne 0x44403e
mov edx, dword [ebp + 0x358]
cmp edx, dword [ebp + 0x20c]
je 0x444043
mov byte [esp + 0x13], 1
shr eax, 3
test al, 1
je 0x444081
mov eax, dword [esp + 0x104]
push eax
call fcn.00437e60
add esp, 4
test eax, eax
je 0x444081
mov ecx, dword [ebp + 0x348]
cmp ecx, dword [ebp + 0x1fc]
jne 0x44407a
mov edx, dword [ebp + 0x34c]
cmp edx, dword [ebp + 0x200]
je 0x444081
mov byte [esp + 0x13], 1
jmp 0x444089
mov al, byte [esp + 0x13]
test al, al
je 0x4440d2
mov al, byte [ebp + 0x109]
test al, al
jne 0x4440a9
test byte [ebp + 0x344], 4
jne 0x4440a9
test byte [ebp + 0x1f8], 4
je 0x44433f
push 1
lea eax, [ebp + 0x114]
push eax
mov ecx, ebp
call fcn.004633c0
mov esi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.004633c0
mov ecx, esi
jmp 0x444331
mov al, byte [ebp + 0x109]
test al, al
je 0x444318
mov ecx, dword [ebp + 0x344]
shr ecx, 3
test cl, 1
je 0x444318
mov eax, dword [ebp + 0x348]
cmp eax, dword [ebp + 0x1fc]
jne 0x444112
mov edx, dword [ebp + 0x34c]
cmp edx, dword [ebp + 0x200]
je 0x44433f
mov esi, dword [esp + 0x104]
lea ecx, [esp + 0x1c]
push ecx
mov edx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x34c]
push edx
push esi
mov dword [esp + 0x2c], eax
call fcn.00436fc0
mov eax, dword [ebp + 0x1fc]
mov ecx, dword [ebp + 0x200]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], eax
push edx
mov eax, edx
push eax
push esi
mov dword [esp + 0x54], ecx
call fcn.00436fc0
mov eax, dword [esp + 0x34]
cdq
idiv ebx
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 0x20]
cdq
idiv ebx
mov edi, eax
mov eax, dword [esp + 0x38]
cdq
idiv ebx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cdq
idiv ebx
cmp ecx, esi
jne 0x444188
cmp eax, edi
je 0x44433f
sub eax, edi
sub ecx, esi
mov dword [ebp + 0x1b0], eax
imul eax, ebx
mov dword [ebp + 0x1ac], ecx
imul ecx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x134]
xor ebx, ebx
test eax, eax
mov esi, ecx
jle 0x4441cf
lea edi, [ebp + 0x148]
push edi
push esi
push esi
call fcn.004366a0
mov eax, dword [ebp + 0x134]
add esp, 0xc
inc ebx
add edi, 0x10
cmp ebx, eax
jl 0x4441b6
mov ecx, dword [esp + 0x100]
mov ebx, dword [ecx + 0x10]
test ebx, ebx
mov edi, dword [esp + 0x34]
je 0x444210
push edi
push esi
push ebp
mov ecx, ebx
call fcn.004438c0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x444209
test byte [eax + 0x344], 0x1e
je 0x444209
cmp word [ecx + 0x52], 0
jne 0x444209
or dword [ebx + 0x4c], 1
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x4441e1
mov eax, dword [ebp + 0x1a0]
mov ecx, dword [ebp + 0x19c]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
push 0
push 0
call fcn.004365d0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x3b4]
add esp, 0x14
lea edx, [esp + 0x40]
push edx
call fcn.00458d00
test esi, esi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jle 0x444274
push 0
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], esi
push edx
jmp 0x444283
jge 0x44428a
add eax, esi
mov dword [esp + 0x24], eax
push 0
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.004633c0
test edi, edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
jle 0x4442bb
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], edi
push ecx
jmp 0x4442ca
jge 0x4442d1
add eax, edi
push 0
lea edx, [esp + 0x28]
mov dword [esp + 0x30], eax
push edx
mov ecx, ebp
call fcn.004633c0
mov ecx, dword [esp + 0x100]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4442f4
mov al, byte [eax + 0x6e]
cmp al, 6
je 0x4442ea
cmp al, 0x61
jne 0x4442f4
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x444302
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.004633c0
mov esi, dword [esp + 0x14]
push 0
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.004633c0
mov ecx, esi
jmp 0x444331
mov eax, dword [ebp + 0x308]
mov ecx, dword [esi + 0x4c]
shr eax, 2
shr ecx, 4
xor eax, ecx
test al, 1
je 0x44433f
mov ecx, dword [esp + 0x14]
lea eax, [ebp + 0x380]
push 0
push eax
call fcn.004633c0
test byte [ebp + 0x308], 8
je 0x44435a
mov ecx, dword [esp + 0x14]
push 0
lea eax, [ebp + 0x380]
push eax
call fcn.004633c0
mov edx, dword [esp + 0x100]
mov eax, dword [edx + 0x4c]
shr eax, 4
test al, 1
mov eax, dword [ebp + 0x308]
je 0x444376
or eax, 4
jmp 0x444379
and eax, 0xfffffffb
mov ecx, dword [esp + 0x104]
push ecx
mov dword [ebp + 0x308], eax
call fcn.00437e60
mov edx, dword [ebp + 0x364]
add esp, 4
test eax, eax
setne al
test edx, edx
jg 0x4443cf
test byte [ebp + 0x344], 4
je 0x4443cf
test al, al
jne 0x4443cf
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10c]
cmp eax, 9
ja case.0x4443c1.0
movzx ecx, byte [eax + 0x44448c]
jmp dword [ecx*4 + 0x444484]
mov eax, 7
jmp case.0x4443c1.4
mov eax, 8
test edx, edx
mov dword [ebp + 0x10c], eax
mov eax, dword [esp + 0x104]
lea edi, [ebp + 0x210]
mov ecx, 0x37
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x308]
jle 0x4443ff
or ecx, 0x10
jmp 0x444402
and ecx, 0xffffffef
mov edx, dword [ebp + 0x344]
mov dword [ebp + 0x1f8], edx
mov edx, dword [ebp + 0x34c]
mov dword [ebp + 0x308], ecx
mov ecx, dword [ebp + 0x348]
mov dword [ebp + 0x1fc], ecx
mov ecx, dword [ebp + 0x350]
push eax
mov dword [ebp + 0x200], edx
mov edx, dword [ebp + 0x354]
mov dword [ebp + 0x204], ecx
mov ecx, dword [ebp + 0x358]
push eax
lea eax, [ebp + 0x30c]
mov dword [ebp + 0x208], edx
push eax
mov dword [ebp + 0x20c], ecx
call fcn.00437330
mov dl, byte [ebp + 0x109]
mov ecx, dword [esp + 0x1f]
add esp, 0xc
xor eax, eax
test dl, dl
sete al
pop edi
pop esi
pop ebp
pop ebx
or eax, ecx
add esp, 0xec
ret 8