joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bfb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00415a0c
xor eax, eax
push ebp
push 0x46bf82
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00405fd8
push eax
mov eax, dword [0x4784c4]
push eax
push 5
push 0
mov eax, dword [0x478108]
push eax
call fcn.00415a24
call fcn.0046a070
xor eax, eax
push ebp
push 0x46bf68
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405fd8
push eax
push 0x477f84
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
call fcn.0046a070
xor eax, eax
push ebp
push 0x46bf4b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push edi
push 0
call fcn.0042bc10
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042bc08
push 0x46bfc8
push esi
push 0x46bfd4
lea eax, [ebp - 0x320]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0x320]
call fcn.00404b7c
mov edx, eax
lea eax, [ebp - 0x111]
call fcn.00409700
mov eax, ebx
call fcn.00404b7c
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 0
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111]
push eax
push 0
push 0
call sub.eClipRect_MultiByteToWideChar
push 0xffffffffffffffff
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0046a070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf52
lea eax, [ebp - 8]
call fcn.00405fd8
ret
Function at 0x471fdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc94
push ebx
xor ecx, ecx
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x47214f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.004096bc
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004029b0
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.004096bc
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.00403240
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x30d]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.eClipRect_CreateProcessA
test eax, eax
jne 0x4720eb
mov dword [ebp - 8], 0xffffffff
push 0
lea edx, [ebp - 0x368]
mov eax, dword [0x478380]
mov eax, dword [eax]
call fcn.00461a48
mov eax, dword [ebp - 0x368]
call fcn.00404b7c
push eax
call sub.eClipRect_GetLastError
lea edx, [ebp - 0x36c]
call fcn.0040bdc8
mov eax, dword [ebp - 0x36c]
call fcn.00404b7c
push eax
mov eax, dword [0x478380]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call fcn.00407234
jmp 0x472121
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.eClipRect_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.eClipRect_GetExitCodeProcess
mov eax, dword [ebp - 0x364]
push eax
call sub.eClipRect_CloseHandle
mov eax, dword [ebp - 0x360]
push eax
call sub.eClipRect_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472156
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4721e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1124], ecx
mov dword [ebp - 0x1110], ecx
mov dword [ebp - 0x110c], ecx
mov dword [ebp - 0x1108], ecx
mov dword [ebp - 0x1104], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x472507
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
cmp dword [ebp - 4], 0
jne 0x472252
lea edx, [ebp - 4]
mov eax, dword [0x478380]
mov eax, dword [eax]
call fcn.00462544
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41681c]
call fcn.0041a690
mov dword [ebp - 0x14], eax
mov cx, 2
mov edx, 0xffffff1a
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x1100]
mov ecx, 0xdc
mov eax, dword [ebp - 0x14]
call fcn.0041a408
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x10fc], eax
lea edx, [ebp - 0x22]
mov ecx, 0xa
mov eax, dword [ebp - 0x14]
call fcn.0041a408
lea eax, [ebp - 0x1104]
lea edx, [ebp - 0x22]
mov ecx, 0xa
call fcn.004047ac
mov eax, dword [ebp - 0x1104]
mov edx, 0x472520
call fcn.00404ac8
jne 0x4724c9
cmp dword [ebp - 0x10c4], 0
jle 0x4724c9
mov edx, dword [ebp - 0x1100]
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
push ebp
push 0x4723a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7ff
lea eax, [ebp - 0x822]
push eax
call sub.eClipRect_GetSystemDirectoryA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x822]
mov ecx, 0x800
call fcn.0040492c
push 0xffff
lea eax, [ebp - 0x1108]
mov ecx, 0x472534
mov edx, dword [ebp - 0xc]
call fcn.004049c8
mov ecx, dword [ebp - 0x1108]
mov dl, 1
mov eax, dword [0x41681c]
call fcn.0041a690
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x472388
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10c4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041a478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47238f
mov eax, dword [ebp - 0x18]
call fcn.0040396c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47250e
lea eax, [ebp - 0x1124]
call fcn.004046bc
lea eax, [ebp - 0x1110]
mov edx, 4
call fcn.004046e0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4725e0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.eClipRect_GetVersionExA
test eax, eax
je 0x47268d
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x47263f
dec ecx
jne 0x472686
cmp eax, 4
jg 0x472619
mov eax, dword [0x478034]
jmp 0x472692
cmp eax, 5
jne 0x472629
test edx, edx
jne 0x472629
mov eax, dword [0x478038]
jmp 0x472692
cmp eax, 5
jne 0x472638
dec edx
jne 0x472638
mov eax, dword [0x47803c]
jmp 0x472692
mov eax, dword [0x478020]
jmp 0x472692
cmp eax, 4
jne 0x47264f
test edx, edx
jne 0x47264f
mov eax, dword [0x478024]
jmp 0x472692
cmp eax, 4
jne 0x47266e
cmp edx, 0xa
jne 0x47266e
cmp byte [esp + 0x15], 0x41
jne 0x472667
mov eax, dword [0x47802c]
jmp 0x472692
mov eax, dword [0x478028]
jmp 0x472692
cmp eax, 4
jne 0x47267f
cmp edx, 0x5a
jne 0x47267f
mov eax, dword [0x478030]
jmp 0x472692
mov eax, dword [0x478020]
jmp 0x472692
mov eax, dword [0x478020]
jmp 0x472692
mov eax, dword [0x478020]
add esp, 0x94
ret

