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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x4ea5e0]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], ecx
xor esi, esi
lea ecx, [ebx + eax]
mov dword [esp + 0x54], edx
mov byte [esp + 0x40], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], ecx
cmp ebx, ecx
jge 0x43dbfa
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
add ecx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
jmp 0x43d8b3
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x4c]
jge 0x43dbc0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
jmp 0x43d8d8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 0x10
cmp eax, 0x10
jge 0x43d8f1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jge 0x43d8fe
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, edx
add ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x80], ebx
call edx
mov eax, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x2c]
lea ecx, [esp + 0x11]
push ecx
lea edx, [esp + 0x17]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x5c]
lea ebx, [esi + 1]
mov dword [esp + 0x44], esi
push edx
lea ecx, [esp + 0xb0]
mov esi, ebx
mov dword [esp + 0x58], eax
call fcn.0043dde0
mov al, byte [esp + 0x23]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x43d997
cmp al, byte [esp + 0x40]
je 0x43d9b4
mov ecx, dword [esp + 0x18]
or byte [ecx], 2
mov edx, dword [esp + 0x14]
mov byte [edx + esi], al
mov dword [esp + 0x30], 1
mov byte [esp + 0x40], al
inc esi
jmp 0x43d9b8
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x5c], 0
jne 0x43dba2
or byte [ecx], 8
cmp dword [esp + 0x50], 0
mov al, byte [ecx]
je 0x43d9fa
cmp dword [esp + 0x24], 0
mov dl, byte [esp + 0x11]
je 0x43d9e0
cmp dl, byte [esp + 0x12]
je 0x43da06
or al, 4
mov byte [ecx], al
mov eax, dword [esp + 0x14]
mov byte [eax + esi], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x12], dl
inc esi
jmp 0x43da06
or al, 0x10
mov dword [esp + 0x24], 0
mov byte [ecx], al
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
add edx, esi
push edx
lea ecx, [esp + 0xb4]
call fcn.0043dc20
xor ecx, ecx
add esp, 0x14
cmp eax, ecx
jne 0x43db2d
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
cmp esi, 0x40
jle 0x43dae1
mov byte [eax], 0x20
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xa4]
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 + 0x1c]
lea edx, [esi + ebx + 2]
push edx
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0xac]
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 [esi + ebx], cx
lea esi, [ebx + eax + 2]
jmp 0x43dba2
mov byte [eax], 1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x40]
mov esi, ebx
add ecx, esi
mov dword [esp + 0x88], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, edi
call edx
add esi, dword [esp + 0x48]
jmp 0x43dba2
cmp eax, 0x80
jle 0x43dba0
sub eax, dword [esp + 0x38]
lea ecx, [esp + 0xa0]
lea esi, [eax + esi - 1]
mov eax, dword [esp + 0x14]
add eax, ebx
push esi
push eax
push ecx
mov dword [esp + 0x44], eax
call fcn.004b29a0
mov eax, dword [esp + 0x24]
or byte [eax], 0x40
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [edi + 0xb8]
push eax
lea eax, [ecx + ebx + 2]
push esi
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
mov ecx, eax
sar ecx, 8
mov edx, eax
shl edx, 8
and ecx, 0xff
or ecx, edx
mov edx, dword [esp + 0x38]
mov word [edx], cx
lea esi, [ebx + eax + 2]
jmp 0x43dba2
add esi, eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x34], 0x10
mov ebx, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x4c]
jl 0x43d8d0
cmp esi, 0x578
jle 0x43dbe4
mov ecx, dword [esp + 0x54]
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
push ecx
push esi
push edx
mov ecx, edi
call eax
add dword [edi + 0x60], esi
add dword [edi + 0x5c], esi
xor esi, esi
sub dword [esp + 0x44], 0x10
add ebx, 0x10
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x58]
jl 0x43d8b0
add dword [edi + 0x60], esi
add dword [edi + 0x5c], esi
mov ecx, dword [esp + 0x1c4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret 0x1c