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

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
cmp bl, 0xf
ja case.default.0x538534
movzx eax, bl
jmp dword [eax*4 + 0x613778]
cmp dword [ecx], 6
ja case.default.0x538603
mov edx, dword [ecx]
jmp dword [edx*4 + 0x6137b8]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x44], edx
add esp, 0x18
pop ebx
ret 8
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x20], eax
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x24], ebx
jmp case.default.0x538603
cmp dword [ecx], 2
mov edx, dword [esp + 0x24]
je 0x5386f0
mov dword [ecx + 0x28], edx
jmp case.default.0x538603
cmp dword [ecx], 2
mov eax, dword [esp + 0x24]
je 0x5386e0
mov dword [ecx + 0x2c], eax
jmp case.default.0x538603
cmp dword [ecx], 2
mov ebx, dword [esp + 0x24]
je 0x5386d0
mov dword [ecx + 0x30], ebx
jmp case.default.0x538603
cmp dword [ecx], 2
mov edx, dword [esp + 0x24]
je 0x5386c0
mov dword [ecx + 0x34], edx
jmp case.default.0x538603
cmp dword [ecx], 2
mov eax, dword [esp + 0x24]
je 0x538700
mov dword [ecx + 0x38], eax
jmp case.default.0x538603
cmp dword [ecx], 6
ja case.default.0x538603
mov ebx, dword [ecx]
jmp dword [ebx*4 + 0x6137d4]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x10], edx
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x14], eax
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], eax
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0xc], ebx
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x18], ebx
jmp case.default.0x538603
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x1c], edx
jmp case.default.0x538603
mov dword [esp + 8], 0x44
mov dword [esp + 4], str.CPU::Error___ARM7_tried_to_access_invalid_general_purpose_register:
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__int_
movzx ecx, bl
mov dword [esp], ecx
mov ecx, sym.imp.libstdc_6.dll_std::cout
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6136fd
mov dword [esp], eax
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__int_
jmp case.default.0x538603
mov dword [ecx + 0x58], edx
jmp case.default.0x538603
mov dword [ecx + 0x54], ebx
jmp case.default.0x538603
mov dword [ecx + 0x50], eax
jmp case.default.0x538603
mov dword [ecx + 0x4c], edx
jmp case.default.0x538603
mov dword [ecx + 0x5c], eax
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x40], eax
jmp case.default.0x538603
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x3c], edx
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x7c], eax
jmp case.default.0x538603
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x70], edx
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x64], ebx
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x60], eax
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x88], ebx
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x90], ebx
jmp case.default.0x538603
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x94], edx
jmp case.default.0x538603
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x84], eax
jmp case.default.0x538603
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x78], edx
jmp case.default.0x538603
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x6c], ebx
jmp case.default.0x538603