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

Disassembly:
sub esp, 0x4c
mov eax, ecx
mov ecx, dword [esp + 0x50]
push ebx
mov dword [esp + 4], eax
mov ebx, edx
push ebp
push esi
mov esi, dword [eax + 0x70]
mov eax, esi
cdq
idiv ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], eax
mov eax, ecx
imul eax, dword [esp + 0x60]
imul ecx, dword [esp + 0x64]
push edi
lea edi, [ebx + esi*4]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x38]
mov ebx, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], 0
mov dword [esp + 0x28], edi
lea eax, [esi + eax*4]
cmp dword [edx + 0x38], 0
lea ebp, [edx + 0x18]
mov dword [esp + 0x54], eax
lea eax, [esi + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x78]
mov dword [esp + 0x24], ebp
lea ecx, [eax + 0x118]
mov dword [esp + 0x58], ecx
mov ecx, 0x1000000
cmovne ecx, esi
test eax, eax
mov eax, dword [edx + 0x94]
mov dword [esp + 0x40], ecx
lea ecx, [edx + 0x7c]
cmovle ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], eax
cmp edi, dword [esp + 0x2c]
jae 0x43ed01
mov ecx, dword [edx + 0x98]
lea eax, [edx + 0x98]
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x43e47c
xor eax, eax
jmp 0x43e4a4
mov eax, dword [esp + 0x10]
mov edx, esi
sar edx, cl
imul edx, dword [eax + 0x9c]
mov eax, dword [esp + 0x20]
sar eax, cl
add edx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x10]
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x40]
jl 0x43e4d7
mov ecx, dword [esp + 0x10]
mov edx, edi
sub edx, dword [esp + 0x38]
sar edx, 2
call fcn.0043e350
mov edx, dword [esp + 0x10]
lea eax, [esi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
test dword [esp + 0x50], eax
jne 0x43e537
mov ecx, dword [ecx]
test ecx, ecx
jne 0x43e4ff
xor eax, eax
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x43e53b
mov edx, esi
sar eax, cl
mov esi, dword [esp + 0x10]
sar edx, cl
imul edx, dword [esi + 0x9c]
add edx, eax
mov eax, esi
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x10]
imul eax, eax, 0x224
add eax, dword [edx + 0xa8]
mov dword [esp + 0x1c], eax
jmp 0x43e53b
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x43e5e5
mov eax, dword [eax + 0x18]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add edi, 4
inc edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x60]
jl 0x43e5ce
mov edx, dword [esp + 0x6c]
inc esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
test edx, edx
je 0x43e59f
cmp esi, dword [esp + 0x68]
jg 0x43e59f
mov eax, esi
and eax, 0x8000000f
jns 0x43e58f
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x43e59f
push esi
push dword [esp + 0x14]
call edx
mov ecx, dword [esp + 0x1c]
add esp, 8
test ecx, ecx
je 0x43e5ce
cmp ebx, edi
jae 0x43e5ce
mov ebp, dword [esp + 0x14]
nop dword [eax + eax]
mov esi, dword [ebx]
add ebx, 4
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov dword [eax + edx*4], esi
cmp ebx, edi
jb 0x43e5b0
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp edi, dword [esp + 0x2c]
jb 0x43e4b4
jmp 0x43ed01
cmp dword [ebp + 0x14], 0x20
jl 0x43e5f2
mov ecx, ebp
call fcn.004448b0
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [ebp + 4]
and ecx, 0x3f
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
call fcn.0047aa10
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0
je 0x43e677
and eax, 0x3f
mov ecx, dword [edx + eax*8 + 0x24]
mov edx, dword [edx + eax*8 + 0x28]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
cmp ecx, 0x100
jge 0x43e641
mov dword [ebp + 0x14], eax
mov dword [edi], edx
xor edx, edx
mov dword [esp + 0x3c], edx
jmp 0x43e649
add eax, 0xffffff00
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0
jne 0x43ecfd
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jne 0x43e665
cmp dword [ebp + 0x14], 0x40
jg 0x43ecfd
mov eax, dword [esp + 0x64]
mov dword [esp + 0x64], eax
test edx, edx
je 0x43e54a
jmp 0x43e6e5
movzx ecx, al
mov eax, dword [edx]
lea edx, [eax + ecx*4]
mov cl, byte [edx]
movzx eax, cl
sub eax, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x43e6cf
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 4]
add eax, 8
mov ecx, eax
mov dword [esp + 0x30], eax
mov dword [ebp + 0x14], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
mov ecx, dword [esp + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
mov edx, dword [esp + 0x44]
movzx ecx, word [edx + 2]
add eax, ecx
mov cl, byte [edx + eax*4]
lea edx, [edx + eax*4]
movzx eax, cl
add eax, dword [esp + 0x30]
mov dword [ebp + 0x14], eax
movzx edx, word [edx + 2]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
cmp dword [ebp + 0x18], 0
mov ecx, eax
mov dword [esp + 0x34], ecx
jne 0x43ecfd
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jne 0x43e707
cmp dword [ebp + 0x14], 0x40
jg 0x43ecfd
cmp edx, 0x100
jge 0x43e909
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0
je 0x43e72e
shl edx, 8
or edx, dword [eax + 0x18]
mov dword [edi], edx
mov dword [esp + 0x64], ecx
jmp 0x43e54a
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [ebp + 4]
and ecx, 0x3f
mov dword [esp + 0x64], eax
mov eax, dword [ebp]
call fcn.0047aa10
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
lea edx, [eax + ecx*4]
mov cl, byte [edx]
movzx eax, cl
sub eax, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x43e7a2
mov eax, dword [esp + 0x64]
mov edx, dword [ebp + 4]
add eax, 8
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [ebp + 0x14], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
mov ecx, dword [esp + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
mov edx, dword [esp + 0x44]
movzx ecx, word [edx + 2]
add eax, ecx
mov cl, byte [edx + eax*4]
lea edx, [edx + eax*4]
movzx eax, cl
add eax, dword [esp + 0x64]
mov dword [ebp + 0x14], eax
movzx ecx, word [edx + 2]
mov dword [esp + 0x30], ecx
cmp eax, 0x20
jl 0x43e7c0
mov ecx, ebp
call fcn.004448b0
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [ebp + 4]
and ecx, 0x3f
mov dword [esp + 0x64], eax
mov eax, dword [ebp]
call fcn.0047aa10
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
lea edx, [eax + ecx*4]
mov cl, byte [edx]
movzx eax, cl
sub eax, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x43e834
mov eax, dword [esp + 0x64]
mov edx, dword [ebp + 4]
add eax, 8
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [ebp + 0x14], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
mov ecx, dword [esp + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
mov edx, dword [esp + 0x44]
movzx ecx, word [edx + 2]
add eax, ecx
mov cl, byte [edx + eax*4]
lea edx, [edx + eax*4]
movzx eax, cl
add eax, dword [esp + 0x64]
mov dword [ebp + 0x14], eax
movzx ecx, word [edx + 2]
mov edx, dword [ebp + 4]
mov dword [esp + 0x28], ecx
mov ecx, eax
mov dword [esp + 0x64], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
lea edx, [eax + ecx*4]
mov al, byte [edx]
movzx ecx, al
sub ecx, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
test ecx, ecx
jle 0x43e8b6
mov eax, dword [esp + 0x64]
mov edx, dword [ebp + 4]
add eax, 8
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [ebp + 0x14], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
mov ecx, dword [esp + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
mov edx, dword [esp + 0x44]
movzx ecx, word [edx + 2]
add eax, ecx
lea edx, [edx + eax*4]
mov al, byte [edx]
movzx eax, al
add eax, dword [esp + 0x64]
cmp dword [ebp + 0x18], 0
mov dword [ebp + 0x14], eax
movzx ecx, word [edx + 2]
mov dword [esp + 0x64], eax
jne 0x43ecfd
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jne 0x43e8e5
cmp dword [esp + 0x64], 0x40
jg 0x43ecfd
mov eax, dword [esp + 0x34]
shl ecx, 8
or ecx, dword [esp + 0x30]
shl ecx, 8
or ecx, dword [esp + 0x3c]
shl ecx, 8
or ecx, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [esp + 0x64], eax
jmp 0x43e54a
cmp edx, 0x118
jge 0x43ec9f
add edx, 0xffffff00
mov dword [esp + 0x64], edx
cmp edx, 4
jl 0x43e942
lea esi, [edx - 2]
mov ecx, ebp
sar esi, 1
mov edx, esi
call fcn.00444900
mov edx, dword [esp + 0x64]
mov ecx, esi
and edx, 1
add edx, 2
shl edx, cl
add edx, eax
lea eax, [edx + 1]
mov edx, dword [ebp + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov dword [esp + 0x64], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
movzx ecx, al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
lea esi, [eax + ecx*4]
mov cl, byte [esi]
movzx eax, cl
sub eax, 8
mov dword [esp + 0x44], eax
test eax, eax
jle 0x43e9b5
mov eax, dword [esp + 0x64]
mov edx, dword [ebp + 4]
add eax, 8
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [ebp + 0x14], eax
and ecx, 0x3f
mov eax, dword [ebp]
call fcn.0047aa10
mov ecx, dword [esp + 0x44]
mov edx, 1
shl edx, cl
movzx ecx, word [esi + 2]
dec edx
and eax, edx
add eax, ecx
mov cl, byte [esi + eax*4]
lea esi, [esi + eax*4]
movzx eax, cl
add eax, dword [esp + 0x64]
mov dword [ebp + 0x14], eax
movzx edx, word [esi + 2]
mov dword [esp + 0x64], edx
cmp eax, 0x20
jl 0x43e9d7
mov ecx, ebp
call fcn.004448b0
mov edx, dword [esp + 0x64]
cmp edx, 4
jb 0x43e9fa
lea esi, [edx - 2]
mov ecx, ebp
sar esi, 1
mov edx, esi
call fcn.00444900
mov edx, dword [esp + 0x64]
mov ecx, esi
and edx, 1
add edx, 2
shl edx, cl
add edx, eax
inc edx
cmp edx, 0x78
jle 0x43ea05
lea ecx, [edx - 0x78]
jmp 0x43ea2e
movzx eax, byte [edx + 0x48b967]
mov ecx, eax
and eax, 0xf
shr ecx, 4
imul ecx, dword [esp + 0x60]
sub ecx, eax
mov eax, 1
add ecx, 8
cmp ecx, eax
cmovge eax, ecx
mov dword [esp + 0x64], eax
mov ecx, eax
cmp dword [ebp + 0x18], 0
jne 0x43ecf9
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jne 0x43ea4a
cmp dword [ebp + 0x14], 0x40
jg 0x43ecf9
mov edx, dword [esp + 0x28]
mov eax, edx
sub eax, dword [esp + 0x38]
sar eax, 2
cmp eax, ecx
jl 0x43ed8d
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
sub eax, edx
sar eax, 2
cmp eax, edi
jl 0x43ed8d
lea eax, [ecx*4]
mov esi, edx
sub esi, eax
mov dword [esp + 0x44], esi
cmp ecx, 2
jg 0x43eb64
cmp edi, 4
jl 0x43eb64
test dl, 3
jne 0x43eb64
cmp ecx, 1
jne 0x43eabd
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x64], 0
or dword [esp + 0x64], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
jmp 0x43eaca
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
test dl, 4
je 0x43eb0a
mov ebp, dword [esp + 0x28]
add esi, 4
mov dword [esp + 0x64], 0
or dword [esp + 0x64], ecx
mov ecx, eax
mov dword [edx], ebp
lea eax, [edi - 1]
lea ebp, [edx + 4]
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x43eb0e
mov eax, dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x28], 0
sar edi, 1
test edi, edi
jle 0x43eb48
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], edi
mov dword [esi], ecx
lea ecx, [edi*8 - 8]
mov edi, esi
shr ecx, 2
mov dword [esi + 4], eax
add edi, 8
mov eax, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
test al, 1
je 0x43eb5a
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + edi*8]
mov dword [ecx + edi*8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
jmp 0x43ebae
cmp ecx, edi
jl 0x43eb88
lea eax, [edi*4]
push eax
push esi
push edx
call fcn.0045ea00
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
jmp 0x43ebae
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
test edi, edi
jle 0x43ebae
mov ecx, edx
mov dword [esp + 0x64], eax
sub esi, edx
nop dword [eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edi, 1
jne 0x43eba0
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
add edi, eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], edi
lea edx, [edx + eax*4]
mov dword [esp + 0x28], edx
cmp edi, ecx
jl 0x43ec15
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
sub edi, ecx
inc esi
test edx, edx
je 0x43ec05
cmp esi, dword [esp + 0x68]
jg 0x43ec05
mov eax, esi
and eax, 0x8000000f
jns 0x43ebf4
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x43ec05
push esi
push ebp
call edx
mov ecx, dword [esp + 0x68]
add esp, 8
mov edx, dword [esp + 0x6c]
cmp edi, ecx
jge 0x43ebd7
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
test dword [esp + 0x50], edi
je 0x43ec5f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x43ec2d
xor eax, eax
jmp 0x43ec4b
mov edx, esi
sar edx, cl
imul edx, dword [eax + 0x9c]
mov eax, edi
sar eax, cl
add edx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edx*4]
imul ecx, eax, 0x224
mov eax, dword [esp + 0x10]
add ecx, dword [eax + 0xa8]
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x28]
je 0x43e5ce
cmp ebx, edi
jae 0x43e5ce
mov ebp, dword [esp + 0x14]
nop word [eax + eax]
mov esi, dword [ebx]
add ebx, 4
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov dword [eax + edx*4], esi
cmp ebx, edi
jb 0x43ec80
jmp 0x43e5ca
cmp edx, dword [esp + 0x58]
jge 0x43ed8d
mov dword [esp + 0x64], ecx
lea eax, [edx - 0x118]
mov dword [esp + 0x4c], eax
cmp ebx, edi
jae 0x43ece5
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov esi, dword [ebx]
add ebx, 4
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
imul edx, esi, 0x1e35a7bd
shr edx, cl
mov dword [eax + edx*4], esi
cmp ebx, edi
jb 0x43ecc3
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
mov dword [edi], eax
jmp 0x43e54e
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
jne 0x43ed19
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jne 0x43ed15
cmp dword [ebp + 0x14], 0x40
jg 0x43ed19
xor eax, eax
jmp 0x43ed1e
mov eax, 1
mov ebx, dword [esp + 0x2c]
mov dword [ebp + 0x18], eax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x43ed50
test eax, eax
je 0x43ed48
cmp edi, ebx
jae 0x43ed48
mov ecx, edx
call fcn.0043e380
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test ecx, ecx
je 0x43ed50
cmp edi, ebx
jae 0x43ed54
test eax, eax
jne 0x43ed8d
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x43ed70
cmp esi, dword [esp + 0x68]
cmovg esi, dword [esp + 0x68]
push esi
push edx
call eax
mov edx, dword [esp + 0x18]
add esp, 8
sub edi, dword [esp + 0x38]
mov eax, 1
sar edi, 2
mov dword [edx], 0
mov dword [edx + 0x70], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x10]
mov edx, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
jmp fcn.0043cd80