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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4dc
mov eax, dword [0x489348]
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]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x20]
xor esi, esi
lea edx, [eax + ecx]
cmp eax, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], edx
jge 0x42b9d5
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
add edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ecx
jmp 0x42b678
mov eax, dword [ebp + 0x14]
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jge 0x42b99b
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
jmp 0x42b694
mov eax, dword [esp + 0x38]
mov ecx, 0x10
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
jge 0x42b6a9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jge 0x42b6b5
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x14]
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 + 0x34]
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 + 0x28]
imul ecx, dword [esp + 0x20]
lea eax, [ebx + esi]
mov dword [esp + 0x18], eax
mov byte [eax], 0
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x58], esi
inc esi
push edx
lea eax, [esp + 0xb8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ecx
call fcn.0042bc10
mov eax, dword [esp + 0x70]
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x42b768
cmp ax, word [esp + 0x48]
je 0x42b78b
mov edx, dword [esp + 0x18]
or byte [edx], 2
mov byte [ebx + esi], al
movzx ecx, ax
inc esi
shr eax, 8
mov byte [ebx + esi], al
mov dword [esp + 0x24], 1
mov dword [esp + 0x48], ecx
inc esi
jmp 0x42b78f
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x58], 0
jne 0x42b981
or byte [edx], 8
cmp dword [esp + 0x44], 0
mov cl, byte [edx]
je 0x42b7dd
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x54]
je 0x42b7b8
cmp ax, word [esp + 0x64]
je 0x42b7ea
movzx edx, ax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x18]
or cl, 4
mov byte [edx], cl
mov byte [ebx + esi], al
inc esi
shr eax, 8
mov byte [ebx + esi], al
mov dword [esp + 0x1c], 1
inc esi
jmp 0x42b7ea
or cl, 0x10
mov dword [esp + 0x1c], 0
mov byte [edx], cl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
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.0042ba00
xor ecx, ecx
add esp, 0x14
cmp eax, ecx
jne 0x42b913
mov esi, dword [esp + 0x3c]
add esi, esi
cmp esi, 0x40
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
jle 0x42b8bc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
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 + 0x34]
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 + 0x78]
push ecx
push esi
mov esi, dword [esp + 0x34]
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 0x42b981
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
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 + 0x34]
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 + 0x3c]
jmp 0x42b981
cmp eax, 0x80
jle 0x42b97f
sub eax, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
lea esi, [eax + esi - 1]
mov eax, dword [esp + 0x2c]
add eax, ebx
push esi
push eax
push ecx
call fcn.00462180
mov eax, dword [esp + 0x24]
or byte [eax], 0x40
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [edi + 0xb0]
push eax
push esi
mov esi, dword [esp + 0x34]
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 0x42b981
add esi, eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x38], 0x10
add eax, 0x10
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jl 0x42b690
cmp esi, 0x578
jle 0x42b9bb
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
push esi
push ebx
mov ecx, edi
call edx
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
xor esi, esi
mov eax, dword [esp + 0x14]
sub dword [esp + 0x34], 0x10
add eax, 0x10
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
jl 0x42b675
add dword [edi + 0x58], esi
add dword [edi + 0x54], esi
mov ecx, dword [esp + 0x4e4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0045c77f
mov esp, ebp
pop ebp
ret 0x1c