Function at 0x4597d8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x459ac5
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x4598a1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x459888
mov byte [ebp - 9], 0
push 1
push 0
lea eax, [ebp - 9]
push eax
push 1
push 1
push 0x3d33
push 0xd44
call fcn.0045069f
add esp, 0x1c
jmp 0x45989c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x45989c
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x459ac3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x459a96
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x45999f
mov dword [ebp - 0x18], 1
jmp 0x4599a3
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
add eax, dword [ecx]
cmp eax, 0xd0d7276c
je 0x4599c2
mov dword [ebp - 0x1c], 1
jmp 0x4599c6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jne 0x4599de
mov dword [ebp - 0x24], 1
jmp 0x4599e2
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
cmp dword [ebp - 0x18], eax
jne 0x4599f8
mov dword [ebp - 0x68], 1
jmp 0x4599fc
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0xfffffffe
jle 0x459a23
mov dword [ebp - 0x20], 1
jmp 0x459a27
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
imul eax, eax, 0xfefb
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
mov ecx, dword [ebp - 8]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x78]
cmp eax, dword [ecx]
jl 0x459a52
mov dword [ebp - 0x80], 1
jmp 0x459a56
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
push 0
mov ecx, dword [ebp - 0x90]
call fcn.00434f4e
mov eax, dword [ebp - 8]
cmp dword [eax], 0x7b36
jg 0x459a85
mov dword [ebp - 0x28], 1
jmp 0x459a89
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x459ac3
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x459ac3
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
jmp 0x459b0f
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
push eax
push 0x760
push 0x450f
push 0x5fef
push 1
push dword [ebp - 0xc8]
call fcn.00448b5e
add esp, 0x1c
mov esp, ebp
pop ebp
ret