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

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
cmp bl, 0xf
ja case.default.0x540d24
movzx eax, bl
jmp dword [eax*4 + 0x614268]
cmp dword [ecx], 6
ja case.default.0x540df3
mov edx, dword [ecx]
jmp dword [edx*4 + 0x6142a8]
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.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x24], ebx
jmp case.default.0x540df3
cmp dword [ecx], 2
mov edx, dword [esp + 0x24]
je 0x540ee0
mov dword [ecx + 0x28], edx
jmp case.default.0x540df3
cmp dword [ecx], 2
mov eax, dword [esp + 0x24]
je 0x540ed0
mov dword [ecx + 0x2c], eax
jmp case.default.0x540df3
cmp dword [ecx], 2
mov ebx, dword [esp + 0x24]
je 0x540ec0
mov dword [ecx + 0x30], ebx
jmp case.default.0x540df3
cmp dword [ecx], 2
mov edx, dword [esp + 0x24]
je 0x540eb0
mov dword [ecx + 0x34], edx
jmp case.default.0x540df3
cmp dword [ecx], 2
mov eax, dword [esp + 0x24]
je 0x540ef0
mov dword [ecx + 0x38], eax
jmp case.default.0x540df3
cmp dword [ecx], 6
ja case.default.0x540df3
mov ebx, dword [ecx]
jmp dword [ebx*4 + 0x6142c4]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x10], edx
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x14], eax
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], eax
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0xc], ebx
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x18], ebx
jmp case.default.0x540df3
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x1c], edx
jmp case.default.0x540df3
mov dword [esp + 8], 0x44
mov dword [esp + 4], str.CPU::Error___ARM9_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], 0x6141ed
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.0x540df3
mov dword [ecx + 0x58], edx
jmp case.default.0x540df3
mov dword [ecx + 0x54], ebx
jmp case.default.0x540df3
mov dword [ecx + 0x50], eax
jmp case.default.0x540df3
mov dword [ecx + 0x4c], edx
jmp case.default.0x540df3
mov dword [ecx + 0x5c], eax
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x40], eax
jmp case.default.0x540df3
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x3c], edx
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x7c], eax
jmp case.default.0x540df3
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x70], edx
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x64], ebx
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x60], eax
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x88], ebx
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x90], ebx
jmp case.default.0x540df3
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x94], edx
jmp case.default.0x540df3
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x84], eax
jmp case.default.0x540df3
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x78], edx
jmp case.default.0x540df3
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x6c], ebx
jmp case.default.0x540df3