joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10077d80
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1015e308
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
push eax
mov dword [edi], 0
call fcn.100740b0
test eax, eax
jne 0x10074323
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + 8]
push eax
push ecx
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x1007431f
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
lea eax, [esp + 0x28]
push str.SF_NET_SDK
push eax
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0
call fcn.1005d580
test al, al
je 0x100742f1
push esi
push str._ERROR__NET_SSocket::sendData:_send_error:__d
push 0xb8
push str.SamsungFramework::NetSDK::SSocket::sendData
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSSocket.cpp
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.10117cb0
push esi
call fcn.10073fe0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
mov dword [edi], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
jmp 0x10074240

Function at 0x10077d90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1015e308
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
push eax
mov dword [edi], 0
call fcn.10074340
test eax, eax
jne 0x100745b3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + 8]
push eax
push ecx
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x100745af
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
lea eax, [esp + 0x28]
push str.SF_NET_SDK
push eax
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0
call fcn.1005d580
test al, al
je 0x10074581
push esi
push str._ERROR__NET_SSocket::receiveData:_recv_error:__d
push 0xf3
push str.SamsungFramework::NetSDK::SSocket::receiveData
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSDKSSocket.cpp
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.10117cb0
push esi
call fcn.10073fe0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
mov dword [edi], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
jmp 0x100744d0
Function at 0x10081d00
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x1015ea9b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.SamsungFramework::HttpSDK::Inner::SHttpProxyAutoResolverWin.0
mov dword [esp + 0x28], 0
mov dword [esi + 8], 0
mov eax, dword [str.SF_proxy_resolver_1.0]
push 0
push 0
push 0
push 0
push eax
mov byte [esp + 0x3c], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x14], eax
call fcn.10081c20
mov ecx, dword [eax + 4]
mov dword [eax + 4], 0
lea eax, [esi + 8]
lea ebp, [esp + 0x18]
add esp, 8
mov edx, ecx
cmp ebp, eax
je 0x10081d8a
mov edx, dword [eax]
mov dword [eax], ecx
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edx, edx
je 0x10081d97
push edx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10081da2
push eax
call ebp
cmp dword [esi + 8], 0
jne 0x10081dfc
lea eax, [esp + 0xc]
push str.SF_HTTP_SDK
push eax
call fcn.1005e920
add esp, 8
push 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1005d580
test al, al
je 0x10081dee
push str.WinHttpOpen___failed._Cant_create_WinHttp_session
push 0x56
push str.SamsungFramework::HttpSDK::Inner::SHttpProxyAutoResolverWin::SHttpProxyAutoResolverWin
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkWinHttpSDKInnerSHttpProxyAutoResolverWin.cpp
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.10117cb0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x10084df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015f0d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x10084ec7
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10084ec7
lea edx, [esp + 0x30]
push edx
push ecx
push eax
push ebx
mov dword [esp + 0x40], ebx
call fcn.101264d0
mov esi, eax
lea eax, [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 1
cmp esi, ebx
je 0x10084e79
mov ecx, dword [esp + 0x30]
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10064ad0
push esi
call fcn.101265a0
add esp, 4
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.1000ba40
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], bl
cmp eax, ecx
je 0x10084eb3
cmp eax, ebx
je 0x10084eb3
push eax
call fcn.1005a120
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
lea ecx, [eax + 4]
mov dword [ecx], ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x10092d50
Capabilities:
Access the windows event log

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ebx, [edi + 1]
call fcn.10092940
mov esi, dword [esp + 0x14]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebp, eax
test ebp, ebp
jne 0x10092d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Could_not_open_event_log_for__s._Last_error:_0x_x_n
call fcn.1013dd39
add eax, 0x40
push eax
call fcn.1013dc1d
add esp, 0x10
xor ebx, ebx
mov esi, dword [0x101f3b1c]
test esi, esi
je 0x10092e08
lea ebx, [ebx]
cmp dword [esi + 0xc], 4
jne 0x10092df9
mov eax, dword [esi]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], ebx
test eax, eax
je 0x10092de4
test ebx, ebx
jne 0x10092de0
sub dword [0x101f3b20], 1
mov dword [esi], ebx
jns 0x10092df4
push 0xa
push 0x65
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_snmp_logging.c
push str.logh_enabled___0
push str.netsnmp_assert__s_failed__s:_d_c
push 3
call fcn.10092860
add esp, 0x18
jmp 0x10092df4
test eax, eax
jne 0x10092df4
test ebx, ebx
je 0x10092df4
inc dword [0x101f3b20]
mov dword [esi], 1
mov edi, 1
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x10092da0
test edi, edi
jne 0x10092ed8
push 0x28
mov edi, 1
push edi
call fcn.10141a9d
mov esi, eax
add esp, 8
test esi, esi
je 0x10092ed8
call fcn.10095620
test eax, eax
je 0x10092e54
push 7
push 4
push str.registering_log_type__d_with_pri__d_n
push str.logging:register
call fcn.100955c0
push 7
push 4
push str.registering_log_type__d_with_pri__d_n
push str.logging:register
call fcn.10095470
add esp, 0x20
cmp dword [esi], 0
mov dword [esi + 0xc], 4
mov dword [esi + 0x14], 0x10092470
mov dword [esi + 4], 7
jne 0x10092e76
add dword [0x101f3b20], edi
mov dword [esi], edi
push esi
call fcn.10092250
mov eax, dword [esp + 0x18]
push eax
mov dword [esi + 0x1c], ebp
call fcn.10146771
mov dword [esi + 0x10], eax
mov eax, dword [esi]
add esp, 8
mov dword [esi + 0x18], ebx
test eax, eax
je 0x10092ecc
test ebx, ebx
jne 0x10092ec8
sub dword [0x101f3b20], edi
mov dword [esi], ebx
jns 0x10092ed8
push 0xa
push 0x65
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_snmp_logging.c
push str.logh_enabled___0
push str.netsnmp_assert__s_failed__s:_d_c
push 3
call fcn.10092860
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
ret
test eax, eax
jne 0x10092ed8
test ebx, ebx
je 0x10092ed8
add dword [0x101f3b20], edi
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10093e80
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10093f07
cmp eax, 0x276c
jne 0x10093eda
push str.Unable_to_init._socket_lib__does_not_support_1.1
push 0x101f4308
call fcn.1013deee
add esp, 8
mov eax, 0x101f4308
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.1013d581
add esp, 0x194
ret
push eax
push str.Socket_Startup_error__d
push 0x101f4308
call fcn.1013deee
add esp, 0xc
mov eax, 0x101f4308
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.1013d581
add esp, 0x194
ret
mov ecx, dword [esp + 0x190]
xor ecx, esp
xor eax, eax
call fcn.1013d581
add esp, 0x194
ret

