joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e20c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x48e282
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.00487258
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4df0c8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x48e21c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48e2d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov ebp, ecx
dec ebp
test ebp, ebp
jl 0x48e349
inc ebp
mov esi, edx
mov di, word [ebx + 0xc]
or di, 2
movzx eax, di
xor di, 1
movzx edx, di
imul edx
shr eax, 8
mov edi, eax
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.00487258
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4df0c8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
mov eax, edi
xor byte [esi], al
inc esi
dec ebp
jne 0x48e2e0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48e394
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
mov eax, dword [eax]
call fcn.0042339c
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x48e431
mov eax, edi
call fcn.0048e350
mov eax, dword [edi + 0x38]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [edi + 0x10]
mov eax, dword [edi + 0x38]
mov eax, dword [eax]
mov ecx, 0xc
mov ebx, dword [eax]
call dword [ebx + 8]
xor esi, esi
mov eax, edi
call fcn.0048e288
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.0048e530
inc esi
cmp esi, 0xc
jne 0x48e3dd
cmp byte [edi + 0x20], 0
je 0x48e40b
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x48e421
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x48e41b
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x48e41f
xor ebx, ebx
jmp 0x48e421
mov bl, 1
test bl, bl
jne 0x48e42e
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x48e441
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x48e3b2
test bl, bl
jne 0x48e456
mov dl, 1
mov eax, dword [0x4846d4]
call fcn.00485390
call fcn.00404074
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x48e460
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, eax
mov eax, ebp
call fcn.0048e350
xor esi, esi
mov eax, pe_nt_image_headers32
call fcn.00403164
mov ebx, eax
mov eax, ebp
call fcn.0048e288
mov edi, eax
and edi, 0xff
lea edx, [ebp + 4]
mov eax, ebx
call fcn.0048e530
mov eax, edi
xor bl, al
mov byte [ebp + esi + 0x10], bl
inc esi
cmp esi, 0xa
jne 0x48e46f
mov eax, ebp
call fcn.0048e350
xor esi, esi
mov eax, ebp
call fcn.0048e288
mov edi, eax
and edi, 0xff
lea edx, [ebp + 4]
mov al, byte [ebp + esi + 0x10]
call fcn.0048e530
mov eax, edi
xor byte [ebp + esi + 0x10], al
inc esi
cmp esi, 0xa
jne 0x48e4ab
mov eax, ebp
call fcn.0048e288
mov edi, eax
and edi, 0xff
lea edx, [ebp + 4]
mov al, byte [ebp + 0x1e]
call fcn.0048e530
mov eax, edi
xor al, byte [ebp + 0x1e]
mov byte [ebp + 0x1a], al
mov eax, ebp
call fcn.0048e288
mov edi, eax
and edi, 0xff
lea edx, [ebp + 4]
mov al, byte [ebp + 0x1f]
call fcn.0048e530
mov eax, edi
xor al, byte [ebp + 0x1f]
mov byte [ebp + 0x1b], al
lea edx, [ebp + 0x10]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov ecx, 0xc
mov ebx, dword [eax]
call dword [ebx + 0xc]
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48e530
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.00487258
mov esi, eax
mov dword [edi], esi
and esi, 0xff
add dword [edi + 4], esi
imul esi, dword [edi + 4], 0x8088405
inc esi
mov dword [edi + 4], esi
mov eax, esi
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.00487258
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
ret
Function at 0x49071c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp esi, 1
jl 0x49072f
cmp esi, 9
jle 0x490734
mov esi, 5
mov eax, dword [ebx + 0x2050]
xor ecx, ecx
mov edx, 0x8000
call fcn.00403144
lea eax, [esi + esi*2]
lea eax, [eax*2 + 0x4de666]
mov dx, word [eax + 1]
mov word [ebx + 0x20d0], dx
xor edx, edx
mov dl, byte [eax]
mov dword [ebx + 0x2040], edx
movzx edx, word [eax + 3]
mov dword [ebx + 0x2044], edx
movzx eax, byte [eax + 5]
or word [edi], ax
mov word [ebx + 0x203c], 0
xor eax, eax
mov dword [ebx + 0x2094], eax
mov edx, dword [ebx + 0x2048]
mov ecx, 0x8000
mov eax, ebx
call fcn.0048f4cc
mov word [ebx + 0x2090], ax
cmp byte [ebx + 0x2058], 0
jne 0x4907fe
jmp 0x4907b2
mov eax, ebx
call fcn.0048f900
cmp word [ebx + 0x2090], 0x106
jae 0x4907c6
cmp byte [ebx + 0x2058], 0
je 0x4907ab
mov word [ebx + 0x20d2], 0
xor eax, eax
movzx edx, ax
mov ecx, dword [ebx + 0x2048]
movzx edx, byte [ecx + edx]
mov cx, word [ebx + 0x20d2]
shl ecx, 5
xor dx, cx
and dx, 0x7fff
mov word [ebx + 0x20d2], dx
inc eax
cmp ax, 2
jne 0x4907d1
pop edi
pop esi
pop ebx
ret

