Function at 0x403bd6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [ebp]
mov esi, dword [esp]
mov esi, dword [esp]
mov edx, dword [esp]
mov eax, ecx
mov esi, dword [ebp]
mov di, 0x1a
lea edi, [ebp]
mov eax, dword [ebp]
mov edx, 0x80
mov edx, dword [ebp]
mov dword [ebp - 8], esi
lea ecx, [ebp - 4]
mov ax, 0xa
mov ecx, dword [ebp]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 8]
mov esi, edi
lea edx, [esp]
lea edx, [ebp]
mov eax, dword [ebp - 8]
lea esi, [ebp]
mov si, 4
mov dword [ebp - 4], edi
mov ecx, 0x10
mov edi, dword [ebp]
mov edx, dword [esp]
mov esi, dword [ebp - 0xc]
mov eax, dword [esp]
mov dword [ebp - 8], edi
mov esi, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ax, 0x20
mov ecx, dword [esp]
sub edx, edx
xor dword [ebp - 4], 0xff00ff
mov dx, 0x28
and dword [ebp - 4], 0xff00ff
cmp edx, dword [ebp - 4]
jbe 0x403c86
mov eax, 0x200
xor dword [ebp - 8], 0xff00ff
cmp eax, 0
jbe 0x403c86
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, edx
mov ecx, dword [esp]
mov edi, dword [ebp]
mov edx, dword [ebp]
mov cx, 0x40
mov esi, dword [esp]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea esi, [ebp]
mov ecx, dword [ebp]
mov ecx, dword [esp]
lea edi, [ebp]
lea ecx, [esp]
lea eax, [ebp]
mov edi, dword [esp]
mov edx, esi
mov ecx, dword [ebp]
mov dword [ebp - 4], edi
mov dword [ebp - 4], edi
mov esi, 2
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
lea eax, [esp]
mov edi, 0xc5
mov ecx, 4
mov ecx, dword [ebp]
mov edx, dword [esp]
mov edi, eax
mov ecx, dword [ebp]
mov eax, dword [esp]
mov dword [ebp - 4], edx
lea edx, [ebp]
mov ecx, 0xc8
mov esi, dword [ebp]
mov edx, edi
mov edi, eax
mov edx, dword [ebp - 0xc]
mov esi, edx
mov dword [ebp - 4], edx
lea ecx, [esp]
call fcn.00401480
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp]
lea edi, [ebp - 0xc]
mov ecx, dword [ebp]
mov ecx, dword [ebp]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov edi, eax
mov edi, 4
mov ax, 0x5d
mov esi, 0x4e
mov di, 0xca
mov cx, 0xbe
mov esi, dword [ebp - 8]
lea eax, [ebp]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov esi, 4
mov edi, dword [ebp]
mov esi, dword [esp]
mov dword [ebp - 4], esi
lea edi, [ebp - 4]
mov ax, 0x80
mov ecx, 0x72
mov si, 0x20
lea ecx, [ebp - 0xc]
mov ecx, dword [ebp]
mov ecx, dword [ebp - 8]
lea edi, [ebp]
mov eax, 0x3d
mov ax, 0x3d
mov dword [ebp - 0xc], esi
mov eax, dword [ebp]
lea edx, [ebp - 8]
lea edi, [esp]
mov di, 0x52
mov ecx, dword [esp]
mov edi, esi
lea edx, [ebp]
mov ecx, dword [esp]
mov edi, dword [ebp - 8]
mov eax, 0x300
mov dword [ebp - 0xc], 0x64
xor eax, eax
cmp eax, 0
jbe 0x403dc5
xor edx, edx
mov dword [ebp - 0xc], 0x32
cmp dword [ebp - 0xc], edx
ja 0x403dc5
mov eax, 0x20
sub dword [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
lea edx, [ebp]
mov ecx, dword [esp]
lea esi, [esp]
mov edx, dword [ebp]
lea eax, [ebp]
mov eax, dword [ebp]
mov ecx, dword [esp]
mov ecx, dword [ebp]
mov dword [ebp - 4], ecx
mov esi, dword [esp]
mov di, 4
lea edx, [ebp - 8]
mov esi, dword [esp]
lea edi, [ebp - 8]
mov ax, 0x40
mov esi, dword [ebp]
lea edx, [ebp]
mov edi, dword [esp]
lea ecx, [ebp]
mov dword [ebp - 4], ecx
mov edx, dword [esp]
lea eax, [esp]
mov dx, 0xec
mov eax, dword [esp]
mov eax, 0x5d
mov di, 0x21
lea edi, [ebp - 4]
mov dword [ebp - 4], edi
mov edi, dword [esp]
mov esi, dword [ebp]
mov dx, 0x57
mov si, 0x11
mov edx, ecx
mov dword [ebp - 8], esi
lea eax, [ebp]
mov edi, dword [ebp]
mov esi, edi
mov edi, 0x10
mov edi, esi
mov eax, dword [esp]
mov edi, dword [ebp]
mov eax, esi
lea edi, [esp]
mov edx, 0
xor eax, eax
sub dword [ebp - 8], 0x80
mov eax, 0xb
xor dword [ebp - 8], 0xff
call fcn.00401081
xor eax, eax
xor eax, eax
mov ax, 0x40
and dword [ebp - 0xc], 0xff00ff
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
je 0x403ea8
sub ecx, ecx
xor ecx, ecx
and dword [ebp - 0xc], 0xffff
mov ax, 0x6b
cmp eax, 0xa32
ja 0x403eaf
and dword [ebp - 0xc], 0xffffff
leave
ret