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

Disassembly:
push 0xffffffffffffffff
push 0x7500db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x50]
cdq
push ebp
push esi
mov esi, dword [ebx + 0xc]
idiv esi
push edi
mov edi, dword [esp + 0x90]
push edi
mov ebp, eax
mov eax, dword [esp + 0x8c]
cdq
idiv ebp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x68], edx
cdq
idiv ebp
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x68], edx
cdq
idiv esi
mov esi, eax
mov eax, dword [esp + 0x98]
cdq
idiv esi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], edx
cdq
idiv esi
mov dword [esp + 0x70], eax
mov ecx, dword [ecx + 0xb0]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x6c], edx
call fcn.0063a640
test eax, eax
je 0x6450a5
mov ebp, dword [esp + 0xa0]
test ebp, ebp
mov esi, dword [esp + 0x9c]
jne 0x645070
mov edx, dword [ebx]
push esi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [edx + 0xb0]
call fcn.0063a640
test eax, eax
je 0x6450a5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
push esi
push eax
mov eax, dword [esp + 0x78]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
mov dword [esp + 0x44], 0
call fcn.006445e0
mov dword [ebx + 0x20], ebp
mov ebp, dword [esp + 0x28]
test ebp, ebp
jne 0x6450bc
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x1c
mov edx, dword [ebp]
or eax, 0xffffffff
mov ecx, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], eax
call dword [edx + 0x44]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
push esi
push eax
push ecx
mov ecx, ebx
call fcn.00641c80
mov ecx, dword [esp + 0x60]
xor edx, edx
cmp eax, dword [ecx]
mov ecx, ebp
setne dl
mov dword [esp + 0x64], edx
mov edx, dword [ebp]
call dword [edx + 0x48]
cmp eax, 1
jne 0x645150
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x90]
push esi
push edx
mov edx, dword [esp + 0x94]
push eax
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00642a80
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x1c
push 0x3c
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x60], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x80], ecx
je 0x64517c
push 1
mov ecx, eax
call fcn.0063db70
mov edi, eax
mov dword [esp + 0x3c], edi
jmp 0x645182
mov dword [esp + 0x3c], ecx
mov edi, ecx
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x80], 0xffffffff
xor esi, esi
call dword [eax + 0x48]
cmp eax, 1
jbe 0x6455fe
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x24]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x48]
test eax, eax
je 0x6451ce
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x40]
mov ebp, dword [eax]
jmp 0x6451d0
xor ebp, ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x64520e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov eax, dword [eax]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
mov eax, dword [eax + 4]
mov edx, dword [edi]
add eax, eax
add eax, eax
add eax, eax
mov ecx, edi
mov dword [esp + 0x30], eax
call dword [edx + 0x44]
mov eax, dword [eax + 8]
jmp 0x64522c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
movzx eax, word [esp + 0x90]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov dword [esp + 0x44], eax
call dword [edx + 0x48]
cmp eax, 1
jne 0x6452a6
cmp dword [esp + 0x64], 0
je 0x645274
mov eax, dword [ebp + 0xc]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x20], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
or eax, 0xffffffff
jmp 0x6452cf
mov ecx, dword [esp + 0x94]
movzx eax, word [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
or eax, 0xffffffff
jmp 0x6452cf
mov eax, dword [ebp + 0xc]
movzx edx, word [ebp + 0x1c]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x20], eax
or eax, 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, bind
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x30], 0
mov dword [esp + 0x2c], 0
jle 0x645482
jmp 0x645310
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + 0x34]
add ecx, 0x34
push eax
call dword [edx + 0x14]
cmp dword [eax], ebp
jne 0x64546a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + 0x48]
add ecx, 0x48
push eax
call dword [edx + 0x14]
cmp dword [eax], 0xffffffff
jle 0x64546a
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x5c]
lea ecx, [edi + 0x5c]
push eax
call dword [edx + 0x14]
mov esi, dword [eax]
test esi, esi
je 0x6453c2
mov cx, word [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00641c80
cmp edi, eax
jne 0x645383
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jmp 0x645391
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
sar ecx, 3
sub ecx, dword [esp + 0x38]
sar eax, 3
sub eax, dword [esp + 0x34]
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
push edx
call fcn.005de010
add esp, 4
mov dword [esp + 0x54], eax
jmp 0x6453ca
mov dword [esp + 0x54], 0
xor edi, edi
cmp dword [ebp + 0x30], edi
jle 0x645433
mov edx, dword [ebp + 0x34]
lea ecx, [ebp + 0x34]
push edi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
cmp dword [eax], ecx
jne 0x6453f1
mov edx, dword [ebp + 0x5c]
lea ecx, [ebp + 0x5c]
push edi
call dword [edx + 0x14]
cmp dword [eax], esi
je 0x6453fb
add edi, 1
cmp edi, dword [ebp + 0x30]
jl 0x6453d1
jmp 0x645433
test esi, esi
je 0x645433
mov ax, word [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00641c80
cmp ebp, eax
jne 0x645425
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jmp 0x645433
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
cmp edi, dword [ebp + 0x30]
jge 0x645466
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
jge 0x645466
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0x30]
mov dword [esp + 0x2c], eax
jl 0x645310
test esi, esi
je 0x645582
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x50]
shl dword [esp + 0x18], 3
push 0
push eax
lea ecx, [edx*8]
mov edx, dword [esp + 0x68]
push ecx
lea ecx, [edx*8]
mov edx, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x54]
add ebp, ebp
add ebp, ebp
push edx
add ebp, ebp
push eax
mov ecx, ebx
mov dword [esp + 0x6c], ebp
call fcn.00642a80
push eax
push edi
mov ecx, ebx
call fcn.006410d0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov cx, word [esi + 0x1c]
mov dx, word [esi + 0x18]
shl cx, 9
add dx, dx
add eax, 0xe
or ecx, edx
or ecx, 1
or word [eax], cx
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jle 0x64554e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebp
mov ecx, ebx
call fcn.00642a80
push eax
push edi
mov ecx, ebx
call fcn.006410d0
test eax, eax
jne 0x6455e8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
jmp 0x6455d6
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
sar ecx, 3
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
sar edx, 3
mov word [eax + 0xc], cx
mov word [eax + 0xe], cx
mov dword [eax + 4], edx
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x70], esp
call dword [edx + 8]
jmp 0x6455e8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.00642a80
push eax
push edi
mov ecx, ebx
call fcn.006410d0
test eax, eax
jne 0x6455e8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov ecx, ebx
push ebp
call fcn.00644aa0
push eax
mov ecx, ebx
push edi
call fcn.006410d0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
cmp eax, 1
mov ebp, dword [esp + 0x28]
ja 0x6451a0
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov ecx, dword [esp + 0x78]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x1c