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

Disassembly:
push 0xffffffffffffffff
push 0x473da0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov eax, 0x491330
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebx
lea ebp, [ebx + 2]
call fcn.0044b5a0
mov eax, ebx
shl eax, 4
add eax, ebx
cmp dword [eax*4 + 0x47cf24], 0
jne 0x42d018
lea ecx, [esp + 0x48]
lea esi, [ebx + 1]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esi
add ebp, 4
call fcn.0042c2d0
mov edi, eax
mov dword [esp + 0x8c], 0
call fcn.00421070
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x5c], 8
mov edi, eax
jb 0x42cf79
mov edx, dword [esp + 0x48]
push edx
call fcn.004593e2
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
test edi, edi
je 0x42d01b
cmp esi, 0x12
je 0x42cfb8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cfa2
sub eax, edx
push edi
add ebp, eax
call fcn.00459522
add esp, 4
jmp 0x42d01b
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, 0x12
call fcn.0042c2d0
or dword [esp + 0x1c], 1
cmp dword [eax + 0x10], 6
jge 0x42cfe0
cmp byte [edi], 0
mov byte [esp + 0x1b], 1
jne 0x42cfe5
mov byte [esp + 0x1b], 0
test byte [esp + 0x1c], 1
je 0x42d005
and dword [esp + 0x1c], 0xfffffffe
cmp dword [esp + 0x78], 8
jb 0x42d005
mov edx, dword [esp + 0x64]
push edx
call fcn.004593e2
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x42d00d
inc ebp
push edi
call fcn.00459522
add esp, 4
jmp 0x42d01b
add ebp, 9
inc ebx
cmp ebx, 0x3e
jl 0x42cf1b
add ebp, 4
mov edi, 0x491ef4
lea ecx, [ecx]
mov esi, dword [edi - 4]
cmp esi, dword [edi]
je 0x42d049
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add esi, 0x3c
add ebp, eax
cmp esi, dword [edi]
jne 0x42d037
add edi, 0x10
cmp edi, 0x491f14
jl 0x42d030
push ebp
mov dword [esp + 0x20], ebp
call fcn.004576a9
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [ecx], eax
mov word [esi], 0x3e00
add esp, 4
add esi, 2
xor ebp, ebp
mov edx, ebp
shl edx, 4
add edx, ebp
mov cl, byte [edx*4 + 0x47cf24]
lea eax, [edx*4 + 0x47cf24]
mov byte [esi], cl
mov eax, dword [eax]
inc esi
sub eax, 0
je 0x42d0b3
dec eax
jne 0x42d1b7
mov edx, dword [esp + 0x20]
lea eax, [ebp + 1]
push edx
call fcn.0042c450
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
jmp 0x42d1b7
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea edi, [ebp + 1]
push eax
mov eax, edi
call fcn.0042c2d0
mov dword [esp + 0x8c], 1
cmp edi, 0x12
jne 0x42d109
mov eax, dword [esp + 0x3c]
cmp eax, 6
jge 0x42d0f8
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
test eax, eax
sete al
test al, al
jne 0x42d0f8
push 0x47c9b8
jmp 0x42d0fd
push 0x47ca70
lea ebx, [esp + 0x30]
call fcn.00406760
add esp, 4
lea edi, [esp + 0x2c]
call fcn.00421070
mov ebx, eax
test ebx, ebx
jne 0x42d123
mov word [esi], ax
mov byte [esi + 2], al
add esi, 3
jmp 0x42d181
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d128
sub eax, edx
mov edi, eax
cdq
and edx, 0xff
lea ecx, [edx + eax]
sar ecx, 8
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov edx, edi
and edx, 0x800000ff
mov byte [esi], al
mov byte [esi + 1], cl
jns 0x42d165
dec edx
or edx, 0xffffff00
inc edx
push edi
mov byte [esi + 2], dl
add esi, 3
push ebx
push esi
call fcn.0045bc60
add esp, 0xc
push ebx
add esi, edi
call fcn.00459522
add esp, 4
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x42d1a0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004593e2
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
inc ebp
cmp ebp, 0x3e
jl 0x42d073
mov ebx, 0x491ef0
mov byte [esi], 0
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esi + 1], al
mov edi, dword [ebx]
add esi, 2
cmp edi, dword [ebx + 4]
je 0x42d204
mov edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 8]
push esi
mov ecx, edi
call eax
add edi, 0x3c
mov esi, eax
cmp edi, dword [ebx + 4]
jne 0x42d1f0
add ebx, 0x10
cmp ebx, 0x491f10
jl 0x42d1c6
mov eax, 0x491330
call fcn.0044b5b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
mov eax, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004593ed
add esp, 0x7c
ret 4