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

Disassembly:
sub esp, 0x5c
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
mov edx, dword [esi + 0x40]
shl eax, cl
mov ecx, dword [esi + 4]
dec eax
mov dword [esp + 0x44], eax
xor eax, eax
inc eax
mov ebx, dword [esi + 0x2c]
shl eax, cl
dec eax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x38]
mov ebp, dword [esi + 0xc]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
and dword [eax], 0
mov eax, dword [esp + 0x88]
and dword [eax], 0
cmp edx, 0xffffffff
je 0x42b820
test ebp, ebp
jne 0x42b2b9
lea eax, [esp + 0x40]
inc ebp
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x44]
mov byte [esp + 0x40], al
cmp edx, 0xfffffffe
jne 0x42b33b
mov ecx, dword [esi + 4]
mov eax, 0x300
add ecx, dword [esp + 0x34]
shl eax, cl
add eax, 0x736
je 0x42b2e7
mov edi, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
push dword [esp + 0x78]
xor eax, eax
xor ecx, ecx
push dword [esp + 0x78]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
mov ebx, eax
mov dword [esp + 0x34], eax
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ecx
mov byte [eax + ebp - 1], cl
lea ecx, [esp + 0x60]
push ecx
call fcn.0042c085
add esp, 0xc
cmp dword [esp + 0x68], edi
je 0x42b333
xor eax, eax
inc eax
jmp 0x42b822
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, edx
test edx, edx
je 0x42b390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x84]
jae 0x42b388
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42b35a
add eax, ebp
mov esi, dword [esp + 0x14]
mov al, byte [eax + ecx]
mov edx, dword [esp + 0x80]
mov byte [edi + ecx], al
mov byte [esi + edx], al
mov eax, esi
inc eax
xor edx, edx
inc edi
mov dword [esp + 0x14], eax
cmp edi, ebp
cmove edi, edx
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x20], edx
jne 0x42b347
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x42b39e
mov al, byte [eax + ebp - 1]
jmp 0x42b3a2
mov al, byte [edi + eax - 1]
and dword [esp + 0x68], 0
mov byte [esp + 0x78], al
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x14], eax
jae 0x42b7bb
push 8
pop eax
sub al, byte [esp + 0x34]
movzx eax, al
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
mov edx, eax
mov dword [esp + 0x4c], eax
and edx, dword [esp + 0x44]
cmp dword [esp + 0x68], 0
mov dword [esp + 0x38], edx
jne 0x42b32b
lea eax, [esp + 0x58]
push eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 4
add eax, edx
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
pop ecx
test eax, eax
jne 0x42b4eb
mov cl, byte [esp + 0x48]
movzx eax, byte [esp + 0x78]
mov edx, dword [esp + 0x4c]
and edx, dword [esp + 0x50]
shr eax, cl
mov ecx, dword [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x18]
add eax, edx
imul eax, eax, 0x600
add ecx, 0xe6c
push 7
add ecx, eax
pop eax
cmp dword [esp + 0x10], eax
jl 0x42b46d
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42b44e
add eax, ebp
mov edx, dword [esp + 0x1c]
mov al, byte [eax + edx]
mov byte [esp + 0x54], al
lea eax, [esp + 0x58]
push dword [esp + 0x54]
push eax
push ecx
call fcn.0042b8c7
add esp, 0xc
jmp 0x42b47a
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.0042b8a0
pop ecx
pop ecx
mov edx, dword [esp + 0x80]
mov cl, al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], cl
mov byte [eax + edx], cl
inc eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp edx, ebp
jae 0x42b4a0
inc edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov byte [edi + edx], cl
inc edi
xor ecx, ecx
cmp edi, ebp
cmove edi, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 4
jge 0x42b4d4
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
cmp eax, dword [esp + 0x84]
jb 0x42b3ce
jmp 0x42b7bb
mov edx, dword [esp + 0x20]
cmp ecx, 0xa
jge 0x42b4e2
sub ecx, 3
jmp 0x42b4e5
sub ecx, 6
mov dword [esp + 0x10], ecx
jmp 0x42b4c2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x180
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
pop ecx
cmp eax, 1
jne 0x42b664
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x198
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
test eax, eax
lea eax, [esp + 0x5c]
pop ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
jne 0x42b5d1
add eax, 0xf
shl eax, 4
add eax, dword [esp + 0x3c]
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
pop ecx
test eax, eax
jne 0x42b62e
mov edx, dword [esp + 0x24]
test edx, edx
je 0x42b32b
cmp dword [esp + 0x10], 7
push 0xb
pop eax
push 9
pop ecx
cmovl eax, ecx
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42b58a
add eax, ebp
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x80]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], cl
mov byte [edi + eax], cl
inc edi
xor eax, eax
cmp edi, ebp
cmove edi, eax
mov eax, dword [esp + 0x14]
mov byte [eax + esi], cl
inc eax
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp edx, ebp
jae 0x42b4be
inc edx
mov dword [esp + 0x24], edx
jmp 0x42b4be
add ecx, 0x1b0
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
pop ecx
test eax, eax
jne 0x42b5ec
mov eax, dword [esp + 0x28]
jmp 0x42b628
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x1c8
lea eax, [ecx + eax*2]
push eax
call fcn.0042bf53
pop ecx
pop ecx
test eax, eax
jne 0x42b614
mov eax, dword [esp + 0x2c]
jmp 0x42b620
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov ebx, eax
push dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x20]
add eax, 0xa68
push eax
call fcn.0042b82a
add esp, 0xc
mov edx, eax
push 0xb
pop ecx
push 7
pop eax
cmp dword [esp + 0x10], eax
push 8
pop eax
cmovl ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x42b73d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
push 0xa
mov dword [esp + 0x30], eax
pop eax
push 7
pop ecx
cmp dword [esp + 0x10], ecx
push dword [esp + 0x38]
cmovl eax, ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
lea eax, [ebx + 0x664]
push eax
call fcn.0042b82a
mov ecx, eax
lea eax, [esp + 0x64]
push eax
push 6
push 3
cmp ecx, 4
mov dword [esp + 0x38], ecx
pop eax
cmovl eax, ecx
shl eax, 7
add eax, 0x360
add eax, ebx
push eax
call fcn.0042bff1
mov edx, eax
add esp, 0x18
mov ebx, edx
cmp edx, 4
jl 0x42b736
mov ecx, edx
and ebx, 1
sar ecx, 1
or ebx, 2
dec ecx
shl ebx, cl
cmp edx, 0xe
jge 0x42b708
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov eax, ebx
sub eax, edx
add ecx, 0x55e
lea eax, [ecx + eax*2]
push eax
call fcn.0042c0df
add esp, 0xc
jmp 0x42b734
lea eax, [ecx - 4]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0042c02e
shl eax, 4
add ebx, eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x644
push 4
push eax
call fcn.0042c0df
add esp, 0x14
add ebx, eax
inc ebx
je 0x42b7b8
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 2
cmp ebx, ecx
ja 0x42b32b
mov eax, ebp
sub eax, ecx
cmp eax, edx
jbe 0x42b75c
add ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x42b760
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x14]
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42b76e
add eax, ebp
mov ecx, dword [esp + 0x1c]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], cl
mov byte [edi + eax], cl
inc edi
xor eax, eax
cmp edi, ebp
cmove edi, eax
mov eax, dword [esp + 0x80]
mov byte [esi + eax], cl
inc esi
dec edx
je 0x42b79f
cmp esi, dword [esp + 0x84]
jb 0x42b764
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
jmp 0x42b4c2
or edx, 0xffffffff
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x7c]
mov byte [esi + 0x44], al
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x74]
mov dword [edx], eax
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret