Function at 0x41c640
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4677ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor esi, esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2d0], esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x41c80d
cmp esi, dword [esp + 0x60]
jbe 0x41c6bb
call ebx
cmp dword [esp + 0x64], 0x10
mov edi, dword [esp + 0x50]
jae 0x41c6ca
lea edi, [esp + 0x50]
cmp esi, dword [esp + 0x60]
jbe 0x41c6d2
call ebx
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x41c6e1
lea eax, [esp + 0x50]
movsx eax, byte [eax + esi]
add eax, 0xffffffd0
cmp eax, 0x2a
ja case.0x41c6f1.58
jmp dword [eax*4 + 0x41cdac]
mov byte [edi + esi], 0x46
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x37
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x36
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x35
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x39
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x32
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x41
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x42
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x43
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x38
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x44
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x45
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x33
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x34
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x31
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x30
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x47
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x48
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x49
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4a
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4b
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4c
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4d
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4e
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x4f
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x50
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x51
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x52
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x53
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x54
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x55
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x56
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x57
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x58
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x59
jmp case.0x41c6f1.58
mov byte [edi + esi], 0x5a
lea ecx, [esp + 0x4c]
add esi, 1
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp esi, eax
jb 0x41c6b3
push 0x1ff
lea eax, [esp + 0xc1]
push 0
push eax
mov byte [esp + 0xc8], 0
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], 0x200
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov esi, 0x468d28
lea edi, [eax + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
lea ecx, [esp + 0x4c]
mov ebx, eax
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
lea edx, [esp + 0xd0]
mov dword [ecx + 0xc], edi
call fcn.00433e70
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
push str.OFFLINE
lea ecx, [esp + 0x70]
mov byte [esp + 0x2d8], 1
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x41c8dd
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x115
mov esi, dword [esp + 0x18]
push str.CRegister::GetOfflineSubMethod:__CRT:_d__s_r_n
add esi, 0x408
call fcn.00432380
add esp, 0xc
jmp 0x41ccc1
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
add eax, 8
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2d4], 2
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0x47c1c4
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x41c94d
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x11e
jmp 0x41c8c1
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d0], 4
xor esi, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
jbe 0x41caf1
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x7c]
jbe 0x41c999
call ebx
cmp dword [esp + 0x80], 0x10
mov edi, dword [esp + 0x6c]
jae 0x41c9ab
lea edi, [esp + 0x6c]
cmp esi, dword [esp + 0x7c]
jbe 0x41c9b3
call ebx
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
jae 0x41c9c5
lea eax, [esp + 0x6c]
movsx eax, byte [eax + esi]
add eax, 0xffffffd0
cmp eax, 0x2a
ja case.0x41c9d5.58
jmp dword [eax*4 + 0x41ce58]
mov byte [edi + esi], 0x46
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x37
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x36
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x35
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x39
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x32
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x41
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x42
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x43
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x38
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x44
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x45
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x33
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x34
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x31
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x30
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x47
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x48
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x49
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4a
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4b
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4c
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4d
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4e
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x4f
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x50
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x51
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x52
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x53
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x54
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x55
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x56
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x57
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x58
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x59
jmp case.0x41c9d5.58
mov byte [edi + esi], 0x5a
lea ecx, [esp + 0x68]
add esi, 1
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp esi, eax
jb 0x41c991
mov esi, dword [esp + 0x14]
push esi
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2d4], 5
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
add esi, 1
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x2d4], 6
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0xa
push 0
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR80.dll_strtol]
add esp, 0xc
lea ecx, [esp + 0x84]
mov edi, eax
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
lea ecx, [esp + 0x84]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
xor ecx, ecx
test esi, esi
jbe 0x41cbbf
movzx edx, byte [eax]
add ecx, edx
add eax, 1
sub esi, 1
jne 0x41cbb2
cmp edi, ecx
je 0x41cbef
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, dword [esp + 0x10]
push eax
push 0x130
push str.CRegister::GetOfflineSubMethod:__CRT:_d__s_r_n
add esi, 0x408
call fcn.00432380
add esp, 0xc
jmp 0x41cc97
lea ecx, [esp + 0x1c]
call fcn.00403930
sub esp, 0x1c
mov ebx, 7
mov byte [esp + 0x2ec], bl
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x47c1c4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
lea eax, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
mov byte [esp + 0x30c], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0x308], bl
call fcn.004317f0
add esp, 0x38
lea ecx, [esp + 0x1c]
call fcn.00403980
cmp eax, 5
jae 0x41cd10
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, dword [esp + 0x10]
push eax
push 0x139
push str.CRegister::GetOfflineSubMethod:__CRT:_d__s_r_n
add esi, 0x408
call fcn.00432380
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d0], 4
call fcn.00407a70
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2d0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2d0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x1c]
call fcn.00403980
cmp eax, ebx
jbe 0x41cc86
push 8
lea ecx, [esp + 0x20]
call fcn.00407a90
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x2d0], 4
call fcn.00407a70
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2d0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2d0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
jmp 0x41ccea