Function at 0x496c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496cf5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404cd4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404950
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404cd4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00496af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496cfc
lea eax, [ebp - 0xc]
call fcn.00404698
ret
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x647f68
push eax
push dword fs:[0]
jg 0x401068
add byte [eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
mov ecx, 0xd4e4027f
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
mov ebx, 0xa4e81020
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [edi], edx
stosd dword es:[edi], eax
loop 0x4010a6
shr byte [edx - 0x45d61c4d], 1
arpl word [edi - 0x278de9a], dx
sub dword [edx + 0x21669763], edi
xchg ebp, edi
jo 0x4010b7
adc byte [ebx - 0x7b], dh
jae 0x40102e
xlatb
in al, dx
scasd eax, dword es:[edi]
rol dword [0xffffd0cf], 1
fisub dword [edx + 0x3d]
xchg edi, eax
xchg ebp, eax
push 0xa7e35ce0
iretd
loopne 0x401115
jecxz 0x401062
jmp 0x4010fb
and dh, byte es:[esp + ebp*4 - 0x23]
pop edx
enter 0xffffffffffffeae3, 0xffffffffffffff98
stosd dword es:[edi], eax
add eax, 0x6eeca138
out 0x20, eax
fcomp qword [edi + ecx*8 - 0x11]
aas
dec edi
sub bh, byte [eax + 0x37]
xor edx, dword [edx]
rol byte [eax + 0x43], 0xbe
call 0x994340fd
sub dword [edx + edx*8], 0x59
or byte [ebp + 0x4d], 0x13
mov ebp, 0x837088a5
in al, 0xcf
sti
sub dword [eax - 0x26fb9b57], esp
stosd dword es:[edi], eax
xlatb
mov byte [0xfd0f3f20], al
push ebp
cmp byte [esi + esi*2 - 0xf8a4bf2], dh
out dx, eax
in eax, 0x55
iretd
add dword [edi], eax
jp 0x401155
fnstenv [esi]
rcr dword [esi + ecx - 0x3170fcc3], 0xaa
dec ecx
cld
inc edx
inc eax
push ecx
lds edx, [ecx - 0x55b53a8b]
cld
test byte [ebp + edx*4 + 0x19], dh
push cs
loop 0x4010bd
add ebp, dword [ebp - 0x39]
jg 0x401198
fcom qword [0x6d805a99]
fidiv dword [ebx - 7]
inc ebp
movsd dword es:[edi], dword [esi]
xchg ecx, eax
rcl dl, cl
xor esp, dword [ecx - 0x3e5e23c6]
and cl, byte [edx - 0x55]
pop ss
cmp byte [ebp + 0x15], dl
aas
pop edx
sbb dl, dh
push ebp
adc eax, 0xd61a5a3f
dec edx
or al, dl
retf 0x6e55
invalid
Function at 0x403836
Capabilities:
Create pipe
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4d5838]
mov ecx, dword [0x4d478c]
sub esp, 0xc34
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40392f
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x4d5838], 0x959
jne 0x40391d
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402d50
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402d7c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402db0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00403639
add ebx, 8
dec dword [ebp - 4]
jne 0x40385f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40556b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4245bc]
jne 0x405575
repz ret
jmp fcn.004090bc

