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

Disassembly:
push 0xffffffffffffffff
push 0x4a2e50
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edx, ecx
xor edi, edi
xor eax, eax
lea ebx, [edx + 2]
mov si, word [edx]
add edx, 2
cmp si, di
jne 0x42c890
sub edx, ebx
sar edx, 1
cmp edx, edi
jle 0x42cf61
lea eax, [esp + 0x18]
push eax
call fcn.00410300
push 0x4bbe7c
push 0x4ba358
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x78], edi
call fcn.0042dd40
push 0x4bbe7c
push 0x4bc834
lea edx, [esp + 0x20]
push edx
call fcn.0042dd40
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x6c], 1
xor esi, esi
cmp esi, edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
jl 0x42c977
cmp esi, eax
jg 0x42c977
lea eax, [ecx + esi*2]
push 0x4bbe7c
push eax
call fcn.00480107
mov ecx, dword [esp + 0x20]
add esp, 8
cmp eax, edi
je 0x42c977
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x42c977
lea ecx, [esp + 0x18]
sub eax, esi
push ecx
add eax, 1
mov ecx, esi
lea edx, [esp + 0x2c]
call fcn.0041c610
mov ebx, eax
lea esi, [esp + 0x40]
mov byte [esp + 0x6c], 2
call fcn.0042e000
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c96d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [edi + 1]
xor edi, edi
jmp 0x42c8f0
cmp esi, dword [ecx - 0xc]
jge 0x42c9c0
mov ecx, esi
lea esi, [esp + 0x28]
lea edx, [esp + 0x18]
call fcn.0041c5f0
mov ebx, eax
lea esi, [esp + 0x40]
mov byte [esp + 0x6c], 3
call fcn.0042e000
mov byte [esp + 0x6c], 1
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 0x42c9c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x6c], 4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
xor ebp, ebp
lea ecx, [ecx]
cmp eax, ebx
jne 0x42c9e8
xor edx, edx
jmp 0x42c9ef
mov edx, ecx
sub edx, eax
sar edx, 2
cmp ebp, edx
jge 0x42ce11
cmp eax, ebx
je 0x42ca06
mov edx, ecx
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x42ca13
call fcn.0047f936
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + ebp*4]
cmp dword [edx - 0xc], 0x14
jge 0x42ca4d
cmp eax, ebx
je 0x42ca29
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42ca32
call fcn.0047f936
mov eax, dword [esp + 0x44]
lea ebx, [eax + ebp*4]
lea esi, [esp + 0x50]
call fcn.0042e000
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add ebp, 1
xor ebx, ebx
jmp 0x42c9e0
mov dword [esp + 0x1c], ebx
jmp 0x42ca5b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x42ca6a
mov edx, ecx
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x42ca77
call fcn.0047f936
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + ebp*4]
mov esi, dword [esp + 0x1c]
cmp esi, dword [edx - 0xc]
jge 0x42cdfd
test eax, eax
je 0x42ca96
mov edx, ecx
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x42caa3
call fcn.0047f936
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + ebp*4]
mov edx, dword [edx - 0xc]
sub edx, esi
cmp edx, 0x14
jle 0x42cd9c
test eax, eax
je 0x42cac1
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42caca
call fcn.0047f936
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ebp*4]
lea esi, [esp + 0x2c]
call fcn.0041c5f0
mov byte [esp + 0x6c], 5
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx - 0xc]
xor edi, edi
cmp ecx, 0x14
jge 0x42caf1
mov edi, ecx
jmp 0x42cb48
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x42cb48
cmp dword [esp + 0x20], 0x28
jge 0x42cb48
test eax, eax
jl 0x42ce07
cmp eax, ecx
jg 0x42ce07
movzx edx, word [ebx + eax*2]
movzx esi, dx
cmp si, 0x4e00
jb 0x42cb39
cmp eax, ecx
jg 0x42ce07
movzx edx, dx
cmp dx, 0x9fa5
ja 0x42cb39
add dword [esp + 0x20], 2
jmp 0x42cb3e
add dword [esp + 0x20], 1
add eax, 1
add edi, 1
cmp eax, ecx
jl 0x42cafb
lea eax, [ebx - 0x10]
mov byte [esp + 0x6c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42cb7e
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42cb87
call fcn.0047f936
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
lea eax, [eax + ebp*4]
lea ecx, [edi + esi]
push eax
mov eax, 1
lea edx, [esp + 0x2c]
mov dword [esp + 0x24], ecx
call fcn.0041c610
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x28]
mov ecx, 0x4bbe7c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42cbd8
test dx, dx
je 0x42cbd4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42cbd8
add eax, 4
add ecx, 4
test dx, dx
jne 0x42cbb2
xor eax, eax
jmp 0x42cbdd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
mov eax, dword [esp + 0x44]
je 0x42cc5d
test eax, eax
je 0x42cbfb
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42cc04
call fcn.0047f936
mov eax, dword [esp + 0x44]
lea ecx, [eax + ebp*4]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [edi + 1]
lea edx, [esp + 0x34]
call fcn.0041c610
mov ebx, eax
lea esi, [esp + 0x50]
mov byte [esp + 0x6c], 7
call fcn.0042e000
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
add ecx, 1
mov dword [esp + 0x1c], ecx
jmp 0x42cd6e
test eax, eax
je 0x42cc6e
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42cc77
call fcn.0047f936
mov eax, dword [esp + 0x44]
lea eax, [eax + ebp*4]
push eax
mov eax, edi
mov ecx, esi
lea edx, [esp + 0x28]
call fcn.0041c610
mov byte [esp + 0x6c], 8
mov edi, dword [esp + 0x24]
push 0xa
push edi
call fcn.00480c7c
add esp, 8
test eax, eax
jne 0x42cca5
or eax, 0xffffffff
jmp 0x42cca9
sub eax, edi
sar eax, 1
mov ecx, dword [edi - 0xc]
add ecx, 0xffffffff
cmp eax, ecx
jne 0x42ccc5
lea ebx, [esp + 0x24]
lea esi, [esp + 0x50]
call fcn.0042e000
jmp 0x42cd45
lea edx, [esp + 0x38]
push edx
mov ecx, 0x4bbe7c
call fcn.00410300
push eax
lea eax, [esp + 0x38]
push eax
lea ebx, [esp + 0x2c]
mov byte [esp + 0x74], 9
call fcn.00418310
add esp, 8
mov ebx, eax
lea esi, [esp + 0x50]
mov byte [esp + 0x6c], 0xa
call fcn.0042e000
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 8
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 0x42cd45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x6c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cd6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 4
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 0x42ca53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42ca53
test eax, eax
je 0x42cda9
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jb 0x42cdb2
call fcn.0047f936
mov eax, dword [esp + 0x44]
mov ecx, esi
lea edx, [eax + ebp*4]
lea esi, [esp + 0x3c]
call fcn.0041c5f0
mov ebx, eax
lea esi, [esp + 0x50]
mov byte [esp + 0x6c], 0xb
call fcn.0042e000
mov byte [esp + 0x6c], 4
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 0x42cdf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add ebp, 1
xor ebx, ebx
jmp 0x42c9e0
push 0x80070057
call fcn.004054d0
mov edi, dword [esp + 0x74]
mov esi, edi
call fcn.004052e0
xor esi, esi
mov edi, edi
mov eax, dword [esp + 0x54]
cmp eax, ebx
mov edx, dword [esp + 0x58]
jne 0x42ce30
xor ecx, ecx
jmp 0x42ce37
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jge 0x42ce90
cmp esi, 0x14
jge 0x42ce90
cmp esi, 0x13
jne 0x42ce67
cmp eax, ebx
je 0x42ce74
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ecx, 0x14
jbe 0x42ce67
push 6
push 0x4bc838
push edi
call fcn.00405120
add esi, 1
jmp 0x42ce20
cmp eax, ebx
je 0x42ce74
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x42ce7d
call fcn.0047f936
mov eax, dword [esp + 0x54]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.00405120
add esi, 1
jmp 0x42ce20
cmp eax, ebx
mov byte [esp + 0x6c], 1
je 0x42ced3
cmp eax, edx
mov edi, edx
mov esi, eax
je 0x42ceca
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x42cea1
mov eax, dword [esp + 0x54]
push eax
call fcn.0047f45b
add esp, 4
mov byte [esp + 0x6c], 0
mov esi, dword [esp + 0x44]
cmp esi, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x42cf28
mov eax, dword [esp + 0x48]
cmp esi, eax
mov edi, eax
je 0x42cf1f
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x42cef6
mov esi, dword [esp + 0x44]
push esi
call fcn.0047f45b
add esp, 4
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4