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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8230
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], 0
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x68], 1
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 2
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 3
lea esi, [esp + 0x24]
mov byte [esp + 0x68], bl
call fcn.0042d3a0
lea edi, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.0040a8e0
mov byte [esp + 0x68], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eb4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov dword [esp + 0x24], esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42ee40
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x42ee40
test ecx, ecx
je 0x42eb7f
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x42eb84
call fcn.0049445b
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + esi*4]
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
lea esi, [edi + 8]
mov ebx, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
test esi, esi
mov edx, dword [edi + 0xc]
lea eax, [edi + 8]
mov dword [esp + 0x58], edx
je 0x42ebb2
cmp esi, eax
je 0x42ebb7
call fcn.0049445b
cmp ebx, dword [esp + 0x58]
je 0x42ee32
test esi, esi
jne 0x42ebca
call fcn.0049445b
cmp ebx, dword [esi + 4]
jne 0x42ebd4
call fcn.0049445b
lea ebp, [ebx + 8]
mov ecx, ebp
call fcn.0042c530
test eax, eax
jne 0x42ee17
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42ec01
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42ebf2
sub eax, esi
sar eax, 1
mov ebx, eax
push ecx
lea eax, [esp + 0x24]
call fcn.00401750
push 0x5c
push 0x2f
lea eax, [esp + 0x28]
push eax
call fcn.004075a0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
lea ebx, [esp + 0x30]
call fcn.0040e5b0
lea edi, [ebp + 4]
lea ecx, [esp + 0x40]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x78], 5
call fcn.0040e5b0
lea edx, [esp + 0x44]
push ebp
push edx
mov ebx, eax
mov byte [esp + 0x80], 6
call fcn.0040e5b0
add esp, 0x18
mov byte [esp + 0x68], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42ecb8
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42ecab
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42ecab
call fcn.00401270
mov dword [esp + 0x30], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42ec9e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
jmp 0x42ecb8
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00401750
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ecdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push edi
add ebx, 4
push ecx
call fcn.0040e5b0
lea edx, [esp + 0x48]
push ebp
push edx
mov ebx, eax
mov byte [esp + 0x78], 8
call fcn.0040e5b0
add esp, 0x10
mov byte [esp + 0x68], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42eda5
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42ed98
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42ed98
call fcn.00401270
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42ed8f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x42eda5
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00401750
mov byte [esp + 0x68], 8
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42edca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42edef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push ecx
call fcn.00413d00
add esp, 4
test eax, eax
jne 0x42ee40
mov edi, esi
call fcn.00432870
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp ebx, dword [esi + 4]
jne 0x42ee21
call fcn.0049445b
mov edx, dword [ebx]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov ebx, edx
jmp 0x42eba0
add dword [esp + 0x24], 1
mov esi, dword [esp + 0x24]
jmp 0x42eb54
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eeaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret