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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bd1ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [0x62e8ac]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
mov dword [esp + 0x14], ebx
je 0x46775b
call fcn.00467c20
test eax, eax
je 0x46775b
cmp dword [edi + 0xa018], ebx
jne 0x467752
mov eax, dword [edi + 0xa1c0]
cmp eax, 5
jne 0x466f07
mov ecx, edi
call fcn.00461bd0
cmp eax, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ebx
je 0x466e8e
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
fld qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
jmp 0x466ec4
lea edx, [esp + 0xa8]
push edx
call fcn.004ebac0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xb8]
push ecx
mov dword [esp + 0x4c], eax
call fcn.004ebac0
fld qword [eax]
mov eax, dword [eax + 8]
add esp, 8
sub esp, 0xc
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x24], esp
sub esp, 0xc
fstp qword [ecx]
mov dword [ecx + 8], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004754f0
push ecx
mov ecx, edi
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00461b20
push ebx
mov ecx, edi
call fcn.00468000
mov dword [edi + 0xa1c0], ebx
jmp 0x467746
mov ebp, 1
cmp eax, ebp
jne 0x466f4d
mov ecx, dword [edi + 0xa078]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 0xa1c0], ebp
jne 0x467746
lea edx, [edi + 0xa080]
mov ecx, edi
push edx
call fcn.00468a80
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0xa07c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x466f10
cmp eax, 6
jne 0x466fdb
mov edx, dword [edi + 0xa078]
or esi, 0xffffffff
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [edi + 0xa080]
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, edi
call fcn.004686b0
push eax
lea ecx, [edi + 0xa024]
mov dword [esp + 0xcc], ebp
call fcn.00593814
lea ecx, [esp + 0x84]
mov dword [esp + 0xc8], esi
call fcn.005936db
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call fcn.00468670
push eax
lea ecx, [edi + 0xa020]
mov dword [esp + 0xcc], 2
call fcn.00593814
lea ecx, [esp + 0x64]
mov dword [esp + 0xc8], esi
call fcn.005936db
jmp 0x46764d
cmp eax, 7
jne 0x467059
mov edx, dword [edi + 0xa078]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0xa030]
mov edx, dword [edi + 0xa02c]
lea ecx, [edi + 0xa080]
push ecx
push eax
lea eax, [esp + 0x7c]
push edx
push eax
mov ecx, edi
call fcn.00469670
push eax
lea ecx, [edi + 0xa034]
mov dword [esp + 0xcc], 3
call fcn.00593814
lea ecx, [esp + 0x74]
mov dword [esp + 0xc8], 0xffffffff
call fcn.005936db
mov dword [edi + 0xa1c0], ebx
mov ecx, dword [0x63fd4c]
mov edx, dword [ecx + 0xa07c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x467746
cmp eax, 8
jne 0x46766a
mov eax, dword [edi + 0xa078]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x63fdf0], ebx
je 0x46762c
mov eax, dword [0x639698]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc8], 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
lea esi, [edi + 0xa080]
mov byte [esp + 0xc8], 0xa
mov ecx, dword [esi + 0x58]
lea eax, [esi + 0x58]
cmp dword [ecx - 8], ebx
jne 0x4670c5
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x4c]
call fcn.00593450
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0xbc]
push ebx
lea eax, [esp + 0xc8]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0xc8]
push edx
mov edx, dword [esp + 0x84]
push eax
push ebx
lea ecx, [esp + 0x74]
push ebx
push ecx
mov ecx, dword [edi + 0xa63c]
push edx
mov byte [esp + 0x118], 0xb
call fcn.004e3a00
lea ebp, [esi + 4]
lea eax, [esp + 0x8c]
push ebp
push eax
call fcn.004ee280
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0xc
call fcn.00593814
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc8], 0xb
call fcn.005936db
mov eax, dword [esi + 0x50]
mov ebx, dword [esi + 0x54]
test eax, eax
jne 0x467173
mov eax, ebx
test ebx, ebx
jne 0x467179
mov ebx, eax
push 0
push eax
call fcn.004ca220
add esp, 8
test eax, eax
jge 0x4671a5
push 0x63f7e8
lea ecx, [esp + 0x5c]
call fcn.00593749
or dword [esp + 0x14], 1
mov byte [esp + 0xc8], 0xd
jmp 0x4671cc
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.004ca460
mov ecx, dword [esp + 0x1c]
add esp, 8
or ecx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc8], 0xe
push eax
lea ecx, [esp + 0x3c]
call fcn.00593814
mov al, byte [esp + 0x14]
mov dword [esp + 0xc8], 0xd
test al, 2
je 0x4671ff
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x80]
and al, 0xfd
mov dword [esp + 0x14], eax
call fcn.005936db
mov al, byte [esp + 0x14]
mov dword [esp + 0xc8], 0xb
test al, 1
je 0x467225
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
and al, 0xfe
mov dword [esp + 0x14], eax
call fcn.005936db
push 0
push ebx
call fcn.004ca220
add esp, 8
test eax, eax
jge 0x467251
push 0x63f7e8
lea ecx, [esp + 0x64]
call fcn.00593749
or dword [esp + 0x14], 4
mov byte [esp + 0xc8], 0xf
jmp 0x467278
lea edx, [esp + 0x88]
push eax
push edx
call fcn.004ca460
mov ecx, dword [esp + 0x1c]
add esp, 8
or ecx, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc8], 0x10
push eax
lea ecx, [esp + 0x28]
call fcn.00593814
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc8], 0xf
test bl, 8
je 0x4672a9
and ebx, 0xfffffff7
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], ebx
call fcn.005936db
test bl, 4
mov dword [esp + 0xc8], 0xb
je 0x4672c9
and ebx, 0xfffffffb
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.005936db
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
call fcn.004302b0
push eax
lea ecx, [esp + 0x34]
call fcn.004302b0
push eax
lea ecx, [esp + 0x34]
call fcn.004302b0
push eax
lea ecx, [esp + 0x30]
call fcn.004302b0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004302b0
push eax
lea ecx, [esp + 0x4c]
call fcn.004302b0
push eax
push ecx
lea edx, [esi + 0x90]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00593450
lea eax, [esp + 0x70]
push eax
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x100], 0x11
call fcn.004302b0
push eax
push ecx
lea edx, [esi + 0x8c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00593450
lea eax, [esp + 0x9c]
push eax
call fcn.004ec150
add esp, 8
mov ecx, eax
mov byte [esp + 0x104], 0x12
call fcn.004302b0
push eax
push ecx
lea edx, [esi + 0x88]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.00593450
lea eax, [esp + 0x98]
push eax
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x108], 0x13
call fcn.004302b0
push eax
lea edx, [esi + 0x84]
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.00593450
lea eax, [esp + 0x98]
push eax
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x10c], 0x14
call fcn.004302b0
push eax
lea ecx, [esi + 0x80]
call fcn.004302b0
push eax
lea ecx, [esi + 0x78]
call fcn.004302b0
push eax
lea ecx, [esi + 0x74]
call fcn.004302b0
push eax
lea ecx, [esi + 0x70]
call fcn.004302b0
push eax
lea ecx, [esi + 0x6c]
call fcn.004302b0
push eax
lea ecx, [esi + 0x68]
call fcn.004302b0
push eax
lea ecx, [esi + 0x64]
call fcn.004302b0
push eax
lea ecx, [esi + 0x60]
call fcn.004302b0
push eax
push ecx
lea edx, [esi + 0x5c]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.00593450
lea eax, [esp + 0xe4]
push eax
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x130], 0x15
call fcn.004302b0
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
push eax
push ecx
lea eax, [esi + 0x2c]
push edx
lea ecx, [esi + 0x20]
push eax
lea edx, [esi + 0x14]
push ecx
lea eax, [esi + 8]
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0xa4], esp
push ebp
call fcn.00593450
lea ecx, [esp + 0x104]
push ecx
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x14c], 0x16
call fcn.004302b0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0xa8], esp
push esi
call fcn.00593450
lea edx, [esp + 0xfc]
push edx
call fcn.0044e840
add esp, 8
mov ecx, eax
mov byte [esp + 0x150], 0x17
call fcn.004302b0
push eax
call dword [0x63fdf0]
add esp, 0x8c
lea ecx, [esp + 0x70]
mov esi, eax
mov byte [esp + 0xc8], 0x16
call fcn.005936db
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 0x15
call fcn.005936db
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 0x14
call fcn.005936db
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 0x13
call fcn.005936db
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0x12
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc8], 0x11
call fcn.005936db
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 0xb
call fcn.005936db
test esi, esi
je 0x46759d
push esi
lea ecx, [edi + 0x9ffc]
call fcn.00593864
mov dword [edi + 0xa000], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0xa
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 9
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 8
call fcn.005936db
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 7
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0xc8], 6
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 5
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 4
call fcn.005936db
lea ecx, [esp + 0x18]
mov dword [esp + 0xc8], 0xffffffff
call fcn.005936db
xor ebx, ebx
jmp 0x46764d
mov eax, dword [0x63fdec]
cmp eax, ebx
je 0x46764d
call eax
cmp eax, ebx
je 0x46764d
push eax
lea ecx, [edi + 0x9ffc]
call fcn.00593864
mov dword [edi + 0xa000], ebp
mov dword [edi + 0xa1c0], ebx
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0xa07c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x467746
cmp eax, 2
jne 0x467688
lea edx, [edi + 0xa080]
mov ecx, edi
push edx
call fcn.00468a80
mov dword [edi + 0xa1c0], ebx
jmp 0x467746
cmp eax, 3
jne 0x4676a6
lea eax, [edi + 0xa120]
mov ecx, edi
push eax
call fcn.00469050
mov dword [edi + 0xa1c0], ebx
jmp 0x467746
cmp eax, 4
jne 0x4676cf
lea ecx, [edi + 0xa120]
push ecx
mov ecx, edi
call fcn.00469050
lea edx, [edi + 0xa080]
mov ecx, edi
push edx
call fcn.00468a80
mov dword [edi + 0xa1c0], ebx
jmp 0x467746
cmp dword [edi + 0xa01c], ebx
jne 0x4676e1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x467746
mov eax, dword [edi + 0xa000]
mov dword [edi + 0xa01c], ebx
cmp eax, ebx
je 0x467701
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xa000], ebx
jne 0x4676f1
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, edi
call fcn.00469620
push eax
lea ecx, [edi + 0x9ffc]
mov dword [esp + 0xcc], 0x18
call fcn.00593814
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.005936db
mov dword [edi + 0xa000], ebp
cmp dword [edi + 0xa018], ebx
je 0x466e43
mov ecx, edi
call fcn.00467f90
jmp 0x4677d1
mov dword [0x62e8ac], ebx
mov eax, dword [edi + 0xa018]
cmp eax, ebx
jne 0x4677d1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xa1c0], ebx
je 0x4677c2
lea edx, [esp + 0x34]
push 0xa2e9
push edx
call fcn.004ec350
add esp, 8
push eax
lea ecx, [edi + 0x9ffc]
mov dword [esp + 0xcc], ebx
call fcn.00593814
lea ecx, [esp + 0x34]
mov dword [esp + 0xc8], 0xffffffff
call fcn.005936db
mov dword [edi + 0xa000], 1
mov dword [edi + 0xa1c0], ebx
push 0xc8
call esi
cmp dword [edi + 0xa018], ebx
je 0x467771
mov ecx, dword [esp + 0xc0]
mov dword [edi + 0xa014], ebx
mov dword [edi + 0xa018], ebx
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret