Function at 0x1003a6f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1034c205
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x10525930]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
sub esp, 0x20
mov ebx, esp
mov dword [ebp - 0x50], esp
push 0x104c2ef4
push str.1293
push str.__line:
sub esp, 0x20
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.._brom_boot_rom.cpp
call fcn.10003680
lea esi, [ebp - 0x1d4]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [ebp - 0x194]
mov dword [ebp - 4], 0
call fcn.10003680
push esi
push eax
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 1
call fcn.10016ef0
add esp, 0xc
push eax
lea ecx, [ebp - 0x174]
push ecx
mov byte [ebp - 4], 2
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [ebp - 0x1b4]
push edx
mov byte [ebp - 4], 3
call fcn.10016fa0
add esp, 0xc
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.10016fa0
sub esp, 0x14
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.boot_rom::preloader_sla
call fcn.10003680
mov ecx, 1
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.10053f40
mov byte [ebp - 4], 7
cmp dword [ebp - 0x198], 0x10
jb 0x1003a7fe
mov eax, dword [ebp - 0x1ac]
push eax
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], ebx
mov byte [ebp - 0x1ac], bl
call fcn.10001370
mov byte [ebp - 4], 8
cmp dword [ebp - 0x158], 0x10
jb 0x1003a83e
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
call fcn.10001370
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1d8], 0x10
jb 0x1003a877
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1dc], ebx
mov byte [ebp - 0x1ec], bl
call fcn.10001370
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x178], 0x10
jb 0x1003a8b0
mov eax, dword [ebp - 0x18c]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
call fcn.10001370
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b8], 0x10
jb 0x1003a8e9
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1bc], ebx
mov byte [ebp - 0x1cc], bl
call fcn.10001370
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
push eax
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x54], 0xe3
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 1
lea eax, [ebp - 0x54]
push eax
call edx
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push 1
lea edx, [ebp - 0x3d]
push edx
call eax
mov al, byte [ebp - 0x3d]
cmp al, 0x1c
je 0x1003af1a
cmp al, 0xe3
jne 0x1003abdf
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x50], ecx
call fcn.1005c450
mov esi, dword [eax]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov dword [eax], ebx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x1003a990
push eax
call fcn.1029f770
add esp, 4
mov dword [ebp - 0x44], ebx
lea ebx, [ebx]
cmp dword [ebp - 0x4c], ebx
je 0x1003af11
push 0x104c2ef4
push str.1302
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.._brom_boot_rom.cpp
call fcn.10003680
lea esi, [ebp - 0xc4]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xe
call fcn.10003680
push esi
push eax
lea edx, [ebp - 0xe4]
push edx
mov byte [ebp - 4], 0xf
call fcn.10016ef0
add esp, 0xc
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x10
call fcn.10016fa0
add esp, 0xc
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov byte [ebp - 4], 0x11
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0x12
call fcn.10016fa0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.10016de0
add esp, 0xc
mov byte [ebp - 4], 0x14
mov ecx, dword [eax + 4]
add ecx, 4
push str.There_is_no_preloader_chanllenge_handle_functions__target_preloader_is_illegal.
mov ebx, 0x4f
call fcn.10013de0
cmp dword [esi + 0x1c], 0x10
mov ebx, dword [esi + 0x18]
jb 0x1003aa74
mov edx, dword [esi + 8]
jmp 0x1003aa77
lea edx, [esi + 8]
push edx
mov ecx, eax
call fcn.10013de0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.100132f0
mov edi, 0x10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xe8], edi
jb 0x1003aaab
mov eax, dword [ebp - 0xfc]
push eax
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
call fcn.10001370
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x88], edi
jb 0x1003aaea
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.10001370
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x68], edi
jb 0x1003ab1c
mov edx, dword [ebp - 0x7c]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
call fcn.10001370
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xc8], edi
jb 0x1003ab4b
mov eax, dword [ebp - 0xdc]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
call fcn.10001370
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x108], edi
jb 0x1003ab83
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x11c], bl
call fcn.10001370
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xa8], edi
jb 0x1003abbb
mov edx, dword [ebp - 0xbc]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.10001370
xor ebx, ebx
jmp 0x1003a990
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x48], eax
call fcn.1005c450
mov esi, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.10016d30
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov dword [eax], ebx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x1003ac20
push eax
call fcn.1029f770
add esp, 4
mov dword [ebp - 0x4c], ebx
mov edi, edi
cmp dword [ebp - 0x44], ebx
je 0x1003af11
push 0x104c2ef4
push str.1304
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.._brom_boot_rom.cpp
call fcn.10003680
lea esi, [ebp - 0x150]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x16
call fcn.10003680
push esi
push eax
lea edx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 0x17
call fcn.10016ef0
add esp, 0xc
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x18
call fcn.10016fa0
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov byte [ebp - 4], 0x19
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [ebp - 0x124]
push edx
mov byte [ebp - 4], 0x1a
call fcn.10016fa0
add esp, 0xc
mov esi, eax
push str.Target_preloader_response_value_error_:_0x_x
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 0x1b
call fcn.100167c0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x3d]
push edx
mov edi, eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], fcn.100776d0
mov dword [ebp - 0x5c], 0x10040590
call fcn.1001ec90
add esp, 4
lea edx, [ebp - 0xc4]
mov ecx, eax
call fcn.100168d0
mov edi, eax
mov byte [ebp - 4], 0x1d
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.10016de0
add esp, 0xc
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x18]
add ecx, 4
cmp dword [edi + 0x1c], 0x10
jb 0x1003ad42
mov edi, dword [edi + 8]
jmp 0x1003ad45
add edi, 8
push edi
mov ebx, eax
call fcn.10013de0
cmp dword [esi + 0x1c], 0x10
mov ebx, dword [esi + 0x18]
jb 0x1003ad5b
mov edx, dword [esi + 8]
jmp 0x1003ad5e
lea edx, [esi + 8]
push edx
mov ecx, eax
call fcn.10013de0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x1d
call fcn.100132f0
mov edi, 0x10
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0xa8], edi
jb 0x1003ad95
mov eax, dword [ebp - 0xbc]
push eax
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.10001370
lea ecx, [ebp - 0x2ac]
push ecx
mov byte [ebp - 4], 0x1b
call fcn.1000b890
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x108], edi
jb 0x1003ade4
mov edx, dword [ebp - 0x11c]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x11c], bl
call fcn.10001370
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0xc8], edi
jb 0x1003ae1c
mov eax, dword [ebp - 0xdc]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
call fcn.10001370
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x68], edi
jb 0x1003ae4e
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
call fcn.10001370
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x88], edi
jb 0x1003ae7d
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.10001370
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0xe8], edi
jb 0x1003aeb5
mov eax, dword [ebp - 0xfc]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
call fcn.10001370
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x134], edi
jb 0x1003aeed
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], ebx
mov byte [ebp - 0x148], bl
call fcn.10001370
xor ebx, ebx
jmp 0x1003ac20
lea edx, [ebp - 0x3c]
push edx
jmp 0x1003b44d
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push 2
lea edx, [ebp - 0x58]
push edx
call eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp - 0x58], eax
cmp ax, bx
je 0x1003b276
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x44], edx
call fcn.1005c450
mov esi, dword [eax]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10016d30
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov dword [eax], ebx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x1003af85
push eax
call fcn.1029f770
add esp, 4
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x48], ebx
je 0x1003b449
push 0x104c2ef4
push str.1314
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.._brom_boot_rom.cpp
call fcn.10003680
lea esi, [ebp - 0x104]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x20
call fcn.10003680
push esi
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x21
call fcn.10016ef0
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov byte [ebp - 4], 0x22
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [ebp - 0x124]
push edx
mov byte [ebp - 4], 0x23
call fcn.10016fa0
add esp, 0xc
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x24
call fcn.10016fa0
add esp, 0xc
mov esi, eax
push str.Target_preloader_chanllenge_value_error_:_0x_x
lea ecx, [ebp - 0x2ac]
push ecx
mov byte [ebp - 4], 0x25
call fcn.100167c0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x58]
push ecx
mov edi, eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], fcn.100776d0
mov dword [ebp - 0x5c], 0x100405b0
call fcn.1001ec90
add esp, 4
lea edx, [ebp - 0x150]
mov ecx, eax
call fcn.100168d0
mov edi, eax
mov byte [ebp - 4], 0x27
call fcn.1005c450
mov eax, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.10016de0
add esp, 0xc
mov byte [ebp - 4], 0x28
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x18]
add ecx, 4
cmp dword [edi + 0x1c], 0x10
jb 0x1003b0a7
mov edi, dword [edi + 8]
jmp 0x1003b0aa
add edi, 8
push edi
mov ebx, eax
call fcn.10013de0
cmp dword [esi + 0x1c], 0x10
mov ebx, dword [esi + 0x18]
jb 0x1003b0c0
mov edx, dword [esi + 8]
jmp 0x1003b0c3
lea edx, [esi + 8]
push edx
mov ecx, eax
call fcn.10013de0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x27
call fcn.100132f0
mov edi, 0x10
mov byte [ebp - 4], 0x26
cmp dword [ebp - 0x134], edi
jb 0x1003b0fa
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], ebx
mov byte [ebp - 0x148], bl
call fcn.10001370
lea edx, [ebp - 0x2ac]
push edx
mov byte [ebp - 4], 0x25
call fcn.1000b890
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0xa8], edi
jb 0x1003b149
mov eax, dword [ebp - 0xbc]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.10001370
mov byte [ebp - 4], 0x23
cmp dword [ebp - 0x108], edi
jb 0x1003b181
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x11c], bl
call fcn.10001370
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0xc8], edi
jb 0x1003b1b9
mov edx, dword [ebp - 0xdc]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
call fcn.10001370
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x68], edi
jb 0x1003b1eb
mov eax, dword [ebp - 0x7c]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
call fcn.10001370
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x88], edi
jb 0x1003b21a
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.10001370
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0xe8], edi
jb 0x1003b252
mov edx, dword [ebp - 0xfc]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
call fcn.10001370
xor ebx, ebx
jmp 0x1003af85
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.100542c0
xor eax, eax
jmp 0x1003b45e
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.100542c0
mov eax, 0xc0060005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102595a0
mov esp, ebp
pop ebp
ret