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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
push edi
mov dword [esi + 0xf4], 0
mov cl, byte [eax + 8]
test cl, 0x20
je 0x43cdaa
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43cdaa
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43cdaa
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43cdaa
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43cdaa
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2a10]
mov edi, eax
add esp, 4
test edi, edi
je 0x43cda2
push ebp
call fcn.0043d2a0
add esp, 4
mov dword [esi + 0xf4], edi
jmp 0x43cdae
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e29c0]
lea eax, [ebp + 0x80]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x100]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x180]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x200]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x280]
push eax
call dword [0x4e29c0]
mov eax, dword [esp + 0x50]
add esp, 0x18
mov dword [esp + 0x34], 3
test byte [eax + 0xc], 0x20
je 0x43ce13
mov dword [esp + 0x34], 6
mov eax, dword [ebx + 0x6c]
mov ecx, dword [0x4e29d0]
mov edx, dword [0x4e29e4]
mov edi, dword [esp + 0x4c]
and eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + eax*4 + 0x20]
sub ebp, edi
mov byte [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], ebp
jmp 0x43ce5a
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x78]
mov edx, dword [esi + 0xf0]
add ebp, edi
push ecx
push edx
push ebp
push edi
call dword [esp + 0x30]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43cec8
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xf0], 2
jle 0x43cec8
mov ecx, dword [esp + 0x38]
test byte [ecx + 0xc], 8
je 0x43cec8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43cea3
mov edx, dword [ebx + 0x78]
push edx
call fcn.0044d0c0
add esp, 4
jmp 0x43cea8
mov eax, 0x46bc98
push esi
push 0x3f
push eax
mov eax, dword [esp + 0x48]
push 0x46bb18
mov ecx, dword [eax + 0xf0]
push ecx
push ebp
push edi
call fcn.0043d670
add esp, 0x1c
mov esi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp esi, ecx
jge 0x43cf07
cmp word [edi + 2], ax
jne 0x43cf07
cmp word [edi + 0x10], ax
jne 0x43cf07
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xec]
test ecx, ecx
je 0x43cef1
cmp ecx, 5
jne 0x43cf01
mov cx, word [edi]
cmp cx, 0xffff
jl 0x43cf07
test cx, cx
jle 0x43cf0c
jmp 0x43cf07
cmp word [edi], 0
je 0x43cf0c
mov eax, 1
mov esi, dword [esp + 0x18]
add edi, 0x80
mov ecx, esi
shl al, cl
mov cl, byte [esp + 0x14]
or cl, al
dec esi
cmp esi, 0xffffffff
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], esi
jg 0x43ce52
test byte [ebx + 0x18], 1
je 0x43d101
mov eax, dword [esp + 0x3c]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [0x4e29d8]
mov edx, dword [0x4e29dc]
mov edi, dword [eax + 0xf0]
mov al, byte [esp + 0x14]
mov ebp, dword [esp + 0x48]
and esi, 1
and al, 0x20
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x34], al
je 0x43cf82
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
push edi
push ecx
push ebp
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 0x10
mov byte [esp + 0x48], al
je 0x43cfab
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x80
push edi
push eax
lea eax, [ebp + 0x80]
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 8
mov byte [esp + 0x10], al
je 0x43cfd5
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
add edx, 0x100
push edi
lea eax, [ebp + 0x100]
push edx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 4
mov byte [esp + 0x11], al
je 0x43cfff
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
add ecx, 0x180
push edi
lea eax, [ebp + 0x180]
push ecx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 2
mov byte [esp + 0x12], al
je 0x43d028
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x200
push edi
push eax
lea eax, [ebp + 0x200]
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x43d052
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
add edx, 0x280
push edi
lea eax, [ebp + 0x280]
push edx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x34]
test al, al
je 0x43d064
push ebp
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43d07c
lea eax, [ebp + 0x80]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43d094
lea eax, [ebp + 0x100]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43d0ac
lea eax, [ebp + 0x180]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43d0c4
lea eax, [ebp + 0x200]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43d0dc
lea eax, [ebp + 0x280]
push eax
call dword [0x4e29c4]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push ebx
call fcn.0043c840
add esp, 0x20
mov al, byte [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret