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

Disassembly:
push 0xffffffffffffffff
push 0x544078
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor edi, edi
cmp dword [esi + 8], edi
je 0x42dc3e
push 0x564f30
lea ecx, [esp + 0x18]
call fcn.00404670
or eax, 0xffffffff
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
mov esi, dword [eax + 0x500]
lea ebx, [eax + 0x19b8]
xor edx, edx
cmp esi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
jbe 0x42d97d
lea edi, [eax + 0x52c]
mov ecx, dword [edi]
mov eax, ecx
shr eax, 4
and eax, 0xf
cmp eax, 5
jne 0x42d959
mov ebp, ecx
and ebp, 0xf00
cmp ebp, 0x400
jne 0x42d959
mov dword [esp + 0x20], edx
cmp eax, 4
jne 0x42d970
and ecx, 0xf00
cmp ecx, 0x400
jne 0x42d970
mov dword [esp + 0x24], edx
add edx, 1
add edi, 0xa4
cmp edx, esi
jb 0x42d936
mov edi, dword [ebx + 4]
test edi, edi
je 0x42da42
test edi, edi
mov ebp, edi
mov eax, edi
je 0x42dac4
mov ebx, dword [eax + 8]
test ebx, ebx
mov edi, dword [edi]
je 0x42da3a
cmp dword [ebx + 0x24], 0
je 0x42da3a
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x42da3a
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42d9e3
push esi
lea ecx, [esp + 0x18]
call fcn.00402980
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00522173
add esp, 8
test esi, esi
jl 0x42dae6
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x42dae6
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov word [ecx + esi*2], 0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x42da3a
push 0x5679a4
push eax
call fcn.00522186
add esp, 8
test eax, eax
je 0x42da3a
sub eax, dword [esp + 0x14]
sar eax, 1
jns 0x42dac9
test edi, edi
jne 0x42d988
cmp dword [esp + 0x20], 0
jl 0x42db18
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 4]
test edi, edi
je 0x42db18
lea esp, [esp]
mov eax, edi
mov esi, dword [eax + 8]
test esi, esi
mov ebp, edi
mov edi, dword [edi]
je 0x42dabe
cmp dword [esi + 0x24], 0
je 0x42dabe
cmp dword [esi + 0x78], 8
jne 0x42dabe
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
imul eax, eax, 0xa4
mov edx, dword [ecx + 8]
lea ecx, [eax + edx]
mov eax, dword [ecx + 0x5bc]
cmp eax, dword [esi + 0x38]
jne 0x42dabe
mov edx, dword [esi + 0x178]
xor eax, eax
test edx, edx
jbe 0x42dabe
mov ebx, dword [ecx + 0x5ac]
lea ecx, [esi + 0x17c]
cmp dword [ecx], ebx
je 0x42daf0
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x42dab0
test edi, edi
jne 0x42da60
jmp 0x42db18
call fcn.00504221
mov esi, dword [esp + 0x1c]
push ebp
mov ecx, esi
call fcn.0050324d
push ebx
mov ecx, esi
call fcn.00503357
mov dword [esp + 0x18], eax
jmp 0x42da42
push 0x80070057
call fcn.00402900
mov edi, dword [esp + 0x1c]
push ebp
mov ecx, edi
call fcn.0050324d
mov eax, dword [esp + 0x18]
test eax, eax
push esi
mov ecx, edi
jne 0x42db0e
call fcn.00503357
jmp 0x42db14
push eax
call fcn.005033e7
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0
jl 0x42dc16
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 4]
test edi, edi
je 0x42dbbd
mov eax, edi
mov esi, dword [eax + 8]
test esi, esi
mov ebp, edi
mov edi, dword [edi]
je 0x42db8f
cmp dword [esi + 0x24], 0
je 0x42db8f
cmp dword [esi + 0x78], 8
jne 0x42db8f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
imul edx, edx, 0xa4
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [ecx + 0x5bc]
cmp edx, dword [esi + 0x38]
jne 0x42db8f
mov edx, dword [esi + 0x178]
xor eax, eax
test edx, edx
jbe 0x42db8f
mov ebx, dword [ecx + 0x5ac]
lea ecx, [esi + 0x17c]
cmp dword [ecx], ebx
je 0x42db95
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x42db81
test edi, edi
jne 0x42db32
jmp 0x42dbbd
mov edi, dword [esp + 0x1c]
push ebp
mov ecx, edi
call fcn.0050324d
mov eax, dword [esp + 0x18]
test eax, eax
push esi
mov ecx, edi
jne 0x42dbb3
call fcn.00503357
jmp 0x42dbb9
push eax
call fcn.005033e7
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
test eax, eax
je 0x42dc16
mov edi, 9
lea ecx, [ecx]
test eax, eax
mov edx, eax
mov ecx, eax
je 0x42dac4
mov esi, dword [ecx + 8]
test esi, esi
mov eax, dword [eax]
je 0x42dbf0
cmp dword [esi + 0x24], 0
je 0x42dbf0
cmp dword [esi + 0x78], edi
je 0x42dbf6
test eax, eax
jne 0x42dbd0
jmp 0x42dc16
push edx
mov ecx, ebx
call fcn.0050324d
mov eax, dword [esp + 0x18]
test eax, eax
push esi
mov ecx, ebx
jne 0x42dc10
call fcn.00503357
jmp 0x42dc16
push eax
call fcn.005033e7
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4