Function at 0x472cb3
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.eClipRect_GetCurrentThread
push eax
call sub.DC_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x472c60
call sub.eClipRect_GetLastError
cmp eax, 0x3f0
jne 0x472c60
lea eax, [esp + 4]
push eax
push 8
call sub.eClipRect_GetCurrentProcess
push eax
call sub.DC_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x472cf7
mov eax, 0x400
call fcn.0040279c
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.DC_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.eClipRect_CloseHandle
test ebx, ebx
je 0x472cf0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x478068
call sub.DC_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x472ce6
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.DC_EqualSid
test eax, eax
je 0x472ce2
mov byte [esp], 1
jmp 0x472ce6
inc edi
dec ebx
jne 0x472cc9
mov eax, dword [esp + 0xc]
push eax
call sub.DC_FreeSid
mov eax, esi
call fcn.004027bc
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x472d04
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
push esp
push 0x26
mov eax, dword [0x479e54]
call fcn.00448e00
push eax
call fcn.0042bc10
mov eax, 0xff
call fcn.0040279c
mov ebx, eax
push ebx
mov eax, dword [esp + 4]
push eax
call fcn.0042bc08
mov eax, esi
mov edx, ebx
call fcn.004048b4
mov eax, ebx
call fcn.004027bc
pop edx
pop esi
pop ebx
ret

Function at 0x472d48
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x105
lea eax, [esp + 4]
push eax
call sub.eClipRect_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040982c
add esp, 0x108
pop ebx
ret
Function at 0x472d74
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.eClipRect_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040982c
add esp, 0x108
pop ebx
ret

Function at 0x4731f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x4732ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
call fcn.0042bc10
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0042bc08
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040492c
cmp dword [ebp - 0xc], 0
je 0x4732be
mov eax, dword [ebp - 0xc]
call fcn.0040497c
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x47327d
lea eax, [ebp - 0xc]
mov edx, 0x473300
call fcn.00404984
push dword [ebp - 0xc]
lea edx, [ebp - 0x11c]
mov eax, 0x47330c
call fcn.00464620
push dword [ebp - 0x11c]
push 0x47331c
push dword [ebp - 4]
push 0x473328
lea eax, [ebp - 0x118]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x118]
call fcn.00409240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732f3
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x473690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x47385e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0xb
push 0
call fcn.0042bc10
call fcn.0046a070
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0042bc08
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040492c
cmp dword [ebp - 0xc], 0
je 0x473830
mov eax, dword [ebp - 0xc]
call fcn.0040497c
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x47373f
lea eax, [ebp - 0xc]
mov edx, 0x473874
call fcn.00404984
push dword [ebp - 0xc]
push 0x473880
push dword [ebp - 4]
push 0x473874
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404a3c
push dword [ebp - 0xc]
lea edx, [ebp - 0x11c]
mov eax, 0x473894
call fcn.00464620
push dword [ebp - 0x11c]
push 0x4738a4
push dword [ebp - 4]
push 0x4738b0
lea eax, [ebp - 0x118]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x118]
call fcn.00409240
push dword [ebp - 0xc]
lea edx, [ebp - 0x124]
mov eax, 0x4738c0
call fcn.00464620
push dword [ebp - 0x124]
push 0x4738b0
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0x120]
call fcn.00409240
push dword [ebp - 0xc]
lea edx, [ebp - 0x12c]
mov eax, 0x4738d0
call fcn.00464620
push dword [ebp - 0x12c]
push 0x4738a4
push dword [ebp - 4]
push 0x4738b0
lea eax, [ebp - 0x128]
mov edx, 5
call fcn.00404a3c
mov eax, dword [ebp - 0x128]
call fcn.00409240
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
call fcn.004093a0
mov eax, dword [ebp - 0x130]
call fcn.0040960c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473865
lea eax, [ebp - 0x130]
mov edx, 7
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046bc
lea eax, [ebp - 4]
call fcn.004046bc
ret

