Function at 0x4153ef
Capabilities:
Accept command line arguments
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov al, byte [0x43bbe0]
push ebx
xor ebx, ebx
inc al
push 0xef6fffff
push 0x2d61ffff
mov dword [ebp - 0xc], ebx
mov byte [0x43bbcf], al
call fcn.00411d90
push dword [0x43bc00]
mov byte [0x43bbce], al
movsx eax, byte [0x43bbc8]
push eax
call fcn.00411dc3
add word [0x43bbe0], ax
mov eax, dword [ebp + 8]
add esp, 0x10
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x415447
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
push 0x3a
call fcn.004163e0
pop ecx
call eax
push 0xbc81ffff
push 0x2da9ffff
mov dword [ebp + 8], eax
call fcn.00411e4a
add word [0x43bbde], ax
cmp dword [ebp + 8], 0xffffffff
pop ecx
pop ecx
je 0x41567d
push esi
push dword [0x43bc04]
push 0x62b7ffff
call fcn.00411e04
mov byte [0x43bbca], al
movsx eax, word [0x43bbde]
push eax
push 0xfa2fffff
call fcn.00411d1f
movsx cx, byte [0x43bbc9]
sub ax, cx
add esp, 0x10
mov word [0x43bbde], ax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [0x43bc00]
mov esi, eax
push 0x5619ffff
call fcn.00411d90
add dword [0x43bbe8], eax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
add byte [0x43bbc8], al
cmp dword [ebp - 4], ebx
jne 0x415634
cmp esi, 0x100000
jae 0x415634
push edi
push 0x7ef3ffff
push 0x4a9ffff
call fcn.00411e04
add word [0x43bbd6], ax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
push 0x2bc9ffff
movsx eax, byte [0x43bbce]
push eax
mov dword [ebp - 8], ebx
call fcn.00411d58
add word [0x43bbe4], ax
add esp, 0x14
lea eax, [ebp - 8]
push ebx
push eax
push esi
push edi
push dword [ebp + 8]
push 0x57
call fcn.004163e0
pop ecx
call eax
mov eax, dword [0x43bbe8]
dec word [0x43bbda]
imul eax, eax, 0x8583ffff
cmp dword [ebp - 8], esi
mov dword [0x43bc00], eax
jne 0x4155f4
cmp byte [0x43bbcc], bl
je 0x41558b
cmp byte [0x43bbd1], bl
je 0x41558b
push 1
pop ebx
movsx eax, byte [0x43bbcd]
add dword [0x43bc0c], ebx
push eax
push 0xee67ffff
call fcn.00411d90
push dword [0x43bc08]
add word [0x43bbd6], ax
push 0xc03dffff
call fcn.00411cac
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov dword [0x43bbf0], eax
push esi
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push dword [0x43bbe8]
mov byte [0x43bbc9], 1
push 0xf367ffff
call fcn.00411d90
add word [0x43bbdc], ax
pop ecx
pop ecx
mov dword [ebp - 0xc], 1
movsx eax, byte [0x43bbc8]
push eax
movsx eax, byte [0x43bbd1]
push eax
call fcn.00411c25
add byte [0x43bbc8], al
movsx eax, byte [0x43bbc9]
push eax
movsx eax, word [0x43bbd6]
push eax
call fcn.00411d90
add dword [0x43bbec], eax
push edi
call fcn.0042ff5a
add esp, 0x14
pop edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [0x43bc00]
mov dword [0x43bbf8], eax
push 0x5d1fffff
call fcn.00411d58
pop ecx
mov word [0x43bbe4], ax
pop ecx
push dword [ebp + 8]
push 0x37
call fcn.004163e0
pop ecx
call eax
mov al, byte [0x43bbfc]
pop esi
mov byte [0x43bbc9], al
movsx eax, word [0x43bbd4]
and eax, 0xdfedffff
jmp 0x415682
mov eax, dword [0x43bc0c]
mov cx, word [0x43bbd8]
pop ebx
add word [0x43bbd4], cx
movsx ecx, word [0x43bbd2]
movsx edx, byte [0x43bbca]
imul ecx, edx
movsx edx, byte [0x43bbd0]
add edx, eax
lea eax, [edx + ecx - 0x5e35ffff]
mov dword [0x43bc0c], eax
mov eax, dword [ebp - 0xc]
leave
ret