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

Disassembly:
push 0xffffffffffffffff
push 0x10362248
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push edx
xor ebx, ebx
mov byte [esp + 0x27], bl
mov byte [esp + 0x20], 0xda
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 1
lea edx, [esp + 0x24]
push edx
call eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push 1
lea eax, [esp + 0x2b]
push eax
call edx
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 3
mov dword [esp + 0x18], 3
call edi
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 4
lea edx, [esp + 0x1c]
push edx
call eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push 4
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call ebp
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
call edx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push 4
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [esp + 0x18]
push ecx
call ebp
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
call edi
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [esi + 0x10]
mov edx, dword [edx + 4]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
call edx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push 4
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push 2
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
push eax
call edi
movzx eax, ax
mov ecx, 0x1000
mov dword [esp + 0x34], eax
cmp ax, cx
jb 0x10048528
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 4
mov dword [esp + 0x2c], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], ebx
mov dword [esp + 0x124], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x10048128
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100489b2
mov ebp, 0xf
lea esp, [esp]
push 0x10420184
push 0x10427f18
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x74], esp
push str.._brom_boot_rom_meta.cpp
call fcn.10003660
lea esi, [esp + 0x118]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0xdc]
mov byte [esp + 0x134], 1
call fcn.10003660
push esi
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x13c], 2
call fcn.10015a90
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x138], 3
call fcn.10015b40
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x134], 4
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x130], 5
call fcn.10015b40
add esp, 0xc
mov edi, eax
mov byte [esp + 0x124], 6
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x114]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x124], 7
mov esi, dword [eax + 4]
push 0x1d
add esi, 4
push str.error_at_brom_register_access
mov ecx, esi
call fcn.10013f30
cmp dword [edi + 0x1c], 0x10
mov eax, dword [edi + 0x18]
jb 0x1004823c
mov edi, dword [edi + 8]
jmp 0x1004823f
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x10c]
mov byte [esp + 0x124], 6
call fcn.10012b30
mov byte [esp + 0x124], 5
cmp dword [esp + 0x68], 0x10
jb 0x10048278
mov eax, dword [esp + 0x54]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.1024b380
mov eax, dword [esp + 0x4c]
cmp eax, 0xfffffffd
je 0x100482b5
cmp eax, ebx
je 0x100482b1
lea esp, [esp]
mov dword [eax], ebx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
cmp eax, ebx
jne 0x100482a0
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x2c]
call fcn.1024b3c0
mov esi, 0x10
mov byte [esp + 0x124], 4
cmp dword [esp + 0xc8], esi
jb 0x100482e4
mov edx, dword [esp + 0xb4]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.1024b380
mov eax, dword [esp + 0xac]
cmp eax, 0xfffffffd
je 0x10048332
cmp eax, ebx
je 0x1004832b
mov dword [eax], ebx
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
cmp eax, ebx
jne 0x10048314
mov dword [esp + 0xac], ebx
lea ecx, [esp + 0x30]
call fcn.1024b3c0
mov byte [esp + 0x124], 3
cmp dword [esp + 0x88], esi
jb 0x10048359
mov ecx, dword [esp + 0x74]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.1024b380
mov eax, dword [esp + 0x6c]
cmp eax, 0xfffffffd
je 0x10048398
cmp eax, ebx
je 0x10048394
mov dword [eax], ebx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jne 0x10048383
mov dword [esp + 0x6c], ebx
lea ecx, [esp + 0x3c]
call fcn.1024b3c0
mov byte [esp + 0x124], 2
cmp dword [esp + 0xa8], esi
jb 0x100483c2
mov eax, dword [esp + 0x94]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x3c]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.1024b380
mov eax, dword [esp + 0x8c]
cmp eax, 0xfffffffd
je 0x10048410
cmp eax, ebx
je 0x10048409
mov dword [eax], ebx
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
cmp eax, ebx
jne 0x100483f2
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x38]
call fcn.1024b3c0
mov byte [esp + 0x124], 1
cmp dword [esp + 0xe8], esi
jb 0x1004843a
mov edx, dword [esp + 0xd4]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x28]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.1024b380
mov eax, dword [esp + 0xcc]
cmp eax, 0xfffffffd
je 0x1004848e
cmp eax, ebx
je 0x10048487
lea ebx, [ebx]
mov dword [eax], ebx
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 4]
mov dword [esp + 0xcc], eax
cmp eax, ebx
jne 0x10048470
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x24]
call fcn.1024b3c0
mov byte [esp + 0x124], bl
cmp dword [esp + 0x108], esi
jb 0x100484b7
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.1024b380
mov eax, dword [esp + 0xec]
cmp eax, 0xfffffffd
je 0x1004850e
cmp eax, ebx
je 0x10048507
jmp 0x100484f0
mov dword [eax], ebx
mov edx, dword [esp + 0xec]
mov eax, dword [edx + 4]
mov dword [esp + 0xec], eax
cmp eax, ebx
jne 0x100484f0
mov dword [esp + 0xec], ebx
lea ecx, [esp + 0x40]
call fcn.1024b3c0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10048140
jmp 0x100489b0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x130]
push 1
push edx
call eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push 2
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [esp + 0x34]
push eax
call edi
movzx eax, ax
mov ecx, 0x1000
mov dword [esp + 0x34], eax
cmp ax, cx
jb 0x100489cd
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 4
mov dword [esp + 0x24], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
mov dword [esp + 0x124], 8
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x100485c0
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100489b2
mov ebp, 0xf
push 0x10420184
push 0x10427f58
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._brom_boot_rom_meta.cpp
call fcn.10003660
lea esi, [esp + 0x78]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0xbc]
mov byte [esp + 0x134], 9
call fcn.10003660
push esi
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x13c], 0xa
call fcn.10015a90
add esp, 0xc
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x138], 0xb
call fcn.10015b40
add esp, 0xc
push eax
lea ecx, [esp + 0xd8]
push ecx
mov byte [esp + 0x134], 0xc
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x130], 0xd
call fcn.10015b40
add esp, 0xc
mov edi, eax
mov byte [esp + 0x124], 0xe
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x114]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x124], 0xf
mov esi, dword [eax + 4]
push 0x1d
add esi, 4
push str.error_at_brom_register_access
mov ecx, esi
call fcn.10013f30
cmp dword [edi + 0x1c], 0x10
mov eax, dword [edi + 0x18]
jb 0x100486d0
mov edi, dword [edi + 8]
jmp 0x100486d3
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x10c]
mov byte [esp + 0x124], 0xe
call fcn.10012b30
mov byte [esp + 0x124], 0xd
cmp dword [esp + 0x108], 0x10
jb 0x10048712
mov eax, dword [esp + 0xf4]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x28]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.1024b380
mov eax, dword [esp + 0xec]
cmp eax, 0xfffffffd
je 0x10048760
cmp eax, ebx
je 0x10048759
mov dword [eax], ebx
mov ecx, dword [esp + 0xec]
mov eax, dword [ecx + 4]
mov dword [esp + 0xec], eax
cmp eax, ebx
jne 0x10048742
mov dword [esp + 0xec], ebx
lea ecx, [esp + 0x24]
call fcn.1024b3c0
mov esi, 0x10
mov byte [esp + 0x124], 0xc
cmp dword [esp + 0xe8], esi
jb 0x1004878f
mov edx, dword [esp + 0xd4]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x3c]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.1024b380
mov eax, dword [esp + 0xcc]
cmp eax, 0xfffffffd
je 0x100487de
cmp eax, ebx
je 0x100487d7
nop
mov dword [eax], ebx
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 4]
mov dword [esp + 0xcc], eax
cmp eax, ebx
jne 0x100487c0
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x38]
call fcn.1024b3c0
mov byte [esp + 0x124], 0xb
cmp dword [esp + 0xa8], esi
jb 0x10048808
mov ecx, dword [esp + 0x94]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.1024b380
mov eax, dword [esp + 0x8c]
cmp eax, 0xfffffffd
je 0x1004885e
cmp eax, ebx
je 0x10048857
jmp 0x10048840
mov dword [eax], ebx
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], eax
cmp eax, ebx
jne 0x10048840
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x3c]
call fcn.1024b3c0
mov byte [esp + 0x124], 0xa
cmp dword [esp + 0x88], esi
jb 0x10048885
mov eax, dword [esp + 0x74]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.1024b380
mov eax, dword [esp + 0x6c]
cmp eax, 0xfffffffd
je 0x100488c5
cmp eax, ebx
je 0x100488c1
nop
mov dword [eax], ebx
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jne 0x100488b0
mov dword [esp + 0x6c], ebx
lea ecx, [esp + 0x2c]
call fcn.1024b3c0
mov byte [esp + 0x124], 9
cmp dword [esp + 0xc8], esi
jb 0x100488ef
mov edx, dword [esp + 0xb4]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.1024b380
mov eax, dword [esp + 0xac]
cmp eax, 0xfffffffd
je 0x1004893e
cmp eax, ebx
je 0x10048937
nop
mov dword [eax], ebx
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
cmp eax, ebx
jne 0x10048920
mov dword [esp + 0xac], ebx
lea ecx, [esp + 0x44]
call fcn.1024b3c0
mov byte [esp + 0x124], 8
cmp dword [esp + 0x68], esi
jb 0x10048962
mov ecx, dword [esp + 0x54]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.1024b380
mov eax, dword [esp + 0x4c]
cmp eax, 0xfffffffd
je 0x1004899b
cmp eax, ebx
je 0x10048997
mov dword [eax], ebx
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
cmp eax, ebx
jne 0x10048986
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x48]
call fcn.1024b3c0
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x100485d1
cmp eax, ebx
mov dword [esp + 0x124], 0xffffffff
je 0x100489c8
push eax
call fcn.102b3490
add esp, 4
mov eax, 0xc0060005
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4