Function at 0x4501d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x63c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
cmp ecx, esi
je 0x450204
push 0xffffffffffffffff
push esi
call fcn.0043f180
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
je 0x450213
push 0xffffffffffffffff
push esi
call fcn.004fe1e9
mov ecx, dword [ebp + 0x18]
cmp ecx, esi
je 0x450222
push 0xffffffffffffffff
push esi
call fcn.0043f180
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
je 0x450231
push 0xffffffffffffffff
push esi
call fcn.0043f180
mov ecx, dword [ebp + 0x20]
cmp ecx, esi
je 0x450240
push 0xffffffffffffffff
push esi
call fcn.004fd817
mov ecx, dword [ebp + 0x24]
cmp ecx, esi
je 0x45024f
push 0xffffffffffffffff
push esi
call fcn.0043f180
cmp dword [ebx + 8], esi
jne 0x450263
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, ebx
call fcn.0044f010
cmp dword [ebx + 0xc], esi
jne 0x45027d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, 0xb2
xor eax, eax
lea edi, [ebp - 0x444]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x448], 0x10007
cmp eax, esi
jne 0x4502f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x4502c4
call 0x4502af
pop eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x394], ebp
mov dword [ebp - 0x384], esp
jmp 0x45030a
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x448]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x45030a
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, 0xb3
mov esi, eax
lea edi, [ebp - 0x448]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x174]
mov edx, dword [ebp - 0x394]
rep stosd dword es:[edi], eax
mov ecx, 0x42
lea edi, [ebp - 0x17c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x390]
mov eax, 3
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x140], eax
mov eax, dword [0x520068]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], esi
mov eax, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
push esi
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
push edx
push ecx
lea edx, [ebp - 0x448]
push esi
lea ecx, [ebp - 0x17c]
push edx
mov edx, dword [ebx]
push ecx
push edi
push edx
push 0x14c
call dword [eax + 0x28]
test eax, eax
je 0x450730
mov ecx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.004345f0
lea ecx, [ebp - 0x44]
call fcn.004345f0
lea ecx, [ebp - 0x40]
call fcn.004345f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.004345f0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.004345f0
lea ecx, [ebp - 0x24]
call fcn.004345f0
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x16c]
cmp eax, ecx
mov ecx, dword [ebp - 0x178]
jne 0x450432
cmp ecx, dword [ebp - 0x168]
je 0x450730
or eax, ecx
je 0x4505e1
push esi
push 0x420
lea ecx, [ebp - 0x54]
call fcn.00448bf0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004494d0
mov esi, eax
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [esi], 0x20
mov dword [esi + 0x18], 0x400
mov ecx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx]
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
je 0x4504fb
add esi, 0x1c
lea ecx, [ebp - 0x48]
push esi
call fcn.00434ba0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x647]
mov byte [ebp - 0x648], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x10]
push 0x1000
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x648]
push 0x200
push eax
push esi
call dword [edx + 0x2c]
test eax, eax
je 0x4504d3
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00434ba0
mov edx, dword [ebx + 0x10]
push 0
lea eax, [ebp - 0x648]
push 0x200
push eax
push esi
call dword [edx + 0x2c]
test eax, eax
je 0x4504fb
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00434ba0
xor edx, edx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x6c], edx
push ecx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x74], 0x18
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebx]
push edx
push ecx
call dword [eax + 8]
test eax, eax
je 0x45055e
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
push 0x5c
push eax
mov dword [ebp - 0x2c], edx
call fcn.00421660
add esp, 8
test eax, eax
je 0x450552
inc eax
push eax
jmp 0x450556
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00434ba0
push 0
push 0x1000
lea ecx, [ebp - 0x5c]
call fcn.00448bf0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004494d0
mov esi, eax
push esi
mov dword [esi], 0x248
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebx]
push ecx
push eax
call dword [edx + 0x10]
test eax, eax
je 0x4505c7
lea ecx, [esi + 0x24]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00434ba0
mov edx, dword [esi + 8]
add esi, 0x144
mov dword [ebp - 0x20], edx
mov eax, dword [esi - 0x138]
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.00434ba0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00448d10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00448d10
xor esi, esi
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
or ecx, eax
je 0x45070d
mov edx, dword [ebp - 0x48]
cmp dword [edx - 8], esi
jne 0x450604
push str._unknown_function_
lea ecx, [ebp - 0x48]
call fcn.00434ba0
mov eax, dword [ebp - 0x44]
cmp dword [eax - 8], esi
je 0x450618
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00434a80
mov edx, dword [ebp - 0x40]
cmp dword [edx - 8], esi
je 0x45062c
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x48]
push eax
call fcn.00434a80
mov ecx, dword [ebp - 0x28]
cmp dword [ecx - 8], esi
jne 0x450641
push str._unknown_file_
lea ecx, [ebp - 0x28]
call fcn.00434ba0
mov edx, dword [ebp - 0x24]
cmp dword [edx - 8], esi
jne 0x450656
push str._unknown_module_
lea ecx, [ebp - 0x24]
call fcn.00434ba0
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x4506a9
mov eax, dword [0x520068]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x50]
push eax
push ecx
push edx
lea eax, [ebp - 0x10]
push str._p__s:__s___d_:__s
push eax
mov byte [ebp - 4], 3
call fcn.00437890
mov eax, dword [edi + 4]
add esp, 0x1c
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0043f800
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.004348e0
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
je 0x4506bd
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.004fe3ad
mov ecx, dword [ebp + 0x18]
cmp ecx, esi
je 0x4506d1
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x24]
push edx
push eax
call fcn.0043f800
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
je 0x4506e5
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.0043f800
mov ecx, dword [ebp + 0x20]
cmp ecx, esi
je 0x4506f9
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.004fd9db
mov ecx, dword [ebp + 0x24]
cmp ecx, esi
je 0x45070d
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.0043f800
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
or eax, ecx
je 0x45072d
mov eax, dword [ebp - 0x58]
inc eax
cmp eax, 0x64
mov dword [ebp - 0x58], eax
jl 0x450390
mov edi, dword [ebp + 8]
cmp dword [ebp + 0xc], esi
jne 0x450746
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
je 0x450746
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 8
call fcn.004348e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004348e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004348e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004348e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004348e0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.004348e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20