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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ef880
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0xd], 0
jne 0x45fa4e
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
sar eax, 4
test eax, eax
jbe 0x45f892
mov edi, dword [ebx + 0x38]
cmp edi, dword [ebx + 0x3c]
jbe 0x45f761
call fcn.004c96d9
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x45f9e6
call fcn.004c96d9
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x45f77d
call fcn.004c96d9
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi]
mov edi, dword [edi + 0xc]
push 0x37
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.004d1df0
add esp, 0xc
mov byte [esp + 0x30], 0x62
mov byte [esp + 0x31], 2
mov dword [esp + 0x78], 0
mov cl, byte [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x5c], cl
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x32], 0x1a
call fcn.00480bc0
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], edx
call fcn.00480c70
mov word [esp + 0x3e], ax
lea eax, [esp + 0x40]
push eax
call fcn.00462ae0
xor eax, eax
add esp, 4
test byte [0x5341c4], 1
mov word [esp + 0x14], ax
mov byte [esp + 0x16], al
jne 0x45f81f
or dword [0x5341c4], 1
push 0x4f9d30
call fcn.004c9e97
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.00468de0
test al, al
je 0x45f9ed
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0
call eax
mov edi, dword [ebx + 0x38]
cmp edi, dword [ebx + 0x3c]
lea esi, [ebx + 0x2c]
jbe 0x45f851
call fcn.004c96d9
mov eax, dword [esi]
push edi
push eax
lea edi, [esp + 0x30]
call fcn.0045fbf0
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x63]
test eax, eax
je 0x45f881
push eax
call fcn.004ca215
add esp, 4
mov ecx, dword [ebx + 0x3c]
sub ecx, dword [ebx + 0x38]
sar ecx, 4
test ecx, ecx
ja 0x45f754
or edi, 0xffffffff
mov edx, dword [ebx + 0x24]
sub edx, dword [ebx + 0x20]
sar edx, 2
test edx, edx
jbe 0x45fa2a
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
jbe 0x45f8b3
call fcn.004c96d9
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x45fa0e
call fcn.004c96d9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45f8cf
call fcn.004c96d9
mov esi, dword [esi]
push 0x2f
lea eax, [esp + 0x34]
push 0
push eax
call fcn.004d1df0
add esp, 0xc
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x32], 0x1a
call fcn.00480bc0
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], edx
call fcn.00480c70
lea ecx, [esp + 0x40]
push ecx
mov word [esp + 0x42], ax
mov byte [esp + 0x58], 1
call fcn.00462ae0
xor eax, eax
add esp, 4
test byte [0x5341c4], 1
mov word [esp + 0x10], ax
mov byte [esp + 0x12], al
jne 0x45f951
or dword [0x5341c4], 1
push 0x4f9d30
call fcn.004c9e97
add esp, 4
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x34]
call fcn.00469010
test al, al
je 0x45fa15
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
call edx
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
jbe 0x45f980
call fcn.004c96d9
mov eax, dword [ebx + 0x24]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x45f99f
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.004c92d0
add esp, 0x10
add dword [ebx + 0x24], 0xfffffffc
mov eax, dword [ebx + 0x24]
cmp dword [ebx + 0x20], esi
ja 0x45f9af
cmp esi, eax
jbe 0x45f9b4
call fcn.004c96d9
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x5b]
test eax, eax
je 0x45f9d3
push eax
call fcn.004ca215
add esp, 4
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x20]
sar eax, 2
test eax, eax
ja 0x45f8a6
jmp 0x45fa2a
mov eax, dword [eax]
jmp 0x45f773
or edi, 0xffffffff
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x63]
test eax, eax
je 0x45f895
push eax
call fcn.004ca215
add esp, 4
jmp 0x45f895
mov eax, dword [eax]
jmp 0x45f8c5
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x5b]
test eax, eax
je 0x45fa2a
push eax
call fcn.004ca215
add esp, 4
xor esi, esi
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebx + 0xd], 0
jne 0x45fa4e
inc esi
cmp esi, 0xa
jl 0x45fa30
cmp byte [ebx + 0xd], 0
je 0x45f743
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004c8f08
mov esp, ebp
pop ebp
ret