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

Disassembly:
push 0xffffffffffffffff
push 0x7c7ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x18], edi
call edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], edi
call fcn.00648b30
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov byte [esp + 0x60], 1
mov dword [esp + 0x18], edi
cmp dword [eax], edi
je 0x679ca4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00679280
test eax, eax
jne 0x679ce4
cmp dword [esp + 0x18], edi
jne 0x679cb5
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00678530
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
inc eax
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00679570
test eax, eax
je 0x679ce4
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
call fcn.00531d40
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov byte [esp + 0x64], 2
call fcn.00679930
test eax, eax
je 0x679de0
mov ecx, dword [esp + 0x30]
mov eax, ecx
sub eax, dword [esp + 0x2c]
sar eax, 2
test eax, eax
jbe 0x679de0
mov edx, dword [esp + 0x68]
cmp dword [edx], 0
mov dword [esp + 0x7c], 0
je 0x679d61
cmp edi, eax
jb 0x679d35
call fcn.0071ffb6
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x3c]
push edx
push ecx
lea eax, [eax + edi*4]
push eax
mov ecx, esi
call fcn.00679280
test eax, eax
jne 0x679dca
cmp dword [esp + 0x7c], eax
jne 0x679d85
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 2
cmp edi, ecx
jb 0x679d71
call fcn.0071ffb6
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x7c]
lea ecx, [eax + edi*4]
push edx
push ecx
mov ecx, esi
call fcn.00678530
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x2c]
sar edx, 2
cmp edi, edx
jb 0x679d99
call fcn.0071ffb6
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x8c]
push ecx
inc edx
lea eax, [eax + edi*4]
push edx
push eax
mov ecx, esi
call fcn.00679570
test eax, eax
je 0x679dca
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov eax, ecx
sub eax, dword [esp + 0x2c]
inc edi
sar eax, 2
cmp edi, eax
jb 0x679d1b
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 1
call fcn.00531db0
lea ecx, [esp + 0x38]
call fcn.00675d50
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x679e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18