Function at 0x10093f20
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x10093f93
call fcn.10095620
test eax, eax
je 0x10093f8e
push 0x2ea
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x2ea
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.10095470
push str.hostname__couldnt_resolve__n
push str.get_thisaddr
call fcn.100955c0
push str.hostname__couldnt_resolve__n
push str.get_thisaddr
call fcn.10095470
add esp, 0x30
or eax, 0xffffffff
pop esi
ret
cmp word [esi + 8], 2
je 0x10093ffb
call fcn.10095620
test eax, eax
je 0x10093f8e
push 0x2ee
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x2ee
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.10095470
push str.hostname__not_AF_INET___n
push str.get_thisaddr
call fcn.100955c0
push str.hostname__not_AF_INET___n
push str.get_thisaddr
call fcn.10095470
add esp, 0x30
or eax, 0xffffffff
pop esi
ret
call fcn.10095620
test eax, eax
je 0x10094057
push 0x2f2
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x2f2
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplib_system.c
push str.__s___d:_n
push str.trace
call fcn.10095470
push str.hostname__resolved_okay__n
push str.get_thisaddr
call fcn.100955c0
push str.hostname__resolved_okay__n
push str.get_thisaddr
call fcn.10095470
add esp, 0x30
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop esi
ret
Function at 0x100941e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x140
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebp
push esi
push edi
push eax
call fcn.10146771
mov edi, eax
add esp, 4
mov dword [esp + 0x10], 0
cmp byte [edi], 0
mov dword [esp + 0xc], edi
je 0x1009422e
lea ebx, [ebx]
cmp byte [eax], 0x5c
jne 0x10094228
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x10094220
lea eax, [esp + 0x10]
push eax
push 0x101a6db8
push edi
call fcn.100a1340
mov esi, eax
add esp, 0xc
mov byte [esp + 0x44], 0
test esi, esi
je 0x10094367
cmp byte [esi + 1], 0x3a
jne 0x100942a3
mov al, byte [esi + 2]
test al, al
je 0x10094261
cmp al, 0x2f
jne 0x100942a3
mov eax, esi
mov edx, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10094265
lea edi, [esp + 0x44]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10094273
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x101a6db8
push 0
call fcn.100a1340
mov edi, dword [esp + 0x18]
add esp, 0xc
mov esi, eax
test esi, esi
je 0x10094367
mov ebp, dword [esp + 0x158]
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100942b7
mov dx, word [0x101a6db8]
mov eax, esi
mov word [edi], dx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100942d0
lea edi, [esp + 0x44]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100942e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
push eax
and ecx, 3
push 0x101a6db8
push 0
rep movsb byte es:[edi], byte [esi]
call fcn.100a1340
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10094314
test ebp, ebp
jne 0x10094363
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.10144316
add esp, 8
test eax, eax
jge 0x10094351
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1009438a
lea ecx, [esp + 0x44]
push ecx
push str.Created_directory:__s_n
push 6
call fcn.10092860
add esp, 0xc
jmp 0x1009435b
test dword [esp + 0x1a], 0x4000
je 0x100943b2
test esi, esi
jne 0x100942b2
mov edi, dword [esp + 0xc]
push edi
call fcn.1013db65
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.1013d581
add esp, 0x140
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.1013db65
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.1013d581
add esp, 0x140
ret
mov eax, dword [esp + 0xc]
push eax
call fcn.1013db65
mov ecx, dword [esp + 0x14c]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.1013d581
add esp, 0x140
ret
Function at 0x10098390
Capabilities:
Get socket status

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor ebx, ebx
mov edi, eax
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x3e8
call fcn.10095620
test eax, eax
je 0x10098455
push 0x7f
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplibcallback.c
push str.__s___d:_n
push str.trace
call fcn.100955c0
push 0x7f
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplibcallback.c
push str.__s___d:_n
push str.trace
call fcn.10095470
add esp, 0x20
test esi, esi
jne 0x100983ff
mov eax, dword [edi*4 + 0x101bbfd0]
test eax, eax
jne 0x10098404
mov eax, 0x1016da74
jmp 0x10098404
mov eax, str.null
push eax
mov eax, dword [esi*4 + 0x101bbfc4]
push eax
push str.locked___s__s__n
push str.9:callback:lock
call fcn.100955c0
add esp, 0x10
test esi, esi
jne 0x10098435
mov eax, dword [edi*4 + 0x101bbfd0]
test eax, eax
jne 0x1009843a
mov eax, 0x1016da74
jmp 0x1009843a
mov eax, str.null
mov ecx, dword [esi*4 + 0x101bbfc4]
push eax
push ecx
push str.locked___s__s__n
push str.9:callback:lock
call fcn.10095470
add esp, 0x10
shl esi, 4
add esi, edi
cmp dword [esi*4 + 0x101f4558], 1
lea esi, [esi*4 + 0x101f4558]
jl 0x1009848b
mov edi, dword [sym.imp.WS2_32.dll_select]
inc ebx
cmp ebx, 0x64
jge 0x10098497
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
push 0
call edi
cmp dword [esi], 1
jge 0x10098471
inc dword [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
test ebp, ebp
je 0x100984ab
push ebp
push str.lock_in__callback_lock_sleeps_more_than_100_milliseconds_in__s_n
push 4
call fcn.10092860
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x100984d2
push 0xa
push 0x89
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnNetSNMP_snmplibcallback.c
push str.lock_holded___100
push str.netsnmp_assert__s_failed__s:_d_c
push 3
call fcn.10092860
add esp, 0x18
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x100a3830
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x578
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x574], eax
push esi
mov esi, dword [esp + 0x580]
lea eax, [esp + 8]
push eax
push esi
call fcn.10144316
add esp, 8
test eax, eax
jl 0x100a3a2a
test dword [esp + 0xe], 0x4000
je 0x100a3a2a
lea edx, [esp + 0x178]
mov eax, esi
sub edx, esi
jmp 0x100a3880
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100a3880
lea eax, [esp + 0x178]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a3894
sub eax, edx
movsx ecx, byte [esp + eax + 0x177]
push edi
push ecx
push 0x1017c7e8
call fcn.10140bb0
add esp, 8
test eax, eax
jne 0x100a38dd
lea eax, [esp + 0x17c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100a38c0
mov dx, word [0x1017c7e4]
mov cl, byte [0x1017c7e6]
mov word [eax], dx
mov byte [eax + 2], cl
jmp 0x100a38f7
lea edi, [esp + 0x17c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100a38e5
mov dx, word [0x10178d90]
mov word [edi], dx
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, 0xffffffff
je 0x100a3954
push 0x11c
call fcn.1013fbbd
mov esi, eax
add esp, 4
test esi, esi
je 0x100a3954
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a3930
sub eax, edx
lea edi, [eax + 1]
push edi
call fcn.1013fbbd
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x100a396e
push esi
call fcn.1013db65
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x574]
xor ecx, esp
call fcn.1013d581
add esp, 0x578
ret
lea ecx, [esp + 0x6c]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100a3974
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x44]
push edx
push ebx
mov dword [esi + 0xc], 0
call ebp
test eax, eax
je 0x100a39f3
jmp 0x100a39a0
lea eax, [esp + 0x70]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a39a7
sub eax, edx
lea ebx, [eax + edi + 1]
mov eax, dword [esi]
push ebx
push eax
call fcn.1014399a
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x100a3a1d
lea ecx, [esp + 0x70]
mov edx, ecx
sub eax, edx
add edi, eax
mov al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
test al, al
jne 0x100a39d0
mov ecx, dword [esp + 0x10]
inc dword [esi + 0xc]
lea eax, [esp + 0x44]
push eax
push ecx
mov edi, ebx
call ebp
test eax, eax
jne 0x100a39a0
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edx
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x574]
xor ecx, esp
call fcn.1013d581
add esp, 0x578
ret
push esi
call fcn.1013db65
add esp, 4
xor eax, eax
jmp 0x100a3a04
mov ecx, dword [esp + 0x578]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1013d581
add esp, 0x578
ret
Function at 0x100a54d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x100a5e00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x20
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x2c]
xor eax, eax
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp edi, 0x40
jb 0x100a5e89
cmp dword [esp + 0x24], 0
jne 0x100a5ecc
mov eax, 0x200
lea ecx, [esp + 0x1c]
movzx edx, byte [ecx]
add eax, edx
mov byte [ecx], al
shr eax, 8
inc ecx
test eax, eax
jne 0x100a5e60
lea eax, [esp + 0xc]
push eax
mov eax, esi
call fcn.100a5500
sub edi, 0x40
add esp, 4
add esi, 0x40
cmp edi, 0x40
jae 0x100a5e50
lea ecx, [edi*8]
push ecx
lea edx, [esp + 0x10]
push esi
push edx
call fcn.100a5c40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100a5eb8
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.100a5db0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1013d581
add esp, 0x20
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.1013d581
add esp, 0x20
ret
Function at 0x100a5ef0
Capabilities:
Authenticate hmac
Encode data using xor
Hash data with md5

