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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
mov edi, eax
mov eax, dword [esp + 0x64]
xor ebp, ebp
push ebp
push eax
call 0x4799ec
add esp, 0xc
cmp dword [esp + 0x58], ebp
je 0x43fe9f
cmp dword [esp + 0x54], 1
jle 0x43fe9f
mov dword [esp + 0x10], ebx
cmp ebx, ebp
je 0x43fea5
mov ecx, dword [esp + 0x4c]
lea eax, [esi*4]
push eax
mov eax, dword [ecx]
lea edx, [ebx + ebx*2]
lea ebp, [ecx + edx*4]
mov ecx, dword [ebp]
push eax
push ecx
call 0x4799fe
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 4]
lea eax, [esi*4]
push eax
mov eax, dword [edx + 4]
push eax
push ecx
call 0x4799fe
mov edx, dword [ebp - 4]
push esi
push 0
push edx
call 0x4799ec
add esp, 0x24
jmp 0x43fea5
mov ebx, ebp
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x54]
mov dword [esp + 0x14], ebx
jge 0x44003e
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + ebx*2 + 3]
lea ebp, [eax + ebx*4]
lea ebx, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
sub edi, eax
sub ecx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
jmp 0x43fef4
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x14], 0
jle 0x43ff0c
mov eax, dword [ebp - 4]
mov ecx, dword [ebx - 4]
push esi
push eax
push ecx
call 0x4799fe
add esp, 0xc
mov edx, dword [ebp]
push esi
push 0
push edx
call 0x4799ec
mov eax, dword [esp + 0x60]
add esp, 0xc
lea edi, [esi*4]
dec eax
cmp dword [esp + 0x14], eax
push edi
push 0
jge 0x43ff81
mov eax, dword [ebx]
push eax
call 0x4799ec
mov ecx, dword [ebx + 4]
push edi
push 0
push ecx
call 0x4799ec
mov edx, dword [ebx + 8]
push esi
push 0
push edx
call 0x4799ec
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x3c]
sub esp, 0xc
add esi, 4
mov edi, esp
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
sub esp, 0xc
lea edx, [eax + ebp]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
jmp 0x43ffd2
mov ecx, dword [ebx - 0xc]
push ecx
call 0x4799ec
mov edx, dword [ebx - 8]
push edi
push 0
push edx
call 0x4799ec
mov eax, dword [ebx - 4]
push esi
push 0
push eax
call 0x4799ec
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x8c]
lea edx, [ecx + ebp]
sub esp, 0xc
add esi, 4
mov edi, esp
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx - 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx - 4]
mov dword [eax + 8], ecx
mov ecx, dword [ebx - 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx - 4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [edx + eax]
mov edx, dword [edx]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [eax + ebp]
push edx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + ebp]
push ecx
push eax
call fcn.0043fbe0
mov eax, dword [esp + 0x78]
inc eax
add esp, 0x64
add ebx, 0xc
add ebp, 4
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
jl 0x43fef0
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x10]
sub esp, 0x30
mov edi, esp
mov ebx, dword [esp + 0x68]
add esi, 4
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x80]
push ebp
push ecx
mov ecx, dword [esp + 0x70]
push edx
push esi
push edi
push eax
push ebx
push ecx
call fcn.0043f8b0
mov ecx, dword [esp + 0xb8]
add esp, 0x5c
xor eax, eax
mov dword [ecx], 0
test ebx, ebx
jle 0x4400c3
lea esp, [esp]
cmp byte [eax + edi], 0
jne 0x4400bd
inc eax
cmp eax, ebx
jl 0x4400b0
jmp 0x4400c3
mov dword [ecx], 1
push ebx
push edi
push esi
call 0x4799fe
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 8]
lea edx, [ebx*4]
push edx
push edi
push eax
call 0x4799fe
add esp, 0x18
xor eax, eax
test ebx, ebx
jle 0x440155
lea ebx, [ebx]
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
mov edx, dword [esi + 4]
mov dword [edx + eax*4], 0
cmp byte [eax + edi], 1
jne 0x440150
mov edx, dword [esp + 0x54]
cmp ebp, edx
jge 0x440150
lea ecx, [ebp + ebp*2]
mov edi, edx
lea ecx, [esi + ecx*4]
sub edi, ebp
lea esp, [esp]
mov edx, dword [ecx]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x44012f
mov ebp, dword [esi]
mov dword [ebp + eax*4], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x440140
mov ebp, dword [esi + 4]
mov dword [ebp + eax*4], edx
add ecx, 0xc
sub edi, 1
jne 0x440120
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
inc eax
cmp eax, ebx
jl 0x4400f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret