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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4dc
mov eax, dword [0x4ea5e0]
xor eax, esp
mov dword [esp + 0x4d8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edx
cmp eax, edx
jge 0x43e249
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
add edx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ecx
jmp 0x43dee8
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jge 0x43e20f
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
jmp 0x43df04
mov eax, dword [esp + 0x38]
mov ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
jge 0x43df19
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jge 0x43df25
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x14]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x9c], edx
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0x78], eax
mov dword [esp + 0xa8], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x20]
lea eax, [ebx + esi]
mov dword [esp + 0x1c], eax
mov byte [eax], 0
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0x5c]
mov dword [esp + 0x6c], esi
inc esi
push edx
lea eax, [esp + 0xb8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ecx
call fcn.0043e440
mov eax, dword [esp + 0x58]
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x43dfd4
cmp ax, word [esp + 0x34]
je 0x43dff9
movzx ecx, ax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
or byte [ecx], 2
mov byte [ebx + esi], al
shr eax, 8
mov byte [ebx + esi + 1], al
mov dword [esp + 0x24], 1
add esi, 2
jmp 0x43dffd
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x5c], 0
jne 0x43e1f5
or byte [ecx], 8
cmp dword [esp + 0x50], 0
mov al, byte [ecx]
je 0x43e04f
cmp dword [esp + 0x18], 0
je 0x43e027
mov dx, word [esp + 0x2c]
cmp dx, word [esp + 0x54]
je 0x43e05b
movzx edx, word [esp + 0x2c]
or al, 4
mov byte [ecx], al
mov eax, dword [esp + 0x2c]
mov byte [ebx + esi], al
shr eax, 8
mov byte [ebx + esi + 1], al
mov dword [esp + 0x18], 1
mov dword [esp + 0x54], edx
add esi, 2
jmp 0x43e05b
or al, 0x10
mov dword [esp + 0x18], 0
mov byte [ecx], al
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [ebx + esi]
push ecx
lea ecx, [esp + 0xbc]
call fcn.0043e270
xor ecx, ecx
add esp, 0x14
cmp eax, ecx
jne 0x43e187
mov esi, dword [esp + 0x44]
add esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
cmp esi, 0x40
jle 0x43e130
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov byte [edx], 0x20
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xac]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
lea ecx, [edi + 0x80]
push ecx
push esi
mov esi, dword [esp + 0x30]
lea edx, [ebx + esi + 2]
push edx
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
and ecx, 0xff
shl edx, 8
or ecx, edx
mov word [ebx + esi], cx
lea esi, [esi + eax + 2]
jmp 0x43e1f5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [ebx + esi]
push ecx
push eax
mov ecx, edi
call edx
add esi, dword [esp + 0x44]
jmp 0x43e1f5
cmp eax, 0x80
jle 0x43e1f3
sub eax, dword [esp + 0x60]
lea ecx, [esp + 0xa8]
lea esi, [eax + esi - 1]
mov eax, dword [esp + 0x28]
add eax, ebx
push esi
push eax
push ecx
call fcn.004b29a0
mov eax, dword [esp + 0x28]
or byte [eax], 0x40
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [edi + 0xb8]
push eax
push esi
mov esi, dword [esp + 0x30]
lea ecx, [ebx + esi + 2]
push ecx
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
and ecx, 0xff
shl edx, 8
or ecx, edx
mov word [ebx + esi], cx
lea esi, [esi + eax + 2]
jmp 0x43e1f5
add esi, eax
mov eax, dword [esp + 0x14]
sub dword [esp + 0x38], 0x10
add eax, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jl 0x43df00
cmp esi, 0x578
jle 0x43e22f
mov ecx, dword [esp + 0x58]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
push esi
push ebx
mov ecx, edi
call edx
add dword [edi + 0x60], esi
add dword [edi + 0x5c], esi
xor esi, esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x3c], 0x10
add eax, 0x10
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x64]
jl 0x43dee5
add dword [edi + 0x60], esi
add dword [edi + 0x5c], esi
mov ecx, dword [esp + 0x4e4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret 0x1c