Function at 0x4056f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x3c
mov eax, dword [0x432070]
xor eax, esp
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
call fcn.00403770
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, 8
jb 0x405723
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.004045e0
push ebx
push str.HBuilderX.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x405775
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_HBuilderX_faild_:
push 0x432f98
call fcn.004010d0
add esp, 8
mov ecx, eax
call fcn.00401ff0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040824b
add esp, 0x3c
ret 0x10
push str.main
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4057c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_from_HBuilderX_faild_:
push 0x432f98
call fcn.004010d0
add esp, 8
mov ecx, eax
call fcn.00401ff0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040824b
add esp, 0x3c
ret 0x10
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x4057f8
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040824b
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 8]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00407db6
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x4058a5
mov eax, esi
mov dword [esp + 0x18], ebp
sub eax, ebp
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00407db6
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x405840
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
push esi
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call dword [esp + 0x34]
add esp, 8
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x4058e9
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x4058e9
push ecx
call fcn.00407dbf
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x4058d1
push ebp
call fcn.00407dbf
mov ecx, dword [esp + 0x4c]
add esp, 4
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0040824b
add esp, 0x3c
ret 0x10