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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x3f0]
mov ecx, dword [ebp + 0x400]
push esi
mov esi, dword [ebp + 0x3e0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], ecx
push edi
mov dword [esp + 0x74], ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b2c4
mov edx, dword [ebp + 0x53c]
sub eax, ecx
mov ecx, dword [ebp + 0x540]
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x544]
mov dword [ebp + 0x53c], eax
mov dword [ebp + 0x540], eax
mov dword [ebp + 0x544], eax
mov eax, dword [ebp + 0x554]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x550]
lea edi, [eax + eax]
mov dword [esp + 0x8c], eax
lea eax, [edx + edx]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
mov ecx, edi
jge 0x42b32d
xor eax, eax
cmp ecx, ebx
jge 0x42b333
xor ecx, ecx
mov dword [ebp + 0x550], eax
mov eax, dword [ebp + 0x3dc]
push 0x47f3a2
mov dword [ebp + 0x554], ecx
push eax
mov ecx, ebp
call fcn.004227f0
mov ecx, dword [ebp + 0x550]
lea eax, [edi + 0x10]
imul eax, eax, 0x780
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x554]
add eax, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
lea edx, [ecx + ecx + 8]
shl eax, 2
lea ecx, [eax + eax*2 + 0xc]
mov dword [esp + 0x60], ecx
lea ecx, [edi + 4]
imul ecx, ecx, 0x780
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x18], ebx
jle 0x42b713
sar edi, 1
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0xa4]
sar eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], edi
jmp 0x42b3d0
mov edi, dword [esp + 0x14]
jmp 0x42b3d0
movsx eax, byte [edi]
xor edx, edx
mov word [esp + 0x10], dx
push eax
mov byte [esp + 0x16], dl
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x42b428
push 2
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0045af60
mov ecx, dword [esp + 0xac]
add esp, 0xc
lea edx, [esp + 0x94]
push edx
push 2
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x47e040]
mov ecx, dword [esp + 0x18]
inc ecx
inc edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
jmp 0x42b455
push 1
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0045af60
mov edx, dword [esp + 0xac]
add esp, 0xc
lea eax, [esp + 0x94]
push eax
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x47e040]
mov ecx, dword [esp + 0x68]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b472
mov ecx, dword [ebp + 0x3dc]
sub eax, edi
push eax
lea eax, [esp + 0x14]
push eax
push 8
push 8
push ecx
call dword [0x47e03c]
mov edx, dword [ebp + 0x54c]
mov eax, dword [ebp + 0x548]
push 0xcc0020
sub edx, 4
push edx
mov edx, dword [esp + 0xa8]
lea ecx, [ebx + eax - 4]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [ebp + 0x3fc]
push eax
push ecx
push 0
push 0
push edx
call dword [0x47e05c]
mov ecx, dword [esp + 0x50]
mov eax, 0x1e00
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x42b6ab
mov edi, dword [esp + 0x48]
lea edx, [edi + 0x1e0c]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x60]
mov eax, 0xc
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x42b684
mov ecx, dword [esp + 0x78]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x38], eax
mov eax, ecx
sub eax, edi
inc eax
sub ecx, edi
add ecx, 2
mov dword [esp + 0x64], eax
mov ebp, 1
mov dword [esp + 0x40], ecx
mov ebx, 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add ecx, eax
shl ecx, 1
movzx eax, byte [esi + ecx - 0x780]
mov dword [esp + 0x54], eax
movzx eax, byte [esi + ecx + 0x780]
mov dword [esp + 0x88], eax
movzx eax, byte [esi + ecx - 0x77d]
movzx edi, byte [esi + ecx - 3]
mov dword [esp + 0x3c], eax
movzx eax, byte [esi + ecx + 0x77d]
mov dword [esp + 0x5c], eax
movzx eax, byte [esi + ecx + 3]
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + esi]
mov dword [esp + 0x80], eax
movzx eax, byte [esi + ecx - 0x783]
movzx ecx, byte [esi + ecx + 0x783]
and eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], edi
and edi, ecx
mov ecx, dword [esp + 0x3c]
or eax, edi
and ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
or eax, ecx
mov ecx, dword [esp + 0x88]
and edi, ecx
or eax, edi
mov edi, dword [esp + 0x80]
and eax, edi
add eax, dword [esp + 0x6c]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x54]
add eax, edi
add eax, dword [esp + 0x30]
add eax, dword [esp + 0x5c]
add eax, ecx
mov edi, 8
sub edi, eax
test eax, eax
je 0x42b641
mov ecx, dword [esp + 0x38]
movzx ecx, byte [ecx + edx]
imul ecx, edi
mov ebx, eax
imul ebx, dword [esp + 0x2c]
add ecx, ebx
sar ecx, 3
mov byte [edx], cl
mov ecx, dword [esp + 0x64]
movzx ecx, byte [ecx + edx]
imul ecx, edi
mov ebx, eax
imul eax, dword [esp + 0x4c]
imul ebx, dword [esp + 0x28]
add ecx, ebx
sar ecx, 3
mov ebp, 1
mov byte [edx + ebp], cl
mov ecx, dword [esp + 0x40]
movzx ecx, byte [ecx + edx]
imul ecx, edi
add ecx, eax
sar ecx, 3
mov ebx, 2
jmp 0x42b65b
mov eax, dword [esp + 0x38]
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x64]
mov byte [edx], cl
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x40]
mov byte [edx + ebp], cl
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x1c]
mov byte [ebx + edx], cl
mov ecx, dword [esp + 0x60]
add eax, 3
add edx, 3
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x42b532
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
add eax, 0x780
add edx, 0x780
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], edx
jl 0x42b4f5
mov edx, dword [ebp + 0x3ec]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
push 0xcc0020
push 4
push 4
push edx
mov edx, dword [ebp + 0x54c]
push eax
mov eax, dword [ebp + 0x548]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
add eax, ebx
push eax
push ecx
call dword [0x47e05c]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
add ebx, eax
mov eax, dword [esp + 0x18]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x42b3c7
xor ebx, ebx
mov eax, dword [ebp + 0x42c]
cmp eax, ebx
je 0x42b744
mov edx, dword [ebp + 0x3dc]
push eax
push edx
call dword [0x47e06c]
mov eax, dword [ebp + 0x428]
push eax
call dword [0x47e058]
mov dword [ebp + 0x428], ebx
mov dword [ebp + 0x42c], ebx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
pop edi
mov dword [ebp + 0x53c], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x540], edx
mov edx, dword [esp + 0x88]
pop esi
mov dword [ebp + 0x544], eax
mov dword [ebp + 0x550], ecx
mov dword [ebp + 0x554], edx
pop ebp
mov al, 1
pop ebx
add esp, 0x8c
ret 8