Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x12c
push 0
push 0x413454
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x413458], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x413454], eax
call section..text
mov eax, str._a
mov dword [0x413488], eax
call fcn.0040efc0
call fcn.0040edac
call fcn.0040d2b3
call fcn.0040cde3
call fcn.0040c790
call fcn.0040c41b
call fcn.0040c160
call fcn.0040c142
call fcn.0040c0b9
call fcn.0040b821
call fcn.0040a850
call fcn.00409a61
call fcn.00409726
call fcn.004093b7
call fcn.00408421
call fcn.00408099
push dword [0x41356c]
call fcn.00409745
push 7
push 0x412064
lea eax, [0x41356c]
push eax
push 8
call fcn.00409694
push 0x413564
push 0x412074
push 7
push 0x401
push 8
call fcn.0040ecad
mov eax, 0x200
push eax
lea eax, [0x41357c]
push eax
xor eax, eax
push eax
push 0x15
push 4
call fcn.0040d2d2
push dword [0x413574]
call fcn.00409745
push 7
push 0x41206c
lea eax, [0x413574]
push eax
push 8
call fcn.00409694
mov edx, 0x412021
lea ecx, [0x413510]
call fcn.00405068
mov ebp, str._a
mov ebx, ebp
mov ebp, 0x412129
sub ebx, ebp
mov dword [0x413500], ebx
mov ebp, 0x412129
mov dword [0x413504], ebp
push dword [0x413500]
call fcn.0040c1d0
mov dword [0x4134d4], eax
mov dword [0x413494], 0
mov eax, dword [0x413500]
cmp eax, dword [0x413494]
jl 0x4011b1
mov ebx, dword [0x413504]
add ebx, dword [0x413494]
mov eax, ebx
call fcn.0040c1f0
mov ebx, eax
imul ebx, ebx, 0xffffffff
push ebx
mov ebx, dword [0x4134d4]
add ebx, dword [0x413494]
mov eax, ebx
call fcn.0040c200
inc dword [0x413494]
jno 0x401170
mov edx, dword [0x413a50]
push edx
push edx
mov ebx, dword [0x413500]
add ebx, 0xfffffff8
push ebx
mov ebx, dword [0x4134d4]
add ebx, 4
push ebx
call fcn.0040c210
push 0x41347c
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push dword [0x41347c]
call fcn.004050d0
push 0x41347c
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 1
push dword [0x41347c]
call fcn.004051b0
push 0x4134b4
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 2
push dword [0x41347c]
call fcn.004051b0
push 0x413508
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 3
push dword [0x41347c]
call fcn.004051b0
push 0x4134ac
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 4
push dword [0x41347c]
call fcn.004051b0
push 0x413560
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 5
push dword [0x41347c]
call fcn.004051b0
push 0x4134b8
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 6
push dword [0x41347c]
call fcn.004051b0
push 0x413528
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 7
push dword [0x41347c]
call fcn.004051b0
push 0x413480
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 8
push dword [0x41347c]
call fcn.004051b0
push 0x4134c4
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 9
push dword [0x41347c]
call fcn.004051b0
push 0x41354c
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xa
push dword [0x41347c]
call fcn.004051b0
push 0x41348c
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xb
push dword [0x41347c]
call fcn.004051b0
push 0x413558
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xc
push dword [0x41347c]
call fcn.004051b0
push 0x413518
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xd
push dword [0x41347c]
call fcn.004051b0
push 0x4134c8
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xe
push dword [0x41347c]
call fcn.004051b0
push 0x4134f8
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0xf
push dword [0x41347c]
call fcn.004051b0
push 0x41346c
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x10
push dword [0x41347c]
call fcn.004051b0
push 0x413548
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x11
push dword [0x41347c]
call fcn.004051b0
push 0x413490
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x12
push dword [0x41347c]
call fcn.004051b0
push 0x4134f0
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x13
push dword [0x41347c]
call fcn.004051b0
push 0x413520
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x14
push dword [0x41347c]
call fcn.004051b0
push 0x4134ec
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x15
push dword [0x41347c]
call fcn.004051b0
push 0x413530
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x16
push dword [0x41347c]
call fcn.004051b0
push 0x413514
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x17
push dword [0x41347c]
call fcn.004051b0
push 0x413538
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x18
push dword [0x41347c]
call fcn.004051b0
push 0x4134bc
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x19
push dword [0x41347c]
call fcn.004051b0
push 0x4134c0
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x1a
push dword [0x41347c]
call fcn.004051b0
push 0x413534
call fcn.0040f040
mov edx, dword [0x413a50]
push edx
push edx
push dword [0x413510]
push 0x1b
push dword [0x41347c]
call fcn.004051b0
push 0x4134e8
call fcn.0040f040
call fcn.0040a60f
mov ebx, eax
cmp ebx, 0x3c
jge 0x40165e
push 0x10
push dword [0x413530]
push dword [0x413548]
call fcn.004080d0
jmp 0x4017a6
mov eax, str._a
mov dword [0x413488], eax
mov eax, dword [0x413488]
mov eax, dword [eax]
mov dword [0x413494], eax
add dword [0x413488], 4
mov eax, dword [0x413488]
mov eax, dword [eax]
mov dword [0x413498], eax
add dword [0x413488], 4
mov eax, dword [0x413488]
mov eax, dword [eax]
mov dword [0x41349c], eax
add dword [0x413488], 4
mov eax, dword [0x413488]
mov eax, dword [eax]
mov dword [0x4134a0], eax
add dword [0x413488], 4
mov eax, dword [0x413488]
mov eax, dword [eax]
mov dword [0x4134a4], eax
add dword [0x413488], 4
push 0x14
call fcn.0040c1d0
mov dword [0x4134a8], eax
push dword [0x413494]
mov eax, dword [0x4134a8]
call fcn.0040c270
push dword [0x413498]
mov ebx, dword [0x4134a8]
add ebx, 4
mov eax, ebx
call fcn.0040c270
push dword [0x41349c]
mov ebx, dword [0x4134a8]
add ebx, 8
mov eax, ebx
call fcn.0040c270
push dword [0x4134a0]
mov ebx, dword [0x4134a8]
add ebx, 0xc
mov eax, ebx
call fcn.0040c270
push dword [0x4134a4]
mov ebx, dword [0x4134a8]
add ebx, 0x10
mov eax, ebx
call fcn.0040c270
mov edx, dword [0x413a50]
push edx
push edx
push 0x14
push dword [0x4134a8]
call fcn.0040d890
push 0x41355c
call fcn.0040f040
call fcn.00408ad6
mov edx, 0x412025
lea ecx, [0x413524]
call fcn.00405068
mov edx, str..bat
lea ecx, [0x41351c]
call fcn.00405068
mov edx, str..exe
lea ecx, [0x4134dc]
call fcn.00405068
lea eax, [0x4029ba]
push eax
call fcn.004094b0
call fcn.00404225
push 0
call 0x4017c5
call fcn.0040f010
push dword [0x413454]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.004093cb
call fcn.00409600
call fcn.00409ad1
call fcn.0040a839
call fcn.0040b8af
call fcn.0040c0ad
call fcn.0040c427
call fcn.0040c780
call fcn.0040d190
call fcn.0040c180
ret