Function at 0x403b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x44f744]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
call fcn.00401e90
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
cmp word [esi], ax
jne 0x403bac
xor ecx, ecx
jmp 0x403bc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403bb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x8c]
call fcn.0040c090
cmp dword [esp + 0x98], 8
lea ecx, [esp + 0x84]
mov eax, dword [esp + 0x94]
lea esi, [esp + 0x84]
cmovae ecx, dword [esp + 0x84]
cmovae esi, dword [esp + 0x84]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
lea edi, [ecx + eax*2]
mov byte [esp + 0x3c], 0
cmp esi, edi
je 0x403e02
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [esi]
mov byte [esp + 0xf], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x4040bd
lea ebx, [ecx + 1]
cmp ebx, 0xfffffffe
ja 0x4040bd
mov edx, dword [esp + 0x50]
cmp edx, ebx
jae 0x403d65
push ecx
push ebx
lea ecx, [esp + 0x44]
call fcn.0040d460
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
test ebx, ebx
je 0x403c90
cmp edx, 0x10
lea eax, [esp + 0x3c]
mov dl, byte [esp + 0xf]
cmovae eax, dword [esp + 0x3c]
mov byte [eax + ecx], dl
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x4c], ebx
cmovae eax, dword [esp + 0x3c]
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x4c]
add esi, 2
cmp esi, edi
jne 0x403c20
test ecx, ecx
je 0x403dfe
push 0x4553d0
call fcn.0040ece9
add esp, 4
test eax, eax
je 0x403cb9
push eax
call fcn.0040ed7e
add esp, 4
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x5a]
cmp dword [0x455324], eax
je 0x403ce9
push 0xffffffffffffffff
mov dword [0x455324], eax
call fcn.004100bc
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00401a30
lea edx, [esp + 0x54]
call fcn.00401780
mov edx, str.cmdline
mov ecx, 0x455328
call fcn.00408670
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.00408a20
push eax
call fcn.00408c80
add esp, 4
push 0x4553d0
call fcn.0040ed12
add esp, 4
test eax, eax
je 0x403d2f
push eax
call fcn.0040ed7e
add esp, 4
cmp dword [esp + 0x50], 0x10
lea esi, [esp + 0x3c]
cmovae esi, dword [esp + 0x3c]
call fcn.0041067e
push 0xa
mov dword [eax], 0
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00410980
add esp, 0xc
mov edi, eax
cmp esi, dword [esp + 0x10]
jne 0x403d84
jmp 0x4040a9
test ebx, ebx
jne 0x403c63
cmp edx, 0x10
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
mov byte [eax], bl
jmp 0x403c8c
call fcn.0041067e
cmp dword [eax], 0x22
je 0x4040b3
lea ecx, [esp + 0x54]
call fcn.0040f012
lea eax, [esp + 0x14]
mov dword [esp + 0x54], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__unsigned_long_int___unsigned_long_int__.0
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0x403570
mov dword [esp + 0x6c], edi
call fcn.0040f10a
lea ecx, [esp + 0x54]
call fcn.0040f083
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x403ddc
push 1
call fcn.0040edab
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
push dword [esp + 0x18]
call fcn.0040ee83
add esp, 8
test eax, eax
je 0x403df6
push eax
call fcn.0040ed7e
add esp, 4
mov ebx, dword [esp + 0x1c]
xor edi, edi
jmp 0x403e06
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
push 0x4553d0
call fcn.0040ece9
add esp, 4
test eax, eax
je 0x403e20
push eax
call fcn.0040ed7e
add esp, 4
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x5a]
cmp dword [0x455324], eax
je 0x403e50
push 0xffffffffffffffff
mov dword [0x455324], eax
call fcn.004100bc
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00401a30
lea edx, [esp + 0x54]
call fcn.00401780
mov edx, str.nCmdShow
mov ecx, 0x455328
call fcn.00408670
push edi
mov ecx, eax
call fcn.00404570
push eax
call fcn.00408c80
add esp, 4
push 0x4553d0
call fcn.0040ed12
add esp, 4
test eax, eax
je 0x403e93
push eax
call fcn.0040ed7e
add esp, 4
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x455400
push 0x67
push ebx
call esi
push 0x64
push 0x4554c8
push 0x6d
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
mov dword [esp + 0x5c], 0x30
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], 0x4040d0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], ebx
call esi
push 0x7f00
push 0
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [esp + 0x6c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 6
mov dword [esp + 0x80], 0x6d
mov dword [esp + 0x84], 0x4554c8
call esi
mov dword [esp + 0x80], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0x50
push 0x64
push 0
push 0x80000000
push 0xcf0000
push 0x455400
push 0x4554c8
push 0
mov dword [0x4553d8], ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x40404d
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
lea ecx, [esp + 0x54]
mov dword [esp + 0x10], eax
call fcn.0040f012
lea eax, [esp + 0x14]
mov dword [esp + 0x54], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__struct_HWND______struct_HWND_____.0
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0x403910
mov dword [esp + 0x6c], esi
call fcn.0040f10a
lea ecx, [esp + 0x54]
call fcn.0040f083
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x403fd4
push 1
call fcn.0040edab
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
push dword [esp + 0x18]
call fcn.0040ee83
add esp, 8
test eax, eax
je 0x403fee
push eax
call fcn.0040ed7e
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x20]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x404047
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x404036
lea eax, [esp + 0x20]
push eax
call edi
lea eax, [esp + 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
jne 0x404011
mov esi, dword [esp + 0x28]
jmp 0x40404f
xor esi, esi
cmp dword [esp + 0x50], 0x10
jb 0x404062
push dword [esp + 0x3c]
call fcn.0040f65a
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x404090
push dword [esp + 0x84]
call fcn.0040f65a
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f64b
mov esp, ebp
pop ebp
ret 0x10
push str.invalid_stoul_argument
call fcn.0040e36e
push str.stoul_argument_out_of_range
call fcn.0040e3ca
push str.string_too_long
call fcn.0040e39c
int3