Function at 0x10047e80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10195355
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x28], eax
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1d
lea esi, [esp + 0x38]
mov dword [esp + 0x34], ebx
call fcn.10111280
mov dword [esp + 0x870], 0
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_enter_...
push ecx
push eax
call fcn.10111350
add esp, 0xc
push 0x2710
push 0
mov dword [esp + 0x878], 0xffffffff
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
push 1
push 0xe0
push ebx
call eax
test eax, eax
je 0x10047f39
mov eax, 1
jmp 0x10048472
push 0xc8
call sub.KERNEL32.dll_Sleep
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
push 1
push eax
push ebx
call edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x10047fa7
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x28
lea esi, [esp + 0x38]
call fcn.10111280
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
push ecx
push edx
mov dword [esp + 0x878], 1
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_Write32DataWithEcho__lu_:_send_number_of_dword_fail___Err__d_.
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 2
jmp 0x10048472
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
push 0x7530
lea eax, [esp + 0x18]
push eax
push ebx
call edx
mov ebx, eax
test ebx, ebx
je 0x1004800b
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x2e
lea esi, [esp + 0x38]
call fcn.10111280
mov dword [esp + 0x870], 2
movzx ecx, word [esp + 0x14]
mov edx, dword [edi + 8]
push ebx
push ecx
push str.BRom_Base::BromCmd_SendCERT__:_Read16Data__lu_:_get_status_fail___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 3
jmp 0x10048472
mov eax, 0x1000
cmp ax, word [esp + 0x14]
ja 0x1004805f
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x33
lea esi, [esp + 0x38]
call fcn.10111280
mov dword [esp + 0x870], 3
movzx ecx, word [esp + 0x14]
mov edx, dword [edi + 8]
push ecx
push str.BRom_Base::BromCmd_SendCERT__:_Read16Data__:_Status_returns_error__0x_04X__
push edx
push eax
call fcn.10111350
movzx eax, word [esp + 0x24]
add esp, 0x10
jmp 0x10048472
mov dword [esp + 0x2c], 0x400
call fcn.100f7e20
mov ebx, 4
test al, al
je 0x10048079
mov dword [esp + 0x2c], ebx
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x41
lea esi, [esp + 0x38]
call fcn.10111280
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x874], ebx
mov edx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_packet_len__lu_.
push edx
push eax
call fcn.10111350
add esp, 0x10
or ebx, 0xffffffff
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
lea eax, [ebx + 0x43]
lea esi, [esp + 0x38]
mov dword [esp + 0x874], ebx
call fcn.10111280
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x878], 5
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_CERT_0x_08X___CERT_Len__lu_.
push ecx
push eax
call fcn.10111350
mov dword [esp + 0x884], ebx
xor ebx, ebx
add esp, 0x14
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
lea eax, [ebx + 0x54]
lea esi, [esp + 0x38]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.10111280
mov dword [esp + 0x870], 6
mov edx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_sending_CERT_...
push edx
push eax
call fcn.10111350
add esp, 0xc
mov dword [esp + 0x870], 0xffffffff
cmp dword [ebp + 0x10], ebx
jbe 0x10048206
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
sub eax, ebx
cmp ecx, eax
jbe 0x10048168
mov edx, eax
mov dword [esp + 0x20], edx
jmp 0x1004816e
mov dword [esp + 0x20], ecx
mov edx, ecx
mov esi, edx
xor eax, eax
shr esi, 1
je 0x100481b3
mov ecx, dword [esp + 0x28]
add ecx, ebx
lea esp, [esp]
mov bl, byte [ecx + 1]
mov dl, byte [ecx]
mov byte [esp + eax*2 + 0x5d], bl
mov byte [esp + eax*2 + 0x5c], dl
movzx bx, bl
movzx dx, dl
shl bx, 8
or bx, dx
movzx edx, bx
xor dword [esp + 0x1c], edx
inc eax
add ecx, 2
cmp eax, esi
jb 0x10048180
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test dl, 1
je 0x100481d6
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + eax*2]
mov cl, byte [ecx + ebx]
mov byte [esp + eax*2 + 0x5c], cl
mov byte [esp + eax*2 + 0x5d], 0
movzx ax, cl
movzx eax, ax
xor dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
push 0
push edx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x3c]
push edx
call eax
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10048274
add ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
cmp ebx, dword [ebp + 0x10]
jb 0x10048153
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x30]
push 0x7530
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
push edx
push esi
call eax
mov ebx, eax
test ebx, ebx
je 0x100482bc
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x8f
lea esi, [esp + 0x38]
call fcn.10111280
push ebx
mov dword [esp + 0x874], 8
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_Read16Data___get_chksum_fail___Err__d_.
push ecx
push eax
call fcn.10111350
add esp, 0x10
mov eax, 6
jmp 0x10048472
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x84
lea esi, [esp + 0x38]
call fcn.10111280
mov ecx, dword [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x878], 7
mov edx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_WriteData___fail___offset__lu___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 5
jmp 0x10048472
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
push 0x7530
lea eax, [esp + 0x18]
push eax
push esi
call edx
mov ebx, eax
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
lea esi, [esp + 0x38]
test ebx, ebx
je 0x10048320
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x95
call fcn.10111280
mov dword [esp + 0x870], 9
movzx ecx, word [esp + 0x14]
mov edx, dword [edi + 8]
push ebx
push ecx
push str.BRom_Base::BromCmd_SendCERT__:_Read16Data__lu_:_get_status_fail___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 7
jmp 0x10048472
mov eax, 0x1000
cmp ax, word [esp + 0x18]
ja 0x1004836b
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x9a
call fcn.10111280
mov dword [esp + 0x870], 0xa
movzx ecx, word [esp + 0x14]
mov edx, dword [edi + 8]
push ecx
push str.BRom_Base::BromCmd_SendCERT__:_Read16Data__:_Status_returns_error__0x_04X__
push edx
push eax
call fcn.10111350
movzx eax, word [esp + 0x24]
add esp, 0x10
jmp 0x10048472
mov ebx, dword [esp + 0x20]
cmp bx, word [esp + 0x28]
je 0x100483b9
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xa0
call fcn.10111280
mov dword [esp + 0x870], 0xb
movzx ecx, word [esp + 0x24]
push ecx
mov ecx, dword [edi + 8]
movzx edx, bx
push edx
push str.BRom_Base::BromCmd_SendCERT__:_checksum_error___checksum_0x_04X____brom_checksum_0x_04X_.
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 0x7e4
jmp 0x10048472
mov edx, 0x10201619
xor cl, cl
mov eax, 0xa4
call fcn.10111280
mov dword [esp + 0x870], 0xc
movzx edx, word [esp + 0x24]
push edx
mov edx, dword [edi + 8]
movzx ecx, bx
push ecx
push str.BRom_Base::BromCmd_SendCERT__:_checksum_ok___checksum_0x_04X___brom_checksum_0x_04X_.
push edx
push eax
call fcn.10111350
add esp, 0x14
or ebx, 0xffffffff
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xa7
lea esi, [esp + 0x38]
mov dword [esp + 0x874], ebx
call fcn.10111280
mov dword [esp + 0x870], 0xd
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_send_CERT__OK.
push ecx
push eax
call fcn.10111350
add esp, 0xc
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xac
lea esi, [esp + 0x4c]
mov dword [esp + 0x874], ebx
call fcn.10111280
mov dword [esp + 0x870], 0xe
mov edx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendCERT__:_CERT_verification__OK.
push edx
push eax
call fcn.10111350
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 0x10