Function at 0x40c127
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406b6c
and dword [ebp - 4], 0
cmp dword [0x4263b4], 0
mov ebx, eax
jne 0x40c1d8
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c289
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e0
push edi
call esi
test eax, eax
je 0x40c289
push eax
call fcn.00406afa
mov dword [esp], 0x4021d0
push edi
mov dword [0x4263b4], eax
call esi
push eax
call fcn.00406afa
mov dword [esp], 0x4021bc
push edi
mov dword [0x4263b8], eax
call esi
push eax
call fcn.00406afa
mov dword [esp], 0x4021a0
push edi
mov dword [0x4263bc], eax
call esi
push eax
call fcn.00406afa
pop ecx
mov dword [0x4263c4], eax
test eax, eax
je 0x40c1d8
push 0x402188
push edi
call esi
push eax
call fcn.00406afa
pop ecx
mov dword [0x4263c0], eax
mov eax, dword [0x4263c0]
cmp eax, ebx
je 0x40c230
cmp dword [0x4263c4], ebx
je 0x40c230
push eax
call fcn.00406b75
push dword [0x4263c4]
mov esi, eax
call fcn.00406b75
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c230
test edi, edi
je 0x40c230
call esi
test eax, eax
je 0x40c227
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c227
test byte [ebp - 0xc], 1
jne 0x40c230
or dword [ebp + 0x10], 0x200000
jmp 0x40c269
mov eax, dword [0x4263b8]
cmp eax, ebx
je 0x40c269
push eax
call fcn.00406b75
pop ecx
test eax, eax
je 0x40c269
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c269
mov eax, dword [0x4263bc]
cmp eax, ebx
je 0x40c269
push eax
call fcn.00406b75
pop ecx
test eax, eax
je 0x40c269
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4263b4]
call fcn.00406b75
pop ecx
test eax, eax
je 0x40c289
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c28b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40397b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x426154
call fcn.00426058
mov eax, 0x1828
call fcn.0040f5c0
push ebx
push esi
xor esi, esi
cmp dword [0x4d99f8], 0x5b1
push edi
jne 0x403a27
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f34
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x34]
call fcn.00403c88
mov dword [ebp - 4], esi
call fcn.0040482b
push 0x402f60
lea ecx, [ebp - 0x18]
call fcn.00403410
lea ecx, [ebp - 0x18]
call fcn.0040342c
lea ecx, [ebp - 0x18]
call fcn.00403472
lea ecx, [ebp - 0x18]
call fcn.0040348b
push esi
push esi
call fcn.00404d8d
push esi
call fcn.00404d5e
push esi
call fcn.00404d47
push esi
call fcn.00404f3e
add esp, 0x10
mov dword [esp], esi
call fcn.004035c4
fstp st(0)
push esi
call fcn.00404d47
pop ecx
call fcn.00404e58
add dword [0x4d99f8], 0x1134b
push dword [0x4d99f8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4d8948], eax
call fcn.004038c6
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x403a70
inc edi
cmp edi, 0x4f6a4
jl 0x403a50
mov eax, dword [0x4d99f8]
xor ecx, ecx
cmp eax, esi
jbe 0x403a96
mov edx, dword [0x4d99fc]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4d8948]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x403a7b
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403ae5
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f70
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f88
push 0x402fbc
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov eax, dword [0x4d99f8]
inc edi
cmp edi, 0x39621
jl 0x403a98
call fcn.004037b4
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403b01
call fcn.004038ac
inc edi
cmp edi, 0x6753f
jl 0x403af5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4d99f8], 0x86
jne 0x403b5c
push 0x402fcc
push 0x403008
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [ebp - 0x1834]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4d99f8], 0xf
jne 0x403b7d
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x403050
push 0x403094
call edi
dec ebx
jne 0x403b13
push 0x4030cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40563b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42855c]
jne 0x405645
repz ret
jmp fcn.00409e7c
Function at 0x4017e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
clc
jae 0x4017eb
call 0x63d0a4
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x4017f9
call 0x3dcb7c37
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x49f600], eax
mov edx, 0xda4c2ca8
call fcn.00401160
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
call edx
stc
jb 0x401829
jmp 0xe848826f
push 8
call fcn.0040231a
push 4
mov esi, eax
call fcn.0040231a
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401ac0
push 0
push 0
mov dword [eax], 0x4016f0
call fcn.004053af
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x401889
cmp dword [edi], 0
je 0x401896
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x40189d
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040215e
add esp, 0xc
test eax, eax
jne 0x4018a4
pop edi
mov dword [esi], eax
mov dword [esi + 4], eax
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.00401f00
push 1
call fcn.00401f00
push 5
call fcn.00401f00
push 2
call fcn.00401f00
int3

Function at 0x402c87
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402cc6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402cc6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402cc6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402cc6
cmp dword [ecx + 0x74], 0xe
jbe 0x402cc6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407855
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41226c
push 0x412264
push str.FlsAlloc
push 0x1e
call fcn.004076d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407889
push dword [ebp + 8]
mov ecx, esi
call dword [0x410134]
call esi
jmp 0x40788f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4078d3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41227c
push 0x412274
push str.FlsGetValue
push 0x20
call fcn.004076d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40790a
push dword [ebp + 8]
mov ecx, esi
call dword [0x410134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x405490
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ba0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00461efa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405512
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c485
mov eax, dword [eax]
push 0x488b90
push eax
call fcn.0044efca
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462185
test bl, bl
je 0x405512
push 0x488b90
lea ecx, [esp + 0xc]
call fcn.00462561
push 0x488b9c
lea ecx, [esp + 0xc]
call fcn.00462561
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40554e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462185
jmp 0x405619
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4055d2
lea edx, [esp + 0x7c]
push 0x488b98
push edx
call fcn.0044efca
add esp, 8
test eax, eax
je 0x4055d2
lea eax, [esp + 0x7c]
push 0x488b94
push eax
call fcn.0044efca
add esp, 8
test eax, eax
je 0x4055d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405562
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00462185
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x405ea2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x405eb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ba8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48ff80]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x405fe8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405f16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462185
xor eax, eax
jmp 0x40605f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046230e
push esi
lea ecx, [esp + 0xc]
call fcn.0046259d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40603d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00405e40
test eax, eax
jne 0x40603d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.00405e40
test eax, eax
jne 0x40603d
lea eax, [esp + 0x14]
push 0x488bb4
push eax
call fcn.0044f500
mov esi, eax
add esp, 8
test esi, esi
jne 0x40601c
lea ecx, [esp + 0x14]
push 0x488bb0
push ecx
call fcn.0044f480
mov esi, eax
add esp, 8
test esi, esi
jne 0x40601c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40601f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004622be
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405f2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462185
xor eax, eax
jmp 0x40605f
mov byte [esi], 0
push 0x488bac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00462185
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4