Function at 0x100032a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10196a38
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp dword [esp + 0x94], 0
mov eax, dword [esp + 0x90]
ja 0x100032f9
jb 0x100032ef
cmp eax, 0x14c
jae 0x100032f9
mov eax, 1
jmp 0x10003b98
add eax, edi
xor ebx, ebx
mov dword [esp + 0x90], eax
xor esi, esi
cmp edi, dword [esp + 0x90]
jae 0x1000333b
push 0xd
push str.MTK_ROMINFO_v
push edi
call fcn.1016ce3d
add esp, 0xc
test eax, eax
je 0x10003330
inc esi
inc edi
inc ebx
cmp esi, 0x100000
jl 0x10003306
jmp 0x1000333b
mov dword [esp + 0x88], ebx
test edi, edi
jne 0x10003389
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x446
lea esi, [esp + 0x28]
call fcn.10111280
push 0x100000
push str.MTK_ROMINFO_v
mov dword [esp + 0x88], 0
mov ecx, dword [0x103b321c]
push str.ROM_ID_Class::LoadID_New__:_identifier___s__is_not_found_in_the_front__lu_bytes_
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 2
jmp 0x10003b98
push 0x160
push edi
call fcn.101119a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100033f6
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x44d
lea esi, [esp + 0x28]
call fcn.10111280
push ebx
mov edx, edi
sub edx, dword [esp + 0x90]
mov dword [esp + 0x84], 1
mov ecx, dword [0x103b321c]
push edx
push str.ROM_ID_Class::LoadID_New__:_dump_from_offset_0x_08X_:_n_s
push ecx
push eax
call fcn.10111350
add esp, 0x14
push ebx
mov dword [esp + 0x84], 0xffffffff
call fcn.1016cefd
add esp, 4
mov edx, dword [esp + 0x90]
push 7
add edx, 0xfffffff4
push str.MTK_BIN
push edx
call fcn.1016ce3d
add esp, 0xc
test eax, eax
jne 0x1000341e
mov dword [ebp + 0x434], 0xc
lea eax, [edi + 0xd]
push eax
call fcn.1016d104
add esp, 4
mov ebx, eax
sub eax, 4
je 0x100034e5
sub eax, 1
je 0x100034cc
sub eax, 1
mov esi, edi
lea edi, [ebp + 8]
je 0x100034b3
mov ecx, 0x58
mov dword [ebp + 4], ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x8c], 0x160
cmp ebx, 7
jbe 0x10003503
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x474
lea esi, [esp + 0x28]
call fcn.10111280
push ebx
push str.MTK_ROMINFO_v
mov dword [esp + 0x88], 2
mov ecx, dword [0x103b321c]
push str.ROM_ID_Class::LoadID_New__:_identifier___s_02d__is_not_supported_by_this_version_of_brom.dll_
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov dword [esp + 0x80], 0xffffffff
jmp 0x10003503
mov dword [ebp + 4], 6
mov ecx, 0x55
mov dword [esp + 0x8c], 0x154
jmp 0x10003501
mov dword [ebp + 4], 5
mov ecx, 0x53
mov dword [esp + 0x8c], 0x14c
jmp 0x100034fc
mov dword [ebp + 4], 4
mov ecx, 0x50
mov dword [esp + 0x8c], 0x140
mov esi, edi
lea edi, [ebp + 8]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp + 4], 4
jb 0x10003808
lea esi, [ebp + 0x18]
push esi
call fcn.1016d369
add esp, 4
lea edi, [ebp + 0x98]
push edi
call fcn.1016d369
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003530
sub eax, edx
push eax
push esi
lea ecx, [ebp + 0x3fc]
call fcn.10004620
mov eax, edi
lea ecx, [eax + 1]
jmp 0x10003550
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003550
sub eax, ecx
push eax
push edi
lea ecx, [ebp + 0x418]
call fcn.10004620
push str._PCB
push esi
call fcn.1016cf90
add esp, 8
test eax, eax
je 0x1000358d
lea ecx, [ebp + 8]
sub eax, ecx
sub eax, 0x10
push eax
push esi
lea ecx, [ebp + 0x3c4]
call fcn.10004620
push 0x10208d90
push esi
call fcn.1016cf90
mov edi, eax
add esp, 8
test edi, edi
jne 0x100035b5
push 0x10208d94
push esi
call fcn.1016cf90
mov edi, eax
add esp, 8
test edi, edi
je 0x100035e4
push 0x5f
push edi
call fcn.1016d030
add esp, 8
test eax, eax
je 0x100035e4
push 0x2e
push eax
call fcn.1016d030
add esp, 8
test eax, eax
je 0x100035e4
sub eax, edi
dec eax
push eax
inc edi
push edi
lea ecx, [ebp + 0x3e0]
call fcn.10004620
xor edx, edx
xor edi, edi
cmp dx, word [ebp + 0xda]
jae 0x10003676
lea esi, [ebp + 0xde]
jmp 0x10003600
movzx eax, word [esi - 2]
mov cx, word [esi]
mov dx, word [esi + 2]
mov word [esp + 0x90], ax
movzx eax, word [esi + 4]
mov word [esp + 0x96], ax
mov eax, dword [esi + 6]
mov word [esp + 0x92], cx
mov ecx, dword [esi + 0xa]
mov word [esp + 0x94], dx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x378]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x94]
push eax
lea eax, [esp + 0x28]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
call fcn.10004760
movzx eax, word [ebp + 0xda]
inc edi
add esi, 0x10
cmp edi, eax
jl 0x10003600
mov eax, dword [ebp + 0x390]
mov eax, dword [eax]
mov ebx, dword [ebp + 0x378]
mov edi, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov esi, dword [ebp + 0x390]
mov eax, dword [ebp + 0x378]
test ebx, ebx
je 0x100036b4
cmp ebx, eax
je 0x100036b9
call fcn.1016d669
cmp edi, esi
je 0x10003808
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x49c
lea esi, [esp + 0x28]
call fcn.10111280
mov esi, eax
mov dword [esp + 0x80], 3
test ebx, ebx
jne 0x100037de
call fcn.1016d669
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10003701
call fcn.1016d669
test ebx, ebx
jne 0x100037e5
call fcn.1016d669
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000371a
call fcn.1016d669
test ebx, ebx
jne 0x100037ec
call fcn.1016d669
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10003733
call fcn.1016d669
test ebx, ebx
jne 0x100037f3
call fcn.1016d669
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000374c
call fcn.1016d669
test ebx, ebx
jne 0x100037fa
call fcn.1016d669
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10003765
call fcn.1016d669
test ebx, ebx
jne 0x10003801
call fcn.1016d669
cmp edi, dword [ebx + 0x18]
jne 0x1000377c
call fcn.1016d669
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
movzx eax, word [edi + 0x12]
push ecx
movzx ecx, word [edi + 0x10]
push edx
movzx edx, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
mov edi, dword [esp + 0x9c]
push ecx
mov ecx, dword [0x103b321c]
push edx
push eax
push edi
push str.ROM_ID_Class::LoadID_New__:_FLASH__d_:_MANU_ID_0x_04X___DEV_CODE_0x_04X__0x_04X__0x_04X___FAT_ADDR_0x_08X___FAT_LEN_0x_08X_.
push ecx
push esi
call fcn.10111350
inc edi
mov dword [esp + 0xa8], 0xffffffff
add esp, 0x28
lea esi, [esp + 0x18]
mov dword [esp + 0x90], edi
call fcn.10006160
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x100036a0
mov eax, dword [ebx]
jmp 0x100036f7
mov eax, dword [ebx]
jmp 0x10003710
mov eax, dword [ebx]
jmp 0x10003729
mov eax, dword [ebx]
jmp 0x10003742
mov eax, dword [ebx]
jmp 0x1000375b
mov ebx, dword [ebx]
jmp 0x10003772
cmp dword [ebp + 4], 5
jb 0x1000381f
mov edx, dword [ebp + 0x150]
shr edx, 1
and dl, 1
mov byte [ebp + 0x438], dl
cmp dword [ebp + 0x3d8], 0
je 0x10003af8
cmp dword [ebp + 0x3f4], 0
je 0x10003af8
cmp dword [ebp + 0x3f8], 0x10
jb 0x1000384a
mov eax, dword [ebp + 0x3e4]
jmp 0x10003850
lea eax, [ebp + 0x3e4]
push eax
lea edi, [esp + 0x50]
call fcn.10001e40
mov ecx, dword [eax]
mov dword [ebp + 0x398], ecx
mov edx, dword [eax + 0x28]
mov dword [ebp + 0x3c0], edx
movzx ecx, word [eax + 4]
mov word [ebp + 0x39c], cx
movzx edx, word [eax + 6]
mov word [ebp + 0x39e], dx
movzx ecx, word [eax + 8]
lea esi, [ebp + 0x39c]
mov word [esi + 4], cx
movzx edx, word [eax + 0xa]
mov word [esi + 6], dx
movzx ecx, word [eax + 0xc]
mov word [esi + 8], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x14], edx
movzx ecx, word [eax + 0x1c]
mov word [ebp + 0x3b4], cx
movzx edx, word [eax + 0x1e]
mov word [ebp + 0x3b6], dx
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x3b8], ecx
mov edx, dword [eax + 0x24]
mov dword [ebp + 0x3bc], edx
mov eax, dword [0x1027a728]
add esp, 4
cmp eax, dword [ebp + 0x398]
jne 0x10003a0b
mov ecx, dword [ebp + 0x3c0]
mov edx, dword [str.UNKNOWN_BBCHIP_TYPE]
push ecx
push edx
call fcn.10188c3e
add esp, 8
test eax, eax
jne 0x10003a0b
mov eax, esi
mov ecx, 0x1027a72c
call fcn.10001890
test al, al
jne 0x10003a0b
mov ax, word [0x1027a744]
cmp ax, word [ebp + 0x3b4]
jne 0x10003a0b
mov cx, word [0x1027a746]
cmp cx, word [ebp + 0x3b6]
jne 0x10003a0b
mov edx, dword [0x1027a748]
cmp edx, dword [ebp + 0x3b8]
jne 0x10003a0b
mov eax, dword [0x1027a74c]
cmp eax, dword [ebp + 0x3bc]
jne 0x10003a0b
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x4ab
lea esi, [esp + 0x28]
call fcn.10111280
mov edi, 0x10
mov dword [esp + 0x80], 5
cmp dword [ebp + 0x430], edi
jb 0x100039a3
mov esi, dword [ebp + 0x41c]
jmp 0x100039a9
lea esi, [ebp + 0x41c]
cmp dword [ebp + 0x414], edi
jb 0x100039b9
mov edx, dword [ebp + 0x400]
jmp 0x100039bf
lea edx, [ebp + 0x400]
cmp dword [ebp + 0x3f8], edi
jb 0x100039cf
mov ecx, dword [ebp + 0x3e4]
jmp 0x100039d5
lea ecx, [ebp + 0x3e4]
cmp dword [ebp + 0x3dc], edi
jb 0x100039e5
mov ebp, dword [ebp + 0x3c8]
jmp 0x100039eb
add ebp, 0x3c8
push esi
push edx
push ecx
mov ecx, dword [0x103b321c]
push ebp
push str.ROM_ID_Class::LoadID_New__:_no_match_any_bbchip_revision__m_rom_custom_name___s____m_rom_bbchip_name___s____m_rom_platform_id___s____m_rom_project_id___s__.
push ecx
push eax
call fcn.10111350
mov eax, 5
jmp 0x10003b95
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x4af
lea esi, [esp + 0x3c]
call fcn.10111280
mov ecx, 0x10
mov dword [esp + 0x80], 6
cmp dword [ebp + 0x3f8], ecx
jb 0x10003a45
mov edx, dword [ebp + 0x3e4]
jmp 0x10003a4b
lea edx, [ebp + 0x3e4]
cmp dword [ebp + 0x3dc], ecx
jb 0x10003a5b
mov ecx, dword [ebp + 0x3c8]
jmp 0x10003a61
lea ecx, [ebp + 0x3c8]
movzx esi, word [ebp + 0x3b6]
push esi
mov esi, dword [ebp + 0x3bc]
push esi
movzx esi, word [ebp + 0x3b4]
push esi
mov esi, dword [ebp + 0x3b8]
push esi
movzx esi, word [ebp + 0x3a4]
push esi
movzx esi, word [ebp + 0x3a0]
push esi
mov esi, dword [ebp + 0x3b0]
push esi
movzx esi, word [ebp + 0x39e]
push esi
mov esi, dword [ebp + 0x3ac]
push esi
movzx esi, word [ebp + 0x39c]
push esi
mov esi, dword [ebp + 0x3a8]
push esi
push edx
mov edx, dword [0x103b321c]
push ecx
push str.ROM_ID_Class::LoadID_New__:_m_rom_custom_name___s____m_rom_bbchip_name___s____DigitalDie_reg_hw_ver_0x_04X_0x_04X__reg_sw_ver_0x_04X_0x_04X__reg_hw_code_0x_04X_0x_04X__dsp_ver0x_04X___AnalogDie_reg_hw_ver_0x_04X_0x_04X__reg_hw_code_0x_04X_0x_04X_
push edx
push eax
call fcn.10111350
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
add esp, 0x40
mov dword [ebp + 0x168], eax
xor eax, eax
mov dword [ebp + 0x16c], eax
mov dword [ebp + 0x170], ecx
mov dword [ebp + 0x174], eax
jmp 0x10003b98
push str.FlashToolLib_source_common_generic_src_bbchip_id.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x4a6
lea esi, [esp + 0x28]
call fcn.10111280
mov edi, 0x10
mov dword [esp + 0x80], 4
cmp dword [ebp + 0x430], edi
jb 0x10003b32
mov esi, dword [ebp + 0x41c]
jmp 0x10003b38
lea esi, [ebp + 0x41c]
cmp dword [ebp + 0x414], edi
jb 0x10003b48
mov edx, dword [ebp + 0x400]
jmp 0x10003b4e
lea edx, [ebp + 0x400]
cmp dword [ebp + 0x3f8], edi
jb 0x10003b5e
mov ecx, dword [ebp + 0x3e4]
jmp 0x10003b64
lea ecx, [ebp + 0x3e4]
cmp dword [ebp + 0x3dc], edi
jb 0x10003b74
mov ebp, dword [ebp + 0x3c8]
jmp 0x10003b7a
add ebp, 0x3c8
push esi
push edx
mov edx, dword [0x103b321c]
push ecx
push ebp
push str.ROM_ID_Class::LoadID_New__:_custom_name_or_bbchip_name_not_found__m_rom_custom_name___s____m_rom_bbchip_name___s____m_rom_platform_id___s____m_rom_project_id___s__.
push edx
push eax
call fcn.10111350
mov eax, 4
add esp, 0x1c
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x10