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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5942d8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x604654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
mov esi, dword [ebp + 8]
lea edi, [edx - 1]
mov dword [ebp - 0x28], eax
mov eax, edi
mov dword [ebp - 0x10], esi
sar eax, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jge 0x4256f1
nop dword [eax]
lea eax, [ebx + ebx]
mov dword [ebp - 0x18], eax
lea eax, [eax + eax*2]
shl eax, 4
add esi, eax
mov eax, dword [esi + 0x30]
sub eax, 0x10
push eax
call fcn.00417940
mov ebx, dword [esi + 0x48]
add eax, 0x10
mov edi, dword [esi + 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x60]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.00417940
mov edx, dword [esi + 0x78]
add esp, 8
cmp byte [ebp + 0x18], 0
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 4], 0xffffffff
je 0x425633
cmp ecx, edi
ja 0x425641
jb 0x42563d
cmp edx, ebx
jae 0x425641
mov bl, 1
jmp 0x425643
cmp ecx, edi
jb 0x425641
ja 0x42563d
cmp edx, ebx
jbe 0x425641
mov bl, 1
jmp 0x425643
xor bl, bl
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x425658
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x60]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425673
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, bl
mov ebx, dword [ebp - 0x18]
xor eax, 1
inc ebx
add ebx, eax
mov eax, dword [ebp - 0x14]
lea esi, [eax + eax*2]
lea edi, [ebx + ebx*2]
shl esi, 4
add esi, dword [ebp - 0x10]
shl edi, 4
mov ecx, esi
add edi, dword [ebp - 0x10]
push edi
call fcn.00429780
mov eax, dword [edi + 4]
mov ecx, ebx
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp ebx, eax
jl 0x4255a0
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
cmp ebx, eax
jne 0x425715
test dl, 1
jne 0x425715
lea eax, [edx + edx*2]
shl eax, 4
lea ecx, [ecx + ecx*2]
add eax, 0xffffffd0
shl ecx, 4
add eax, esi
add ecx, esi
push eax
call fcn.004298a0
mov ecx, edi
push dword [ebp + 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
push esi
call fcn.00425f70
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret