Function at 0x42acc9
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 0x42b2f8
test ebp, ebp
jne 0x42ad91
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 0x42ae13
mov ecx, dword [esi + 4]
mov eax, 0x300
add ecx, dword [esp + 0x34]
shl eax, cl
add eax, 0x736
je 0x42adbf
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.0042bb67
add esp, 0xc
cmp dword [esp + 0x68], edi
je 0x42ae0b
xor eax, eax
inc eax
jmp 0x42b2fa
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, edx
test edx, edx
je 0x42ae68
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x84]
jae 0x42ae60
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42ae32
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 0x42ae1f
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x42ae76
mov al, byte [eax + ebp - 1]
jmp 0x42ae7a
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 0x42b293
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 0x42ae03
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.0042ba35
pop ecx
pop ecx
test eax, eax
jne 0x42afc3
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 0x42af45
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42af26
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.0042b39f
add esp, 0xc
jmp 0x42af52
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.0042b378
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 0x42af78
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 0x42afac
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
cmp eax, dword [esp + 0x84]
jb 0x42aea6
jmp 0x42b293
mov edx, dword [esp + 0x20]
cmp ecx, 0xa
jge 0x42afba
sub ecx, 3
jmp 0x42afbd
sub ecx, 6
mov dword [esp + 0x10], ecx
jmp 0x42af9a
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.0042ba35
pop ecx
pop ecx
cmp eax, 1
jne 0x42b13c
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.0042ba35
pop ecx
test eax, eax
lea eax, [esp + 0x5c]
pop ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
jne 0x42b0a9
add eax, 0xf
shl eax, 4
add eax, dword [esp + 0x3c]
lea eax, [ecx + eax*2]
push eax
call fcn.0042ba35
pop ecx
pop ecx
test eax, eax
jne 0x42b106
mov edx, dword [esp + 0x24]
test edx, edx
je 0x42ae03
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 0x42b062
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 0x42af96
inc edx
mov dword [esp + 0x24], edx
jmp 0x42af96
add ecx, 0x1b0
lea eax, [ecx + eax*2]
push eax
call fcn.0042ba35
pop ecx
pop ecx
test eax, eax
jne 0x42b0c4
mov eax, dword [esp + 0x28]
jmp 0x42b100
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.0042ba35
pop ecx
pop ecx
test eax, eax
jne 0x42b0ec
mov eax, dword [esp + 0x2c]
jmp 0x42b0f8
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.0042b302
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 0x42b215
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.0042b302
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.0042bad3
mov edx, eax
add esp, 0x18
mov ebx, edx
cmp edx, 4
jl 0x42b20e
mov ecx, edx
and ebx, 1
sar ecx, 1
or ebx, 2
dec ecx
shl ebx, cl
cmp edx, 0xe
jge 0x42b1e0
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.0042bbc1
add esp, 0xc
jmp 0x42b20c
lea eax, [ecx - 4]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0042bb10
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.0042bbc1
add esp, 0x14
add ebx, eax
inc ebx
je 0x42b290
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 2
cmp ebx, ecx
ja 0x42ae03
mov eax, ebp
sub eax, ecx
cmp eax, edx
jbe 0x42b234
add ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x42b238
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x14]
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42b246
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 0x42b277
cmp esi, dword [esp + 0x84]
jb 0x42b23c
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 0x42af9a
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