Function at 0x100484a0
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, 0xbc
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_SendAUTH__:_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 0xe2
push ebx
call eax
test eax, eax
je 0x10048559
mov eax, 1
jmp 0x10048a92
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 0x100485c7
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xc7
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_SendAUTH__:_Write32DataWithEcho__lu_:_send_number_of_dword_fail___Err__d_.
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 2
jmp 0x10048a92
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 0x1004862b
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xcd
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_SendAUTH__:_Read16Data__lu_:_get_status_fail___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 3
jmp 0x10048a92
mov eax, 0x1000
cmp ax, word [esp + 0x14]
ja 0x1004867f
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xd2
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_SendAUTH__:_Read16Data__:_Status_returns_error__0x_04X__
push edx
push eax
call fcn.10111350
movzx eax, word [esp + 0x24]
add esp, 0x10
jmp 0x10048a92
mov dword [esp + 0x2c], 0x400
call fcn.100f7e20
mov ebx, 4
test al, al
je 0x10048699
mov dword [esp + 0x2c], ebx
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xe0
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_SendAUTH__:_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
mov eax, 0xe1
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_SendAUTH__:_AUTH_0x_08X___AUTH_Len__lu_.
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov dword [esp + 0x870], ebx
xor ebx, ebx
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0xf3
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_SendAUTH__:_sending_AUTH_...
push edx
push eax
call fcn.10111350
add esp, 0xc
mov dword [esp + 0x870], 0xffffffff
cmp dword [ebp + 0x10], ebx
jbe 0x10048826
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
sub eax, ebx
cmp ecx, eax
jbe 0x1004878c
mov edx, eax
mov dword [esp + 0x20], edx
jmp 0x10048792
mov dword [esp + 0x20], ecx
mov edx, ecx
mov esi, edx
xor eax, eax
shr esi, 1
je 0x100487d3
mov ecx, dword [esp + 0x28]
add ecx, ebx
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 0x100487a0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test dl, 1
je 0x100487f6
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 0x10048894
add ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
cmp ebx, dword [ebp + 0x10]
jb 0x10048777
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 0x100488dc
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x12e
lea esi, [esp + 0x38]
call fcn.10111280
push ebx
mov dword [esp + 0x874], 8
mov ecx, dword [edi + 8]
push str.BRom_Base::BromCmd_SendAUTH__:_Read16Data___get_chksum_fail___Err__d_.
push ecx
push eax
call fcn.10111350
add esp, 0x10
mov eax, 6
jmp 0x10048a92
push str.FlashToolLib_host_windows_CSLA_SV5.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x123
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_SendAUTH__:_WriteData___fail___offset__lu___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 5
jmp 0x10048a92
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 0x10048940
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x134
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_SendAUTH__:_Read16Data__lu_:_get_status_fail___Err__d_.
push edx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 7
jmp 0x10048a92
mov eax, 0x1000
cmp ax, word [esp + 0x18]
ja 0x1004898b
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x139
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_SendAUTH__:_Read16Data__:_Status_returns_error__0x_04X__
push edx
push eax
call fcn.10111350
movzx eax, word [esp + 0x24]
add esp, 0x10
jmp 0x10048a92
mov ebx, dword [esp + 0x20]
cmp bx, word [esp + 0x28]
je 0x100489d9
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x13f
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_SendAUTH__:_checksum_error___checksum_0x_04X____brom_checksum_0x_04X_.
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 0x7e4
jmp 0x10048a92
mov edx, 0x10201619
xor cl, cl
mov eax, 0x143
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_SendAUTH__:_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, 0x146
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_SendAUTH__:_send_AUTH__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, 0x14b
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_SendAUTH__:_AUTH_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