joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
jne 0x4c723c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4c7263
push 0x10
call fcn.005519b3
add esp, 4
test eax, eax
je 0x4c725e
push 0
mov ecx, eax
call fcn.004a6410
mov ecx, eax
jmp 0x4c7260
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 1
push ecx
mov eax, esp
mov dword [eax], str.ClientInfo
call fcn.004a6930
push 0x704abc
push str.ip_country_code
mov ecx, eax
call fcn.004a6b40
push eax
call fcn.004a7550
mov ecx, dword [edi + 4]
add esp, 8
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x4c72b9
push 0x10
call fcn.005519b3
add esp, 4
test eax, eax
je 0x4c72b4
push 0
mov ecx, eax
call fcn.004a6410
mov ecx, eax
jmp 0x4c72b6
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], str.ServerList
call fcn.004a6930
mov esi, eax
test esi, esi
jne 0x4c72ed
push str.pkvServerResponse
push 0xa5
push str.C:_buildworker_steam_rel_client_win32_build_srccommonclientupdatehostscache.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4c72ed
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.Hosts
call fcn.004a6930
mov esi, eax
test esi, esi
jne 0x4c7323
push str.pkvHosts
push 0xa8
push str.C:_buildworker_steam_rel_client_win32_build_srccommonclientupdatehostscache.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4c7323
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.realms
call fcn.004a6930
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x4c735c
push str.pkvRealms
push 0xab
push str.C:_buildworker_steam_rel_client_win32_build_srccommonclientupdatehostscache.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4c735c
int3
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.004c5e30
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebx
call fcn.004a6930
xor bl, bl
mov dword [ebp + 8], eax
test eax, eax
je 0x4c739e
push dword [ebp + 0xc]
push esi
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.004a0550
push dword [ebp + 8]
mov ecx, edi
call fcn.004c7540
mov bl, al
cmp esi, 1
je 0x4c73ef
push 0
push 1
push 1
call fcn.004c5e30
mov ecx, dword [ebp - 8]
mov edx, esp
mov dword [edx], eax
call fcn.004a6930
push dword [ebp + 0xc]
mov esi, eax
push 1
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.004a0550
push esi
mov ecx, edi
call fcn.004c7540
test bl, bl
jne 0x4c73ed
test al, al
jne 0x4c73ed
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1830
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str.CHTTPClientWorkThread
push esi
mov edi, ecx
call fcn.004e20b0
fldz
xor eax, eax
fstp qword [edi + 0x58]
mov dword [edi], vtable.CHTTPClientWorkThread.0
mov byte [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 3
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 3
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
mov byte [edi + 0xa0], al
mov word [edi + 0xac], ax
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 3
mov byte [edi + 0xcc], al
mov eax, dword [0x7dfec8]
mov ecx, dword [0x7dfecc]
mov dword [edi + 0xd0], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
push str.winhttp.dll
mov dword [edi + 0xa4], eax
mov dword [edi + 0xa8], esi
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x104], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x4d19ea
and dword [ebp - 0x2c], 0xff0fffff
push str.winhttp.dll_not_supported_on_this_windows_platform__no_proxy_auto_detection_will_be_done_n
mov byte [ebp - 0x29], al
and dword [ebp - 0x2c], 0xfff00000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
push 1
push 1
push 0
push 0x1f
push 0
push 0
mov dword [ebp - 0x14], 3
call fcn.00451380
add esp, 0x20
jmp 0x4d1a4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpGetIEProxyConfigForCurrentUser
push eax
call esi
push str.WinHttpDetectAutoProxyConfigUrl
push dword [edi + 0xe8]
mov dword [edi + 0xec], eax
call esi
push str.WinHttpGetProxyForUrl
push dword [edi + 0xe8]
mov dword [edi + 0xf0], eax
call esi
push str.WinHttpOpen
push dword [edi + 0xe8]
mov dword [edi + 0xf4], eax
call esi
push str.WinHttpCloseHandle
push dword [edi + 0xe8]
mov dword [edi + 0xf8], eax
call esi
mov dword [edi + 0xfc], eax
mov dword [edi + 0x100], 0
mov eax, edi
mov byte [edi + 0xac], 0
mov byte [edi + 0x4c], 0
mov byte [edi + 0xa0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
cmp dword [ebx + 0xf0], 0
je 0x4d8647
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf0]
mov edi, eax
lea eax, [ebp - 4]
push eax
push 3
call ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d85d7
cmp word [ecx], 0
je 0x4d85d7
sub eax, edi
xor cl, cl
mov byte [0x7e1a6c], cl
cmp byte [0x7e1a6c], 0
pop edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 3
je 0x4d85eb
and dword [ebp - 0x30], 0xff0fffff
xor ecx, ecx
push eax
mov eax, dword [ebp - 4]
mov byte [ebp - 0x2d], 0
and dword [ebp - 0x30], 0xfff00000
test eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ecx, str.NULL
cmovne ecx, eax
lea eax, [ebp - 0x34]
push ecx
push str.CheckProxyAutoConfigTimeout:_Marking_known_bad_as_true___pwszURL___ls__tick_count___d__threshold__500__n
push eax
push 1
push 4
push 0
push 0x1f
push 0
push 0
call fcn.00451380
add esp, 0x28
jmp 0x4d8634
sub eax, edi
cmp eax, 0x1f4
jb 0x4d855d
mov cl, 1
jmp 0x4d855f
and dword [ebp - 0x30], 0xff0fffff
xor eax, eax
push str.CheckProxyAutoConfigTimeout:_Looks_good__marking_known_bad_as_false_n
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 4
push 0
push 0x1f
push 0
mov byte [ebp - 0x2d], 0
and dword [ebp - 0x30], 0xfff00000
push 0
call fcn.00451380
add esp, 0x20
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d86a5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov esp, ebp
pop ebp
ret
and dword [ebp - 0x30], 0xff0fffff
xor eax, eax
push str.CheckProxyAutoConfigTimeout:_we_dont_have_a_WinHttpDetectAutoProxyConfigUrl_t_function__so_marking_known_bad_as_true_n
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 4
push 0
push 0x1f
push 0
mov byte [ebp - 0x2d], 0
and dword [ebp - 0x30], 0xfff00000
push 0
mov byte [0x7e1a6c], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 3
call fcn.00451380
add esp, 0x20
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1320
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x108]
push 0x100
push 0
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 0x11c], 0x11c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
call fcn.00554100
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 6], ax
mov dword [ebp - 4], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x118], 6
mov esi, 1
mov dword [ebp - 0x114], 1
push eax
mov word [ebp - 8], si
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
mov ecx, 0x81
cmove ecx, esi
push ecx
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [edi], eax
pop edi
pop esi
cmp eax, 0xffffffff
jne 0x4e13ee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4ec460
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
cmp dword [0x82a4b4], 0
jne 0x4ec476
xor eax, eax
jmp 0x4ec489
lea eax, [ebp - 8]
push eax
push 6
push str.CUDPSocket::BSend
call fcn.00540320
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc0]
push 0x80
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
call fcn.004c36c0
cmp dword [0x82a4b4], 0
mov ebx, eax
mov dword [ebp - 4], 0
jne 0x4ec4c5
xor eax, eax
jmp 0x4ec4d8
lea eax, [ebp + 0x18]
push eax
push 6
push str.WSASendTo__no_IOCP_
call fcn.00540320
add esp, 0xc
push 0
push 0
push ebx
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0xc0]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov ecx, dword [ebp + 0x18]
mov ebx, eax
test ecx, ecx
je 0x4ec50e
push ecx
call fcn.005402e0
add esp, 4
lock inc dword [0x7e1cc4]
mov eax, dword [0x7e1cc4]
cmp eax, dword [0x7e1cc8]
jle 0x4ec527
mov dword [0x7e1cc8], eax
test ebx, ebx
jns 0x4ec5a8
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
push esi
call fcn.004eb820
and dword [ebp - 0x3c], 0xff0fffff
xor ecx, ecx
push eax
push esi
push str.UDPSocket::BSend_received_error__d___s__from_WSASendTo_n
lea eax, [ebp - 0x40]
mov byte [ebp - 0x39], 0
and dword [ebp - 0x3c], 0xfff00000
push eax
push 3
push 4
push ecx
push 0xb
push ecx
push ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
call fcn.00451380
add esp, 0x2c
lock dec dword [0x7e1cc4]
call fcn.0053aa60
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
xor bl, bl
jmp 0x4ec614
cmp dword [ebp - 4], esi
je 0x4ec5c9
push str.cubSent__cubPkt
push 0x19f
push str.C:_buildworker_steam_rel_client_win32_build_srccommonudpsocket.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4ec5c9
int3
lock dec dword [0x7e1cc4]
call fcn.0053aa60
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add dword [0x7e1bb8], 1
mov eax, esi
cdq
mov ecx, 0x7e2378
adc dword [0x7e1bbc], 0
add dword [0x7e1bc0], eax
push edx
adc dword [0x7e1bc4], edx
push eax
call fcn.004f0a10
mov ecx, 0x7e2380
call fcn.004f0a30
mov bl, 1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4ec624
push ecx
call fcn.005402e0
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ee730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [0x82a4b4], 0
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
jne 0x4ee74d
xor eax, eax
jmp 0x4ee760
lea eax, [ebp - 8]
push eax
push 6
push str.CWebSocketConnection::BBuildAndAsyncSendFrame
call fcn.00540320
add esp, 0xc
cmp dword [ebx + 0x10], 2
mov dword [ebp - 8], eax
je 0x4ee770
xor bl, bl
jmp 0x4ee8e3
push 0x40
push 0xe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004aa600
cmp byte [ebx + 0x126], 0
mov dword [ebp - 4], 0
mov byte [ebp + 0xf], 0
je 0x4ee7a6
lea eax, [ebp - 4]
mov byte [ebp + 0xf], 0x80
push 4
push eax
call fcn.004fce20
add esp, 8
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x40]
and al, 0xf
or al, 0x80
movzx eax, al
push eax
call fcn.004abf90
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x40]
cmp ebx, 0x7e
jl 0x4ee7ff
mov al, byte [ebp + 0xf]
cmp ebx, 0xffff
jle 0x4ee7e9
or al, 0x7f
movzx eax, al
push eax
call fcn.004abf90
mov eax, ebx
lea ecx, [ebp - 0x40]
cdq
push edx
push eax
call fcn.004ac080
jmp 0x4ee80f
or al, 0x7e
movzx eax, al
push eax
call fcn.004abf90
push ebx
lea ecx, [ebp - 0x40]
call fcn.004ac2d0
jmp 0x4ee80f
mov al, bl
and al, 0x7f
or al, byte [ebp + 0xf]
movzx eax, al
push eax
call fcn.004abf90
cmp byte [ebp + 0xf], 0
je 0x4ee820
push dword [ebp - 4]
lea ecx, [ebp - 0x40]
call fcn.004ac1c0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x64]
push esi
push 0
add eax, ebx
push eax
push 0
call fcn.004aa520
push dword [ebp - 0x30]
lea ecx, [ebp - 0x64]
push dword [ebp - 0x40]
call fcn.004ab4f0
cmp byte [ebp + 0xf], 0
je 0x4ee871
mov eax, dword [ebp - 4]
xor esi, esi
bswap eax
mov dword [ebp + 0xc], eax
test ebx, ebx
jle 0x4ee87b
mov eax, esi
lea ecx, [ebp - 0x64]
and eax, 3
mov al, byte [ebp + eax + 0xc]
xor al, byte [edi + esi]
push eax
call fcn.004ab530
inc esi
cmp esi, ebx
jl 0x4ee855
jmp 0x4ee87b
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.004ab4f0
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x64]
push eax
call fcn.004ee970
cmp dword [ebp - 0x5c], 0
mov bl, al
pop esi
jl 0x4ee8b5
cmp dword [ebp - 0x64], 0
je 0x4ee8ae
call fcn.0053aa60
push 0
push dword [ebp - 0x64]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x38], 0
jl 0x4ee8e0
cmp dword [ebp - 0x40], 0
je 0x4ee8d9
call fcn.0053aa60
push 0
push dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4ee8f0
push eax
call fcn.005402e0
add esp, 4
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f0390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004eebc0
Function at 0x4fe7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4fe800
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
not eax
test edi, edi
je 0x4fe842
lea ecx, [ecx]
mov cl, byte [esi]
lea esi, [esi + 1]
movzx edx, cl
mov ecx, edx
shr edx, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [ecx*4 + 0x710520]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor edx, ecx
xor eax, dword [edx*4 + 0x710520]
sub edi, 1
jne 0x4fe810
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4fefe0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x4ff0c0
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x4ff0c0
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ecx + 0x10]
jae 0x4ff0c0
cmp dword [ecx + 0x14], 1
jne 0x4ff0c0
mov eax, dword [edx + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [edx]
je 0x4ff0c0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4ff0c0
mov dword [esi], ebx
mov eax, dword [ecx + 0x38]
push 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
movzx eax, word [edi + 4]
mov word [esi + 8], ax
movzx eax, word [edi + 6]
mov word [esi + 0xa], ax
movzx eax, word [edi + 8]
mov word [esi + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [esi + 0xe], ax
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
push eax
call fcn.004fe850
mov dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
movzx eax, word [edi + 0x24]
mov word [esi + 0x28], ax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x2a]
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
mov dword [esi + 0x34], 0
mov byte [esi + 0x3c], 0
mov byte [esi + 0x140], 0
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x502280
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
cmp word [0x71c518], 1
push ebx
push esi
push edi
jne 0x5022be
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
jmp 0x5023c1
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
movzx ebx, byte [ecx + 7]
movzx esi, byte [ecx + 0xb]
shl edx, 8
or edx, eax
shl esi, 8
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
shl ebx, 8
movzx eax, byte [ecx]
shl edx, 8
or edx, eax
movzx edi, byte [ecx + 0x17]
movzx eax, byte [ecx + 6]
or ebx, eax
shl edi, 8
movzx eax, byte [ecx + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0xa]
or esi, eax
movzx eax, byte [ecx + 9]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xe]
mov dword [ebp - 4], esi
movzx esi, byte [ecx + 0xf]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xd]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xc]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x12]
mov dword [ebp - 8], esi
movzx esi, byte [ecx + 0x13]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x11]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x10]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x16]
or edi, eax
movzx eax, byte [ecx + 0x15]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x14]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1a]
mov dword [ebp - 0xc], edi
movzx edi, byte [ecx + 0x1b]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x19]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x18]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1e]
mov dword [ebp - 0x10], edi
movzx edi, byte [ecx + 0x1f]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1d]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1c]
shl edi, 8
or edi, eax
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ffffff
shr edx, 0x1a
mov dword [ecx], eax
mov eax, ebx
shl eax, 6
or edx, eax
shr ebx, 0x13
and edx, 0x1ffffff
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 0xd
or eax, ebx
shr edx, 0xd
mov ebx, dword [ebp - 8]
and eax, 0x3ffffff
mov dword [ecx + 8], eax
mov eax, ebx
shl eax, 0x13
or eax, edx
shr ebx, 6
mov edx, dword [ebp - 0xc]
and eax, 0x1ffffff
mov dword [ecx + 0xc], eax
mov eax, esi
and eax, 0x1ffffff
shr esi, 0x19
mov dword [ecx + 0x14], eax
mov eax, edx
shl eax, 7
or esi, eax
mov dword [ecx + 0x10], ebx
mov ebx, dword [ebp - 0x10]
and esi, 0x3ffffff
mov eax, ebx
shr edx, 0x13
shl eax, 0xd
or eax, edx
shr ebx, 0xc
and eax, 0x1ffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], eax
mov eax, edi
shl eax, 0x14
or eax, ebx
shr edi, 6
and eax, 0x3ffffff
and edi, 0x1ffffff
mov dword [ecx + 0x24], edi
pop edi
pop esi
mov dword [ecx + 0x20], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov edx, 0x811c9dc5
mov eax, dword [edi + 4]
mov dword [ebp + 0x14], eax
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp + 0x18]
cmp ecx, eax
jne 0x52f477
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
dec ecx
and ecx, edx
cmp dword [eax + ecx*8], 0
lea esi, [eax + ecx*8]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
jne 0x52f4bf
mov eax, dword [esi + 4]
test eax, eax
je 0x52f4b6
push eax
call fcn.00533a30
add esp, 4
test eax, eax
jne 0x52f4bf
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x52f4f2
push 0x20
push ebx
call fcn.0052f400
add esp, 8
mov dword [esi + 4], eax
test eax, eax
jne 0x52f4e1
pop edi
pop esi
mov eax, 0xfffffc7b
pop ebx
pop ebp
ret
push ebx
push 4
push 0x52f440
push eax
call fcn.00533680
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x52f510
push eax
add eax, 4
push eax
push 0
push dword [esi + 4]
call fcn.00533700
add esp, 0x10
test eax, eax
jne 0x52f522
mov dword [esi], eax
push edi
lea eax, [edi + 4]
push eax
push 0
push dword [esi + 4]
call fcn.00533700
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x52f8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
mov edx, 0x811c9dc5
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp]
cmp ecx, eax
jne 0x52f8f5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
dec ecx
and ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
test eax, eax
je 0x52f928
cmp dword [eax + 4], esi
je 0x52f923
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
test eax, eax
je 0x52f921
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00533a40
add esp, 0xc
movq xmm0, qword [eax]
movq qword [ebp - 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [ebp - 8], edx
cmp dword [ecx + 8], edx
jne 0x52f95c
cmp dword [ecx], 0
je 0x52f921
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
imul eax, edx
mov eax, dword [eax + ecx + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x52f921
lea eax, [ebp - 0x10]
push eax
call fcn.005339f0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52fa60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
mov edx, 0x811c9dc5
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp]
cmp ecx, eax
jne 0x52fa74
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
dec ecx
and ecx, edx
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
test ecx, ecx
je 0x52fab1
cmp dword [ecx + 4], edi
jne 0x52fad4
mov dword [eax], 0
dec dword [esi + 8]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
test eax, eax
je 0x52fad4
lea ecx, [ebp + 0xc]
push ecx
push 0
push eax
call fcn.00533b40
add esp, 0xc
test eax, eax
jne 0x52fad9
dec dword [esi + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffe0b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x534290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
xor eax, 0x811c9dc5
imul edx, ecx, 0x1000193
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
add eax, eax
xor eax, edx
pop ebp
ret 4