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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504539
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x549350]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
push 3
pop esi
xor ecx, ecx
mov eax, esi
mov edx, 0x454
mul edx
seto cl
mov dword [esp + 0x18], esi
neg ecx
or ecx, eax
push ecx
call fcn.004dbcc5
xor edi, edi
cmp dword [ebx + 0x18], edi
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], 1
jne 0x42cc44
jmp 0x42c559
xor edi, edi
cmp dword [ebx + 0x20], edi
jne 0x42c583
cmp dword [ebx + 0x18], edi
push 0x32
pop esi
jne 0x42cc44
push 0x14
call dword [0x5082b0]
dec esi
je 0x42c57a
cmp dword [ebx + 0x18], edi
je 0x42c56a
cmp dword [ebx + 0x18], edi
jne 0x42cc44
mov ecx, dword [ebx + 0x48]
cmp ecx, edi
je 0x42c671
mov eax, dword [ebx + 0x4c]
sub eax, ecx
push 0x28
cdq
pop ecx
idiv ecx
cmp eax, edi
jbe 0x42c671
cmp dword [0x552fdc], edi
je 0x42c671
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x48]
cmp ecx, edi
je 0x42c671
mov eax, dword [ebx + 0x4c]
sub eax, ecx
push 0x28
cdq
pop ecx
idiv ecx
cmp dword [esp + 0x1c], eax
jae 0x42c671
mov ecx, dword [ebx + 0x48]
cmp ecx, edi
je 0x42c5ed
mov eax, dword [ebx + 0x4c]
sub eax, ecx
push 0x28
cdq
pop ecx
idiv ecx
cmp dword [esp + 0x1c], eax
jb 0x42c5f2
call fcn.004df651
mov eax, dword [ebx + 0x48]
add eax, dword [esp + 0x20]
mov ecx, dword [0x552fdc]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x20]
test eax, eax
jne 0x42c663
mov esi, dword [ebx + 0x48]
cmp esi, dword [ebx + 0x4c]
jbe 0x42c617
call fcn.004df651
mov eax, dword [esp + 0x20]
add esi, eax
cmp esi, dword [ebx + 0x4c]
ja 0x42c627
cmp esi, dword [ebx + 0x48]
jae 0x42c62c
call fcn.004df651
mov edx, dword [ebx + 0x4c]
lea eax, [esi + 0x28]
cmp eax, edx
je 0x42c654
lea ecx, [eax - 0x28]
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x2c]
add dword [esp + 0x2c], 0x28
mov esi, eax
push 0xa
add eax, 0x28
cmp eax, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
jne 0x42c63d
add dword [ebx + 0x4c], 0xffffffd8
dec dword [esp + 0x1c]
sub dword [esp + 0x20], 0x28
xor edi, edi
inc dword [esp + 0x1c]
add dword [esp + 0x20], 0x28
jmp 0x42c5b5
mov dword [ebx + 0x20], edi
cmp dword [0x552fdc], edi
mov dword [esp + 0x10], edi
je 0x42c83e
mov eax, dword [esp + 0x18]
mov ecx, dword [0x552fdc]
imul eax, eax, 0x454
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x34]
push edx
push dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
and dword [esp + 0x2c], 0
mov esi, eax
jmp 0x42c721
mov esi, dword [esp + 0x10]
add esi, 2
xor ecx, ecx
mov eax, esi
mov edx, 0x454
mul edx
seto cl
mov dword [esp + 0x18], esi
neg ecx
or ecx, eax
push ecx
call fcn.004dbcc5
imul esi, esi, 0x454
pop ecx
mov ecx, dword [0x552fdc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x34]
mov edi, eax
push edx
mov dword [esp + 0x38], esi
mov eax, dword [ecx]
push edi
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x42c70f
push dword [esp + 0x14]
call fcn.004e04de
mov dword [esp + 0x18], edi
jmp 0x42c715
push edi
call fcn.004e04de
inc dword [esp + 0x30]
cmp dword [esp + 0x30], 5
pop ecx
jg 0x42c726
cmp esi, 0xfffffff1
je 0x42c6b4
xor edi, edi
cmp esi, edi
jne 0x42c83e
cmp dword [esp + 0x18], 6
mov dword [esp + 0x24], edi
jle 0x42c79e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub ecx, eax
cmp ecx, 3
jle 0x42c79e
push 5
pop ecx
cmp eax, ecx
mov dword [esp + 0x18], eax
jge 0x42c759
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 0x454
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dbcc5
mov esi, eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0x454
pop ecx
push eax
push dword [esp + 0x18]
push esi
call fcn.004e4ee0
add esp, 0xc
push dword [esp + 0x14]
call fcn.004e04de
pop ecx
mov dword [esp + 0x14], esi
xor edi, edi
cmp dword [esp + 0x4c], edi
je 0x42ca78
cmp dword [0x5534e8], edi
jle 0x42ca74
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x88], edi
cmp dword [esp + 0x10], edi
mov dword [esp + 0x44], edi
jle 0x42ca3a
mov esi, dword [esp + 0x14]
add esi, 0x50
cmp word [esi], 1
mov dword [esp + 0x40], edi
jne 0x42c898
lea eax, [esi + 6]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00410c19
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 1
call fcn.0042cce5
test eax, eax
jle 0x42c825
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x70]
mov dword [esp + 0x44], 1
call fcn.00410437
xor edi, edi
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.0040d58f
jmp 0x42ca05
xor esi, esi
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
mov dword [esp + 0x10], esi
jne 0x42c872
mov ecx, dword [0x552fdc]
cmp ecx, esi
je 0x42c86e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [0x552fdc]
push dword [0x55353c]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov dword [esp + 0x24], esi
cmp dword [ebx + 0x18], esi
push 0x32
pop edi
jne 0x42cc3a
push 0x14
call dword [0x5082b0]
dec edi
je 0x42cc3a
cmp dword [ebx + 0x18], 0
je 0x42c87e
jmp 0x42cc3a
movzx edi, word [esi]
and dword [esp + 0x4c], 0
mov eax, edi
imul eax, eax, 0x218
mov dword [esp + 0x50], eax
mov eax, edi
xor ecx, ecx
mov edi, 0x218
mov edx, edi
mul edx
seto cl
mov dword [esp + 0x38], 1
neg ecx
or ecx, eax
push ecx
call fcn.004dbcc5
and dword [esp + 0x2c], 0
pop ecx
mov ecx, dword [0x552fdc]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x28], eax
push dword [esp + 0x28]
mov eax, dword [ecx]
lea edx, [esi - 0x50]
push edx
call dword [eax + 0x1c]
test eax, eax
jne 0x42c9f9
and dword [esp + 0x1c], eax
cmp dword [esp + 0x28], eax
jle 0x42c972
mov eax, dword [esp + 0x20]
add eax, 0x1a
mov dword [esp + 0x2c], eax
push dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push eax
call fcn.00410c19
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 2
call fcn.0042cce5
test eax, eax
jne 0x42c93b
and dword [esp + 0x38], eax
test eax, eax
jl 0x42c945
mov dword [esp + 0x4c], 1
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.0040d58f
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x2c], edi
cmp eax, dword [esp + 0x28]
jl 0x42c912
cmp dword [esp + 0x4c], 0
jne 0x42c977
and dword [esp + 0x38], 0
cmp dword [esp + 0x38], 0
je 0x42c9f9
and dword [esp + 0x2c], 0
cmp dword [esp + 0x28], 0
jle 0x42c9f1
mov eax, dword [esp + 0x20]
add eax, 0x1a
mov dword [esp + 0x38], eax
push dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
call fcn.00410c19
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 3
call fcn.0042cce5
test eax, eax
jl 0x42c9cb
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x70]
call fcn.00410437
mov edi, 0x218
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.0040d58f
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x38], edi
cmp eax, dword [esp + 0x28]
jl 0x42c995
mov dword [esp + 0x40], 1
push dword [esp + 0x20]
call fcn.004e04de
pop ecx
xor edi, edi
cmp dword [esp + 0x40], edi
je 0x42ca22
mov ecx, dword [0x552fdc]
mov eax, dword [ecx]
push edi
lea edx, [esi - 0x50]
push edx
call dword [eax + 0x20]
mov dword [ebx + 0x20], 1
add esi, 0x454
inc dword [esp + 0x44]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10]
jl 0x42c7dc
xor esi, esi
cmp dword [esp + 0x70], edi
je 0x42ca61
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
sar eax, 2
cmp esi, eax
jae 0x42ca61
mov eax, dword [esp + 0x70]
push dword [eax + esi*4]
call dword [0x50835c]
inc esi
jmp 0x42ca3c
or dword [esp + 0x88], 0xffffffff
lea esi, [esp + 0x6c]
call fcn.004115fd
xor edi, edi
mov dword [esp + 0x4c], edi
cmp dword [ebx + 0x20], edi
jne 0x42cc3a
push ebx
mov dword [esp + 0x30], edi
call dword [0x5082e8]
cmp dword [ebx + 0x20], edi
jne 0x42cc33
lea eax, [ebx + 0x34]
mov dword [esp + 0x1c], edi
call fcn.0043db7a
test eax, eax
jbe 0x42cb68
mov esi, dword [esp + 0x1c]
lea edi, [ebx + 0x34]
call fcn.0044e95b
push dword [eax]
push ebx
call fcn.00430c3f
test eax, eax
je 0x42cb50
cmp dword [eax + 0x30], 2
jge 0x42cb50
xor ecx, ecx
cmp dword [eax + 0x34], ecx
jne 0x42cb50
cmp dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
jle 0x42cb0e
mov edi, dword [esp + 0x44]
push 0xa
pop ecx
lea esi, [eax + 4]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x42cb50
add dword [esp + 0x44], 0x454
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x10]
jl 0x42cae8
push dword [eax]
push ebx
call fcn.0042fcac
test eax, eax
je 0x42cb22
mov dword [esp + 0x2c], 1
push dword [esp + 0x1c]
lea esi, [esp + 0x58]
lea edi, [ebx + 0x34]
call fcn.004cfc38
lea edi, [esp + 0x60]
call fcn.0042a78a
push dword [eax + 4]
lea edi, [esp + 0x68]
push dword [eax]
lea esi, [ebx + 0x34]
call fcn.004cfbec
dec dword [esp + 0x1c]
inc dword [esp + 0x1c]
lea eax, [ebx + 0x34]
call fcn.0043db7a
cmp dword [esp + 0x1c], eax
jb 0x42caa9
xor edi, edi
cmp dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edi
jle 0x42cc0d
lea eax, [ebx + 0x34]
call fcn.0043db7a
xor esi, esi
test eax, eax
mov dword [esp + 0x50], eax
jle 0x42cbaf
lea edi, [ebx + 0x34]
call fcn.0044e95b
push dword [esp + 0x20]
mov edi, eax
push ebx
call fcn.00430a6e
cmp dword [edi], eax
je 0x42cbe5
inc esi
cmp esi, dword [esp + 0x50]
jl 0x42cb90
push dword [esp + 0x20]
push ebx
call fcn.0042f74c
test eax, eax
je 0x42cbf3
push dword [esp + 0x20]
push ebx
call fcn.00430a6e
push eax
push 2
push 0x467
push dword [ebx + 0x90]
call dword [0x508484]
mov dword [esp + 0x2c], 1
jmp 0x42cbf3
push dword [esp + 0x20]
push ebx
call fcn.0042ff57
mov dword [esp + 0x2c], eax
add dword [esp + 0x20], 0x454
inc dword [esp + 0x44]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10]
jl 0x42cb7e
cmp dword [esp + 0x2c], 0
je 0x42cc19
call fcn.0042b81e
call fcn.0042fe74
push 0
push 0xa
push 0x467
push dword [ebx + 0x90]
call dword [0x508484]
push ebx
call dword [0x508300]
cmp dword [ebx + 0x18], 0
je 0x42c557
push dword [esp + 0x14]
call fcn.004e04de
pop ecx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret