joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa75900
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa8ff7b
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x418
test eax, eax
push 0x104
jne 0xa75957
lea eax, [esp + 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00a221b0
lea ecx, [esp + 0x210]
push 0x5c
push ecx
call fcn.00a7e1b5
add esp, 8
mov word [eax], 0
jmp 0xa75968
lea edx, [esp + 0x214]
push eax
push edx
call fcn.00a7e178
add esp, 0xc
lea eax, [esp + 0x210]
push eax
call fcn.00a7e07a
add esp, 4
test eax, eax
jne 0xa75991
lea ecx, [esp + 0x210]
push 0xa9e664
push ecx
call fcn.00a7e270
add esp, 8
push esi
push edi
lea ecx, [esp + 8]
call fcn.00a155c0
mov esi, dword [esp + 0x434]
mov dword [esp + 0x428], 0
mov ecx, esi
call fcn.00a15bd0
mov edi, dword [esp + 0x430]
lea edx, [esp + 0x218]
push edi
push edx
push str._ls....modules_resource_ls
push esi
call fcn.00a16060
mov eax, dword [esi + 8]
add esp, 0x10
push eax
call fcn.00a1fd60
test al, 0x10
je 0xa75aaa
mov eax, dword [esi + 8]
push eax
push edi
lea eax, [esp + 0x10]
push str.Could_not_locate_file__ls__searched_these_locations:_n_ls_n
push eax
call fcn.00a16060
add esp, 0x10
mov ecx, esi
call fcn.00a15bd0
lea ecx, [esp + 0x218]
push edi
push ecx
push str._ls_resource_ls
push esi
call fcn.00a16060
mov eax, dword [esi + 8]
add esp, 0x10
push eax
call fcn.00a1fd60
test al, 0x10
je 0xa75aaa
mov eax, dword [esi + 8]
lea edx, [esp + 8]
push eax
push str._ls_n
push edx
call fcn.00a16060
mov al, byte [esp + 0x444]
add esp, 0xc
test al, al
je 0xa75a6c
push 0
push str.LocateFile_failed
lea ecx, [esp + 0x10]
call fcn.00a15680
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00a15a90
lea ecx, [esp + 8]
mov dword [esp + 0x428], 0xffffffff
call fcn.00a155e0
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
add esp, 0x424
ret
lea ecx, [esp + 8]
mov dword [esp + 0x428], 0xffffffff
call fcn.00a155e0
mov ecx, dword [esp + 0x420]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x424
ret

Function at 0xa79630
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0xaf7640]
test eax, eax
jne 0xa79687
mov eax, dword [0xaf7644]
test eax, eax
jne 0xa79689
push str.kernel32
call fcn.00a222a0
test eax, eax
mov dword [0xaf7644], eax
je 0xa79671
push str.GetUserDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0xaf7640], eax
jne 0xa79687
push str.Failed_to_get_address_of_GetUserDefaultUILanguage
jmp 0xa79676
push 0xab160c
call fcn.00a79310
mov eax, dword [0xaf7640]
add esp, 4
test eax, eax
je 0xa79689
jmp eax
jmp dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
Function at 0xa79690
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0xaf7648]
test eax, eax
jne 0xa796e7
mov eax, dword [0xaf764c]
test eax, eax
jne 0xa796f4
push str.kernel32
call fcn.00a222a0
test eax, eax
mov dword [0xaf764c], eax
je 0xa796d1
push str.GetSystemWindowsDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0xaf7648], eax
jne 0xa796e7
push str.Failed_to_get_address_of_GetSystemWindowsDirectoryW
jmp 0xa796d6
push 0xab160c
call fcn.00a79310
mov eax, dword [0xaf7648]
add esp, 4
test eax, eax
je 0xa796f4
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ecx
push edx
call eax
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
ret