Function at 0x475dc0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x475e46
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 2
call fcn.00402c44
mov eax, dword [ebp - 4]
call fcn.00404b7c
mov edx, eax
lea eax, [ebp - 8]
call fcn.004048b4
mov eax, dword [ebp - 8]
call fcn.00409240
mov eax, dword [ebp - 4]
call fcn.00409030
test al, al
jne 0x475de4
push 4
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x478380]
mov eax, dword [eax]
call fcn.00462544
mov eax, dword [ebp - 0xc]
call fcn.00404b7c
push eax
call sub.eClipRect_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e4d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e0
ret
Function at 0x41676e
Capabilities:
Encode data using xor

Disassembly:
sub dword [ebx], edi
mov byte [0xd323ea27], al
adc eax, 0x93e6a150
xor al, 0x26
fist dword [edx + 0x47a56b8b]
cmp al, 0xa5
push 0x20
xor eax, 0x65b15243
xchg esp, eax
xchg esp, eax
mov dword [eax + ebp*8 + 0x5dcc25d7], eax
or al, 0xa4
jo 0x4167b6
jle 0x41680c
mov bl, 0x6c
stosd dword es:[edi], eax
pop es
invalid
mov bl, 0x32
xchg esp, eax
int3
repe scasd eax, dword es:[edi]
add al, 0xb7
adc al, 0x7c
mov dh, 0x92
xor al, 0x31
mov dl, 0x44
fisub dword [esi - 0x352beb8d]
adc dword ds:[ebx], 0xae5844a1
aad 0x87
sub ch, byte [esi + 0x20bc1120]
pop ss
jecxz 0x41685d
jl 0x41678a
mov ah, 0xf2
inc ecx
adc cl, bl
cmpsd dword [esi], dword es:[edi]
inc ecx
adc al, 0xb2
push esp
mov cl, 0xaa
pop edi
xor edx, 0xd6fb4698
jo 0x4167ec
invalid
loopne 0x4167bf
movsb byte es:[edi], byte [esi]
call 0x11fc14d5
add al, 0x4b
adc dword [ebx + ecx*2], eax
sbb eax, 0x6a0c2ef
daa
xchg esp, eax
jl 0x4167ea
jecxz 0x4167fb
and dh, bl
hlt
xor byte [edx], dh
cmp edx, esp
jno 0x416802
into
inc esp
sbb byte [ebp + 0x34], cl
js 0x416857
pop ebx
retf

Function at 0x417ed0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x5fe030]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0x5fe034]
or ecx, eax
mov dword [esp], ecx
fild qword [esp]
fadd qword [0x5fe058]
fstp qword [0x5fe058]
call fcn.00417e10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
cmp ecx, 5
mov eax, edx
jne 0x417f2f
cmp eax, 1
jae 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
ja 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
mov dword [0x600fc8], 0x7f
add esp, 8
ret
Function at 0x5f5ae9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fe3a0
cmp edx, dword [eax]
je 0x5f5b0b
add eax, 8
inc ecx
cmp eax, 0x5fe430
jl 0x5f5afc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fe3a0]
jne 0x5f5c39
mov eax, dword [0x605d38]
cmp eax, 1
je 0x5f5c13
test eax, eax
jne 0x5f5b3c
cmp dword [0x5fe2c8], 1
je 0x5f5c13
cmp edx, 0xfc
je 0x5f5c39
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f5b73
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f64d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f6960
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f5bb6
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f6960
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fab74
push edi
call fcn.005f8830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f64d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f64e0
lea eax, [ebp - 0xa0]
push 0x5fab54
push eax
call fcn.005f64e0
push dword [esi + 0x5fe3a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f64e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f87a4
add esp, 0x2c
pop edi
jmp 0x5f5c39
lea eax, [ebp + 8]
lea esi, [esi + 0x5fe3a4]
push 0
push eax
push dword [esi]
call fcn.005f6960
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 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x717736f8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x9872658
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x5d85df3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6d5d059e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x40897a
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
add edx, 1
sub esi, 0x82b4368b
call fcn.004089a5
mov esi, esi
or esi, esi
xor dword [ebx], eax
inc ebx
sub esi, 0xc520a406
or edx, edx
cmp ebx, edi
jne fcn.0040897a
ret
Function at 0x4016e0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov edx, dword [esp + 0x68]
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x54]
mov ecx, 0xf
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
mov dword [esp + 0x10], 0x3c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x58]
and ecx, 3
mov dword [esp + 0x14], esi
rep stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
mov dword [esp + 0x20], ebx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x5c]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x60]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x64]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x68]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4017f7
push str.InternetCrackUrl
call fcn.00401650
add esp, 4
xor eax, eax
add esp, 0x3c
ret