Function at 0x43b200
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 8], 0x3a
mov dword [ebp - 0x10], 0x53
mov dword [ebp - 0x18], 0x3c
mov dword [ebp - 0x24], 0x48
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x14], 0x21
mov dword [ebp - 0x50], 0x36
mov dword [ebp - 0x20], 0x19
mov dword [ebp - 0x34], 0x3d
mov dword [ebp - 0x28], 0x12
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x3c], 0x45
mov dword [ebp - 0x58], 0x33
mov dword [ebp - 0x44], 0x4a
mov dword [ebp - 0xc], 0x45
mov dword [ebp - 0x38], 0x2d
mov dword [ebp - 0x5c], 0x28
mov dword [ebp - 0x1c], 0x3a
mov dword [ebp - 0x2c], 0x34
mov dword [ebp - 0x4c], 0x55
mov dword [ebp - 4], 0x58
mov dword [ebp - 0x48], 0x4c
mov dword [ebp - 0x60], 0x15
mov dword [ebp - 0x64], 0x57
mov dword [ebp - 0x68], 0xd
mov dword [ebp - 0x40], 5
mov eax, dword [ebp - 8]
xor eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x3c]
and edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x44]
xor ecx, dword [ebp - 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x5c]
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x38]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x48]
and eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x64]
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x40]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x28], 0x78
jge 0x43b4de
cmp dword [ebp - 4], 7
jge 0x43b471
cmp dword [ebp - 0x24], 0x3e
jge 0x43b471
cmp dword [ebp - 0x40], 0x61
jle 0x43b471
cmp dword [ebp - 0x48], 1
jge 0x43b445
push 0x46fb
push 0x99ac
push 0x272d
push 0x14665
push 0xcf8f
push 0x8b91
push 0x15cc6
push 0xe6e8
push 0xef07
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
add esp, 0x24
cmp dword [ebp - 0x2c], 0xc
jge 0x43b445
mov edx, dword [ebp - 0x1c]
add edx, 0x41
mov dword [ebp - 0x1c], edx
push 0x8300
push 0x4310
push 0x8b93
push 0x31fd
push 0x914b
push 0xcb18
push 0x55cd
call dword [sym.imp.KERNEL32.dll_AttachConsole]
add esp, 0x1c
push 0xaa5
push 0x1605b
push 0x6904
push 0x344
push 0xac9d
push 0x16f00
push 0xd956
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
add esp, 0x1c
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp + 8], 0x5a
jle 0x43b4d9
cmp dword [ebp - 0xc], 0x26
jle 0x43b4d9
push 0x9555
push 0x5917
push 0x28a8
call dword [sym.imp.USER32.dll_EnableWindow]
add esp, 0xc
cmp dword [ebp + 8], 0x32
jle 0x43b4d9
mov ecx, dword [ebp - 4]
and ecx, 0x2f
mov dword [ebp - 4], ecx
push 0xe7e9
push 0x61bc
push 0x9cbd
push 0x12c8f
push 0x15a32
push 0x14350
push 0x85a0
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
add esp, 0x1c
jmp 0x43b3a6
call fcn.00427930
cmp dword [ebp - 0xc], 0x3d
jle 0x43b4f2
mov edx, dword [ebp - 0xc]
sub edx, 0x2d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x20]
add eax, 1
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp - 0x10]
xor ecx, 0x2b
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x20], 0x48
jl 0x43b4e3
cmp dword [ebp - 0x14], 0x24
jle 0x43b538
cmp dword [ebp + 8], 0x59
jle 0x43b525
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, dword [ebp + 0x1c]
or edx, 0x43
mov dword [ebp + 0x1c], edx
push 0x9b6a
push 0x1adc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x4d
je 0x43b550
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0xffffff9c
jl 0x43b50a
mov edx, dword [ebp - 8]
sub edx, 0x34
push edx
mov eax, dword [ebp - 0x2c]
sub eax, 0xbb
push eax
mov ecx, dword [ebp + 0x20]
sub ecx, 0xf
push ecx
mov edx, dword [ebp - 0x30]
sub edx, 0xdb
push edx
mov eax, dword [ebp - 0x40]
sub eax, 0xac
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0x63
push ecx
mov edx, dword [ebp + 0x24]
add edx, 0x12
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0xcf
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xdc
push ecx
call fcn.0040ca60
add esp, 0x24
cmp dword [ebp + 8], 0x19
jge 0x43b65f
cmp dword [ebp - 0x18], 0x2d
je 0x43b648
cmp dword [ebp - 0x4c], 4
jne 0x43b648
push 0x10580
push 0x9f8e
push 0x756
push 0xed94
push 0x7b3e
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0x14
cmp dword [ebp - 0x1c], 0x20
jle 0x43b648
cmp dword [ebp - 0x34], 0x33
jge 0x43b61c
cmp dword [ebp + 0xc], 0x3c
jge 0x43b61c
push 0x17488
push 0x1b58
push 0x16408
call dword [sym.imp.USER32.dll_DestroyIcon]
add esp, 0xc
mov edx, dword [ebp - 0x44]
and edx, 0x5a
mov dword [ebp - 0x44], edx
push 0x6b0d
push 0x15ca9
push 0x49cb
push 0x2499
push 0xa56d
push 0x9db2
push 0x9e7e
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x1c
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x3e
mov dword [ebp - 0x34], ecx
jmp 0x43b5a9
mov esp, ebp
pop ebp
ret