Function at 0x46f300
Capabilities:
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0x64], 0xfb
mov dword [ebp - 0xc8], 0x38a
mov dword [ebp - 0x80], 0x55
mov dword [ebp - 4], 0x105
mov dword [ebp - 0x48], 0x151
mov dword [ebp - 0x74], 0x105
mov dword [ebp - 0x24], 0x1bc
mov dword [ebp - 0x1c], 0xf7
mov dword [ebp - 0x20], 0xe8
mov dword [ebp - 0x78], 0x296
mov dword [ebp - 0x14], 0x1eb
mov dword [ebp - 0x50], 0x3e8
mov dword [ebp - 0x60], 0xf2
mov dword [ebp - 0xc], 0x3d
mov dword [ebp - 0xb0], 0x15f
mov dword [ebp - 0x9c], 0x105
mov dword [ebp - 0x4c], 0x82
mov dword [ebp - 0x28], 0x1a0
mov dword [ebp - 0x44], 0x13b
mov dword [ebp - 0x18], 0x199
mov dword [ebp - 0x10], 0x379
mov dword [ebp - 8], 0x1f8
mov dword [ebp - 0xa0], 0x35e
mov dword [ebp - 0x2c], 0
jmp 0x46f3c8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x512e0c]
sub ecx, 0x127
cmp dword [ebp - 0x2c], ecx
jge 0x46f3ef
mov edx, dword [ebp - 0x44]
cmp edx, dword [0x512e18]
jge 0x46f3ed
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x46f3bf
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x512e34]
add edx, 0x9d
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x13e
push eax
mov ecx, dword [0x512e40]
sub ecx, 0xad
push ecx
mov edx, dword [ebp - 0x78]
sub edx, 0x194
push edx
mov eax, dword [0x512e08]
sub eax, 0x1f1
push eax
mov ecx, dword [0x512e34]
sub ecx, 0xb6
push ecx
mov edx, dword [0x512e38]
add edx, 0x1ac
push edx
mov eax, dword [ebp - 0x14]
sub eax, 0x123
push eax
call fcn.00419a50
add esp, 0x20
mov dword [ebp - 0x30], 0
jmp 0x46f46d
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [0x512e18]
sub edx, 0x1879c
cmp dword [ebp - 0x30], edx
jge 0x46f493
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x512e38]
sub eax, 1
mov dword [0x512e38], eax
jmp 0x46f464
mov dword [ebp - 0x34], 0
jmp 0x46f4a5
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [0x512e14]
sub edx, 0x27
cmp dword [ebp - 0x34], edx
jge 0x46f4be
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x46f49c
mov ecx, dword [ebp + 8]
and ecx, 0x1fcec
xor ecx, 0x5365e4a1
mov edx, dword [ebp + 0x18]
or edx, 0xcde2
xor edx, 0xc1de
xor edx, 0x5796
xor edx, 0x7ba2
mov dword [edx + str.WpXxgGJNisPkvP], ecx
mov dword [ebp - 0x38], 0
jmp 0x46f500
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x186dd
cmp dword [ebp - 0x38], ecx
jge 0x46f56b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, dword [0x512e3c]
cmp edx, dword [ebp - 0x14]
jge 0x46f528
mov dword [ebp - 0x68], 1
jmp 0x46f52f
mov dword [ebp - 0x68], 0
mov eax, dword [0x512e10]
cmp eax, dword [0x512e30]
jge 0x46f545
mov dword [ebp - 0x6c], 1
jmp 0x46f54c
mov dword [ebp - 0x6c], 0
mov ecx, dword [0x512e34]
and ecx, dword [ebp - 0x68]
or ecx, dword [ebp - 0x6c]
je 0x46f569
mov edx, dword [0x512e40]
sub edx, 1
mov dword [0x512e40], edx
jmp 0x46f4f7
mov eax, dword [ebp + 0x1c]
or eax, 0xfa15
xor eax, 0xfee3
mov ecx, 0xeb70
sub ecx, dword [ebp + 8]
xor ecx, 0x61a5
mov byte [ecx + str.WpXxgGJNisPkvP], al
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [0x512e3c]
cmp eax, dword [ebp - 0x48]
jge 0x46f5a8
mov dword [ebp - 0x70], 1
jmp 0x46f5af
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x28]
or ecx, dword [ebp - 0x70]
je 0x46f5cb
mov edx, dword [0x512e0c]
cmp edx, dword [ebp - 0x14]
jge 0x46f5cb
mov eax, dword [ebp - 0x50]
sub eax, 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
jmp 0x46f5dd
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xb0]
sub edx, 0x187ff
cmp dword [ebp - 0x3c], edx
jge 0x46f603
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov eax, dword [0x512e0c]
sub eax, 1
mov dword [0x512e0c], eax
jmp 0x46f5d4
mov ecx, dword [ebp - 8]
sub ecx, 0x76
push ecx
mov edx, dword [0x512e28]
add edx, 0x1b9
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x41
push eax
mov ecx, dword [0x512e08]
sub ecx, 0x2dd
push ecx
mov edx, dword [0x512e14]
add edx, 0x2a3
push edx
mov eax, dword [0x512e20]
add eax, 0x3a
push eax
call fcn.004195f0
add esp, 0x18
mov ecx, dword [ebp - 0x80]
add ecx, 0x23d
push ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x1c
push edx
mov eax, dword [0x512e18]
add eax, 0x204
push eax
mov ecx, dword [0x512e28]
add ecx, 0xbf
push ecx
mov edx, dword [0x512e30]
sub edx, 0xb0
push edx
mov eax, dword [ebp - 0x74]
add eax, 0x2cf
push eax
mov ecx, dword [0x512e2c]
add ecx, 0x250
push ecx
mov edx, dword [0x512e30]
add edx, 0xed
push edx
mov eax, dword [ebp - 0x74]
sub eax, 0x13
push eax
call fcn.00414460
add esp, 0x24
mov ecx, dword [ebp - 8]
add ecx, 0x16
push ecx
mov edx, dword [ebp - 0x78]
sub edx, 0x230
push edx
mov eax, dword [0x512e18]
add eax, 0x137
push eax
call fcn.00409b30
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, 0x10647
xor ecx, 0x467534e0
mov edx, dword [ebp + 0x1c]
or edx, 0x6002
xor edx, 0x64cb
mov dword [edx + str.WpXxgGJNisPkvP], ecx
mov dword [ebp - 0x40], 0
jmp 0x46f70b
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x187a4
cmp dword [ebp - 0x40], ecx
jge 0x46f777
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [0x512e0c]
add edx, 1
mov dword [0x512e0c], edx
mov eax, dword [0x512e10]
cmp eax, dword [0x512e0c]
jge 0x46f744
mov dword [ebp - 0x7c], 1
jmp 0x46f74b
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x60]
or ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xbc], 0
je 0x46f775
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x46f702
mov ecx, dword [ebp + 0x1c]
xor ecx, 0xff90
sub ecx, 0xe97f
xor ecx, 0xffffb1b9
mov edx, dword [ebp + 8]
xor edx, 0x134a
xor edx, 0x9a88
mov byte [edx + str.WpXxgGJNisPkvP], cl
mov eax, dword [ebp - 0x10]
add eax, 0x69
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x1e0
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x59
push edx
mov eax, dword [0x512e3c]
add eax, 0xfc
push eax
mov ecx, dword [0x512e40]
add ecx, 0x63
push ecx
mov edx, dword [ebp - 0x4c]
add edx, 0x130
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x108
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x76
push ecx
mov edx, dword [ebp - 8]
add edx, 0x13e
push edx
mov eax, dword [ebp - 0x64]
add eax, 0xb5
push eax
call fcn.0040f390
add esp, 0x28
mov ecx, dword [ebp - 0x44]
imul ecx, dword [0x512e40]
cmp ecx, dword [ebp - 4]
jge 0x46f81e
mov dword [ebp - 0x84], 1
jmp 0x46f828
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x48]
jge 0x46f83c
mov dword [ebp - 0x88], 1
jmp 0x46f846
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x80]
and eax, dword [ebp - 0x84]
and eax, dword [ebp - 0x60]
and eax, dword [ebp - 0x88]
xor eax, dword [ebp - 0xc]
je 0x46f8f2
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0xc4]
jge 0x46f899
mov dword [ebp - 0x8c], 1
jmp 0x46f8a3
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x48]
xor edx, dword [ebp - 0xc]
or edx, dword [ebp - 0x8c]
je 0x46f8f2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x512e34]
jge 0x46f8d1
mov dword [ebp - 0x90], 1
jmp 0x46f8db
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 8]
and edx, dword [ebp - 0x90]
je 0x46f8f2
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, 0x2a7c
sub ecx, dword [ebp + 0x18]
xor ecx, 0x64c8
xor ecx, 0xffffedf8
mov edx, dword [ebp + 0x20]
or edx, 0x5df0
xor edx, 0xfffa
mov byte [edx + str.WpXxgGJNisPkvP], cl
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
cmp eax, dword [0x512e14]
jge 0x46f935
mov dword [ebp - 0x94], 1
jmp 0x46f93f
mov dword [ebp - 0x94], 0
mov ecx, dword [0x512e28]
cmp ecx, dword [0x512e30]
jge 0x46f959
mov dword [ebp - 0x98], 1
jmp 0x46f963
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0xa0]
or edx, dword [ebp - 8]
mov eax, dword [ebp - 0x94]
and eax, dword [ebp - 0x98]
or edx, eax
je 0x46f98b
mov ecx, dword [0x512e20]
sub ecx, 1
mov dword [0x512e20], ecx
mov edx, dword [ebp + 0x14]
xor edx, 0xffff004d
xor edx, 0xffff8a57
mov eax, dword [ebp + 0x18]
and eax, 0x9cfd
and eax, 0x96ae
xor eax, 0x8000
mov byte [eax + str.WpXxgGJNisPkvP], dl
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x54], 0
jmp 0x46f9cd
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x50]
sub eax, 0x18a87
cmp dword [ebp - 0x54], eax
jge 0x46f9f1
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [0x512e14]
add ecx, 1
mov dword [0x512e14], ecx
jmp 0x46f9c4
mov edx, 0xffffde35
sub edx, dword [ebp + 0xc]
xor edx, 0xffff92af
mov eax, 0x4b3
sub eax, dword [ebp + 0x20]
xor eax, 0xffff4e3b
mov byte [eax + str.WpXxgGJNisPkvP], dl
mov dword [ebp - 0x58], 0
jmp 0x46fa24
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
mov edx, dword [0x512e24]
sub edx, 0x18951
cmp dword [ebp - 0x58], edx
jge 0x46fa46
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
jmp 0x46fa1b
mov dword [ebp - 0x5c], 0
jmp 0x46fa58
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x37a
cmp dword [ebp - 0x5c], edx
jge 0x46fa77
mov eax, dword [ebp - 0x9c]
sub eax, 1
mov dword [ebp - 0x9c], eax
jmp 0x46fa4f
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x14]
jge 0x46fa8e
mov dword [ebp - 0xac], 1
jmp 0x46fa98
mov dword [ebp - 0xac], 0
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x1c]
cmp edx, dword [0x512e20]
jge 0x46fab2
mov dword [ebp - 0xa4], 1
jmp 0x46fabc
mov dword [ebp - 0xa4], 0
mov eax, dword [0x512e18]
cmp eax, dword [ebp - 0x18]
jge 0x46fad2
mov dword [ebp - 0xa8], 1
jmp 0x46fadc
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xa4]
and ecx, dword [ebp - 0xa8]
or ecx, dword [ebp - 0xac]
je 0x46faf9
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, 0xba
push eax
mov ecx, dword [0x512e08]
add ecx, 0x4a
push ecx
call fcn.0041e580
add esp, 8
mov edx, dword [ebp - 0x64]
add edx, 0x2db
push edx
mov eax, dword [ebp - 0xb0]
add eax, 0xdf
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c5
push ecx
call fcn.00411150
add esp, 0xc
mov edx, dword [ebp + 0x18]
and edx, 0x7730
xor edx, 0xf883
xor edx, 0xd9ea
mov eax, 0x20a0
sub eax, dword [ebp + 0x18]
xor eax, 0xffff7f5c
mov byte [eax + str.WpXxgGJNisPkvP], dl
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jge 0x46fbc9
mov edx, dword [ebp - 0x1c]
cmp edx, dword [0x512e38]
jge 0x46fb83
mov dword [ebp - 0xb4], 1
jmp 0x46fb8d
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
cmp eax, dword [0x512e14]
jge 0x46fba8
mov dword [ebp - 0xb8], 1
jmp 0x46fbb2
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xb4]
or ecx, dword [ebp - 0xb8]
je 0x46fbc9
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
mov eax, str.WpXxgGJNisPkvP
jmp 0x46fbd9
mov esp, ebp
pop ebp
ret