Disassembly:
sub esp, 0xe4
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0xe0], eax
cmp dword [esp + 0xfc], 0x10
push ebx
mov ebx, dword [esp + 0xec]
push ebp
mov ebp, dword [esp + 0xf8]
push esi
mov esi, dword [esp + 0x104]
push edi
mov dword [esp + 0x10], 0
jne 0x100a6138
test esi, esi
je 0x100a6138
test ebp, ebp
je 0x100a6138
test ebx, ebx
je 0x100a6138
mov edi, dword [esp + 0xfc]
test edi, edi
jbe 0x100a6138
cmp dword [esp + 0x104], 0
jbe 0x100a6138
push 0x40
lea eax, [esp + 0x34]
push 0
push eax
call fcn.1013f910
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
xor eax, eax
mov cl, byte [esp + eax + 0x30]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0x70], dl
mov byte [esp + eax + 0xb0], cl
inc eax
cmp eax, 0x40
jb 0x100a5f96
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov eax, 0x200
lea ecx, [esp + 0x24]
lea ebx, [ebx]
movzx edx, byte [ecx]
add eax, edx
mov byte [ecx], al
shr eax, 8
inc ecx
test eax, eax
jne 0x100a5ff0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x74]
call fcn.100a5500
add esp, 4
test bl, 3
je 0x100a602a
push edi
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.100a0b90
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x100a602c
mov esi, ebx
cmp edi, 0x40
jb 0x100a606e
cmp dword [esp + 0x2c], 0
jne 0x100a60bf
mov eax, 0x200
lea ecx, [esp + 0x24]
movzx edx, byte [ecx]
add eax, edx
mov byte [ecx], al
shr eax, 8
inc ecx
test eax, eax
jne 0x100a6045
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.100a5500
sub edi, 0x40
add esp, 4
add esi, 0x40
cmp edi, 0x40
jae 0x100a6031
lea ecx, [edi*8]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
call fcn.100a5c40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100a6123
push 0x40
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1013f910
push 0x40
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.100a5db0
lea eax, [esp + 0x2c]
push eax
call fcn.100a54d0
add esp, 0x1c
cmp dword [esp + 0x2c], esi
je 0x100a60c4
or esi, 0xffffffff
jmp 0x100a6123
mov eax, 0x200
lea ecx, [esp + 0x24]
lea ecx, [ecx]
movzx edx, byte [ecx]
add eax, edx
mov byte [ecx], al
shr eax, 8
inc ecx
test eax, eax
jne 0x100a60d0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xb4]
call fcn.100a5500
push 0x80
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.100a5c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100a6123
mov eax, dword [esp + 0x104]
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.100a5db0
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100a6134
push eax
call fcn.1013db65
add esp, 4
mov eax, esi
jmp 0x100a613b
or eax, 0xffffffff
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013d581
add esp, 0xe4
ret