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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x188]
test ecx, ecx
js 0x42b761
push ebx
mov ebx, dword [esi + 0x18c]
xor edx, edx
push edi
mov edi, dword [esp + 0x18]
lea eax, [ecx + edi]
div ebx
mov dword [esi + 0x188], edx
test ecx, ecx
je 0x42b5e7
sub ebx, ecx
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
push eax
lea eax, [esi + 0xc8]
add eax, ecx
push ebp
push eax
call fcn.0045f100
add esp, 0xc
cmp edi, ebx
jb 0x42b75f
push dword [esi + 0x18c]
lea eax, [esi + 0xc8]
push eax
push esi
mov dword [esp + 0x20], eax
call fcn.0042c4d0
add ebp, ebx
lea eax, [esi + 0xc8]
add esp, 0xc
sub edi, ebx
mov ebx, dword [esi + 0x18c]
mov dword [esp + 0x18], edi
jmp 0x42b5f1
lea eax, [esi + 0xc8]
mov dword [esp + 0x14], eax
cmp edi, ebx
jb 0x42b74c
nop dword [eax]
test ebp, 7
jne 0x42b60c
mov edi, ebp
jmp 0x42b61f
push ebx
mov edi, eax
push ebp
push edi
call fcn.0045f100
mov ebx, dword [esi + 0x18c]
add esp, 0xc
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
xor dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
xor dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
xor dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
xor dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
xor dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
xor dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
xor dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
xor dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
xor dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
xor dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
xor dword [esi + 0x44], eax
cmp ebx, 0x48
jbe 0x42b723
mov eax, dword [edi + 0x48]
xor dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
xor dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
xor dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
xor dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
xor dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
xor dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
xor dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
xor dword [esi + 0x64], eax
cmp ebx, 0x68
jbe 0x42b723
mov eax, dword [edi + 0x68]
xor dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
xor dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
xor dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
xor dword [esi + 0x74], eax
mov eax, dword [edi + 0x78]
xor dword [esi + 0x78], eax
mov eax, dword [edi + 0x7c]
xor dword [esi + 0x7c], eax
mov eax, dword [edi + 0x80]
xor dword [esi + 0x80], eax
mov eax, dword [edi + 0x84]
xor dword [esi + 0x84], eax
cmp ebx, 0x88
jbe 0x42b723
mov eax, dword [edi + 0x88]
xor dword [esi + 0x88], eax
mov eax, dword [edi + 0x8c]
xor dword [esi + 0x8c], eax
push esi
call fcn.0042c0c0
mov ebx, dword [esi + 0x18c]
lea eax, [esi + 0xc8]
mov edi, dword [esp + 0x1c]
add esp, 4
sub edi, ebx
add ebp, ebx
mov dword [esp + 0x18], edi
cmp edi, ebx
jae 0x42b600
test edi, edi
je 0x42b75f
mov eax, dword [esp + 0x14]
push edi
push ebp
push eax
call fcn.0045f100
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
ret 8