Function at 0xa79880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x18
push eax
push edi
xor ebp, ebp
call fcn.00a23120
mov esi, eax
test esi, esi
je 0xa7992b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0xa7991e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0xa7990a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x474
mov edi, eax
call fcn.009ef380
add esp, 4
test eax, eax
je 0xa798e0
mov ecx, eax
call fcn.00a79740
mov esi, eax
jmp 0xa798e2
xor esi, esi
push edi
push ebx
mov ecx, esi
call fcn.00a79940
test eax, eax
jne 0xa79932
test esi, esi
je 0xa79903
mov ecx, esi
call fcn.00a79760
push esi
call fcn.00a7d8f0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push str.Unable_to_lock_manifest_resource
call fcn.009fe320
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str.Unable_to_load_manifest_resource
call fcn.009fe320
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0xa799b0
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jne 0xa799e9
shr ax, 8
mov ecx, 1
cmp al, cl
jne 0xa799d8
mov dword [0xaf7650], 0
mov dword [0xaf7654], ecx
ret
cmp al, 2
jne 0xa79a01
mov dword [0xaf7650], ecx
mov dword [0xaf7654], ecx
ret
cmp al, 6
jb 0xa79a01
mov dword [0xaf7650], 2
mov dword [0xaf7654], 1
ret
Function at 0xa7a1c0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0xaf7650]
sub esp, 0x208
push ebp
xor ebp, ebp
push esi
push edi
test eax, eax
mov esi, ecx
je 0xa7a23c
cmp eax, 1
je 0xa7a23c
cmp word [esi + 0x18], bp
lea edi, [esi + 0x18]
jne 0xa7a201
push 0x104
push edi
call fcn.00a79690
lea eax, [esi + eax*2 + 0x18]
push str.WinSxSManifests_
push eax
call fcn.00a7e270
add esp, 0x10
lea ecx, [esp + 0xc]
push edi
push ecx
call fcn.00a7e270
lea edx, [esp + 0x14]
push edx
call fcn.00a7e07a
mov ecx, dword [esp + 0x224]
lea eax, [esp + eax*2 + 0x18]
push eax
push ecx
call fcn.00a79a10
lea edx, [esp + 0x20]
push str..manifest
push edx
call fcn.00a7e246
add esp, 0x1c
jmp 0xa7a297
push ebx
lea edi, [esi + 0x18]
push 0x104
push edi
call fcn.00a79690
mov ebx, eax
push str.WinSxSPolicies_
lea eax, [esi + ebx*2 + 0x18]
push eax
call fcn.00a7e270
mov edx, dword [esp + 0x22c]
lea ecx, [esi + ebx*2 + 0x3a]
push ecx
push edx
call fcn.00a79a10
push 0xa9e7a4
push edi
call fcn.00a7e246
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00a7e270
lea ecx, [esp + 0x38]
push str..Policy
push ecx
call fcn.00a7e246
add esp, 0x30
pop ebx
lea edx, [esi + 0x224]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.009f4a50
cmp eax, 0xffffffff
mov dword [esi + 0x220], eax
je 0xa7a2e5
mov ecx, dword [esp + 0x21c]
add esi, 0x250
push esi
push edi
push ecx
call fcn.00a7e270
add esp, 8
push eax
call fcn.00a7e246
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x208
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0xa7a2f9
call esi
cmp eax, 3
jne 0xa7a316
mov edx, dword [esp + 0x21c]
pop edi
pop esi
mov eax, 1
mov word [edx], 0
pop ebp
add esp, 0x208
ret 8
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x208
ret 8
Function at 0xa8175a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0xab2028
cmp edx, dword [eax]
je 0xa8177c
add eax, 8
inc ecx
cmp eax, 0xab20b8
jl 0xa8176d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0xab2028]
jne 0xa818aa
mov eax, dword [0xaf767c]
cmp eax, 1
je 0xa81884
test eax, eax
jne 0xa817ad
cmp dword [0xab1c5c], 1
je 0xa81884
cmp edx, 0xfc
je 0xa818aa
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xa817e4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00a849d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00a80940
inc eax
pop ecx
cmp eax, 0x3c
jbe 0xa81827
lea eax, [ebp - 0x1a4]
push eax
call fcn.00a80940
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0xa91bbc
push edi
call fcn.00a7e8d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00a849d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00a849e0
lea eax, [ebp - 0xa0]
push 0xa91bb8
push eax
call fcn.00a849e0
push dword [esi + 0xab202c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00a849e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00a848b2
add esp, 0x2c
pop edi
jmp 0xa818aa
lea eax, [ebp + 8]
lea esi, [esi + 0xab202c]
push 0
push eax
push dword [esi]
call fcn.00a80940
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40596d
pop dword [ebp - 0x50]
mov eax, 0xb5054a31
add eax, 0x4b3b0f3c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x3bd4928c
add dword [ebp - 0x60], 0x127db2bf
mov dword [ebp - 0x5c], 0x8a17c2e8
sub dword [ebp - 0x5c], 0x57e476a3
mov dword [ebp - 0x58], 0x6d0703bc
sub dword [ebp - 0x58], 0x20babf8e
mov dword [ebp - 0x54], 0xdfaf192d
sub dword [ebp - 0x54], 0xdfaf192d
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x7d75ac6a
add dword [ebp - 0x60], 0xf6fcbcec
mov dword [ebp - 0x5c], 0xfbba1d74
add dword [ebp - 0x5c], 0x45b24401
mov dword [ebp - 0x58], 0xf9003c19
add dword [ebp - 0x58], 0x6a6f3053
mov dword [ebp - 0x54], 0x719176e3
sub dword [ebp - 0x54], 0x719176e3
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x7f8cf3b
add eax, 0xf847a1c5
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38fd3
push 0
call eax
mov ecx, 0x5117
xor edi, edi
add edi, eax
mov ebx, 0xf8087e9e
sub ebx, 0xf7c77e9e
add ebx, dword [ebp - 0x50]
mov edx, 0xc1a7ae0a
sub edx, 0x6f4b53e0
xor dword [ebp - 4], 0x99c0ff41
mov esi, dword [ebx]
sub dword [ebp - 0x3c], 0xcd47490b
xor esi, edx
xor dword [ebp - 0x10], 0xc747b55d
mov dword [edi], esi
mov dword [ebp - 0x28], 0xb1adc85d
add edi, 4
add ebx, 4
loop 0x405a86
add eax, 0xf7e987f9
add eax, 0x817af36
mov ebx, eax
add eax, 0x40dbaff5
sub eax, 0x40dbaff0
mov ecx, 0xd8ee46b6
add ecx, 0x2751b94a
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x5c04ff90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x5c04ffce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x5c04ffc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x5c04ffd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x5c04ffb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5c0500c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x5c0500d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x5c0500f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x5c0701a2
Capabilities:
Encode data using xor

Disassembly:
call 0x5c07011b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x5c07014b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x5c070167
xor edx, 0
jmp 0x5c070172
xor edx, edx
jmp 0x5c070189
jmp 0x5c070195
xor eax, eax
push 0x8427d7c0
call 0x5c0701a2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x5c0701de
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x5c0701b7
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x5c0701f5
add eax, 0
jno 0x5c0701fa
add esi, 0
ret 0x10
Function at 0x5c070f63
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x5c070f85
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x5c071127
cmp edi, dword [ebp + 0x10]
jb 0x5c071127
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.5c070a4f
inc edi
jmp 0x5c07100e
jmp 0x5c07101b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c070a4f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c070a4f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x5c07106f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x5c071053
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.5c07109d
add dword [eax], 0x39
jle 0x5c071079
sub al, 0xf5
mov ch, al
call fcn.5c0710b2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x5c072d8a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x5c072da0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x5c072db1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c072df2
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x5c07515e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x5c0750a7
add ebx, 0
push ecx
call 0x5c0750bc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c5bd27d
sub ebx, dword [0x6c5dcabc]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5dcaac
call fcn.5c070b86
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.5c070094
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x5c07521a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x5c07521a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x5c0751d1
mov eax, 1
lock xchg dword [0x6c5dcab8], eax
push 0x3dd1fc71
call 0x5c07515e
push esi
add esp, 8
cmp eax, 0
jne 0x5c075147
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x5c07516d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x5c075182
cmp ecx, edx
cmp eax, 0
je 0x5c0751a7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x5c075191
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.5c0751c0
dec eax
loope 0x5c0751c3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c5dcab8], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x5c0751f7
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x5c07520c
jmp 0x5c075217
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x5c075105
Function at 0x5c07c27f
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x5c07c555
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c5c9730
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c5c06f6
push 0xffffffffffffffff
call fcn.5c07347f
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x5c07c2e9
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.5c07c301
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x5c07c549
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x5c07c51d
Function at 0x5c08bd4f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c08bd71
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c08bd71
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c08bd71
ret
cmp word [ebx + 4], 0x14c
jne 0x5c08bd71
test word [ebx + 0x16], 2
je 0x5c08bd71
test word [ebx + 0x16], 0x100
je 0x5c08bd71
cmp word [ebx + 0x18], 0x10b
jne 0x5c08bd71
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c08bd71
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c08bdfd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c08bd91
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c072cdc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c08bd71
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x5c08bdfd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c08bd71
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c08bd71
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c08bd71
ret
cmp word [ebx + 4], 0x14c
jne 0x5c08bd71
test word [ebx + 0x16], 2
je 0x5c08bd71
test word [ebx + 0x16], 0x100
je 0x5c08bd71
cmp word [ebx + 0x18], 0x10b
jne 0x5c08bd71
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c08bd71
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c08bdfd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c08bd91
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c072cdc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c08bd71
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x5c08beb4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c08bf0d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c08beb4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c08bec3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c491b66
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c08bf14
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c072d8a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c08bfb3
add edi, 4
add eax, 2
dec ecx
jne 0x5c08bef9
call 0x5c08bf60
loope 0x5c08bf56
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c08bfb0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c08bfc1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c08bf74
cmp eax, ecx
ja 0x5c08bf74
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c08bffe
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c08bff4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c073269
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]