Function at 0x403860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.hello]
mov dword [ebp - 0xc], eax
mov cx, word [0x4052f4]
mov word [ebp - 8], cx
lea edx, [ebp - 0x110]
push edx
push str.cmI
call fcn.00402fe0
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [0x40779c]
mov eax, dword [edx]
mov ecx, dword [0x40779c]
mov edx, dword [eax + 0x54]
call edx
cmp dword [ebp - 0x114], 0
jne 0x4038ca
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 2
push 0
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [0x40779c]
mov edx, dword [ecx]
mov ecx, dword [0x40779c]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [0x40779c]
mov eax, dword [edx]
mov ecx, dword [0x40779c]
mov edx, dword [eax + 0x60]
call edx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [0x40779c]
mov edx, dword [ecx]
mov ecx, dword [0x40779c]
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x403949
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x124]
push eax
push 1
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [0x40779c]
mov eax, dword [edx]
mov ecx, dword [0x40779c]
mov edx, dword [eax + 0x68]
call edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.00403e19
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [0x407654], ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x120]
mov dl, byte [ecx]
mov byte [ebp - 0x119], dl
add dword [ebp - 0x120], 1
cmp byte [ebp - 0x119], 0
jne 0x4039ac
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.004036f0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [0x407654]
push edx
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00403790
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push str.d2I
call fcn.00402fe0
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [0x40779c]
mov eax, dword [edx]
mov ecx, dword [0x40779c]
mov edx, dword [eax + 0x54]
call edx
cmp dword [ebp - 0x118], 0
jne 0x403a5e
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 1
mov edx, dword [0x407654]
push edx
mov eax, dword [0x40779c]
mov edx, dword [eax]
mov ecx, dword [0x40779c]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [0x40779c]
mov eax, dword [edx]
mov ecx, dword [0x40779c]
mov edx, dword [eax + 0x58]
call edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [0x40779c]
mov edx, dword [ecx]
mov ecx, dword [0x40779c]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [0x407654]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403adb
mov esp, ebp
pop ebp
ret