joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421d24
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x464c
call fcn.004577a0
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0xffffffff
je 0x421d41
mov ecx, dword [esi]
call fcn.004216c7
mov eax, dword [esi]
or dword [esi + 4], 0xffffffff
mov edi, dword [esp + 0x4660]
cmp edi, dword [eax + 4]
jl 0x421d5d
mov eax, 0x10000
jmp 0x421f4f
cmp dword [eax + 0x10], edi
jle 0x421d77
mov ecx, eax
call fcn.0042114f
jmp 0x421d72
mov ecx, dword [esi]
call fcn.00421186
mov eax, dword [esi]
cmp dword [eax + 0x10], edi
jl 0x421d6b
lea eax, [esp + 0x428]
mov ecx, esi
push eax
push edi
call fcn.004218a5
test byte [esp + 0x634], 0x10
jne 0x421f4d
lea edx, [esi + 0x240]
lea ecx, [esp + 0x18]
call fcn.00407269
mov edx, dword [esp + 0x4664]
lea ecx, [esp + 0x18]
call fcn.004220db
mov ax, word [esp + 0x18]
lea edi, [esp + 0x18]
xor ebx, ebx
mov ecx, edi
test ax, ax
je 0x421e90
push 0x2f
pop ebp
push 0x5c
movzx edx, ax
pop ebx
cmp dx, bp
je 0x421ddf
cmp dx, bx
jne 0x421de2
lea edi, [ecx + 2]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x421dd5
lea eax, [esp + 0x18]
push 0
pop ebx
cmp edi, eax
je 0x421e90
mov edx, eax
lea ecx, [esp + 0x220]
call fcn.00407269
lea eax, [esp + 0x18]
sub edi, eax
xor eax, eax
sar edi, 1
mov word [esp + edi*2 + 0x21e], ax
mov ax, word [esp + 0x220]
test ax, ax
je 0x421e48
push 0x2f
pop ecx
cmp ax, cx
je 0x421e48
push 0x5c
pop ecx
cmp ax, cx
je 0x421e48
cmp word [esp + 0x222], 0x3a
mov bh, bl
jne 0x421e4a
mov bh, 1
mov edx, 0x4b1040
lea ecx, [esp + 0x220]
call fcn.0041e7c8
test eax, eax
lea ecx, [esp + 0x220]
mov edx, 0x4b104c
setne bl
call fcn.0041e7c8
test eax, eax
setne al
or al, bl
or al, bh
jne 0x421e8e
lea edx, [esp + 0x220]
lea ecx, [esi + 0x240]
call fcn.00421c85
xor ebx, ebx
push ebx
push dword [esp + 0x638]
lea eax, [esp + 0x20]
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x421ebd
mov eax, 0x200
jmp 0x421f4f
mov edx, dword [esi + 0x23c]
mov ecx, dword [esi]
call fcn.00421370
mov ecx, dword [esi]
lea edx, [esp + 0x658]
push 0x4000
call fcn.004214c8
pop ecx
cmp eax, 0xffffff96
je 0x421f32
test eax, eax
js 0x421f2b
je 0x421f0a
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x421eca
mov ebx, 0x400
jmp 0x421f37
lea eax, [esp + 0x648]
push eax
lea eax, [esp + 0x63c]
push eax
lea eax, [esp + 0x648]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x421f37
mov ebx, 0x5000000
jmp 0x421f37
mov ebx, 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi]
call fcn.004216c7
test ebx, ebx
je 0x421f4d
mov eax, ebx
jmp 0x421f4f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x464c
ret 0x10
Function at 0x4238fe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push ebx
push esi
mov esi, ecx
je 0x42391f
and byte [esi + 0xc], 1
mov al, byte [esi + 0xc]
je 0x42391f
cmp byte [esi + 0x12], 0
je 0x42391f
or al, 6
mov byte [esi + 0xc], al
cmp dword [esi + 4], 0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x423980
push dword [esi + 4]
call ebx
test eax, eax
je 0x423966
cmp dword [ebp + 8], 0
je 0x423966
push dword [ebp + 8]
call ebx
test eax, eax
je 0x423966
cmp byte [ebp + 0xc], 0
je 0x423966
test byte [esi + 0xc], 2
je 0x423966
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00422f04
jmp 0x423980
cmp dword [esi + 4], 0
je 0x423980
push dword [esi + 4]
call ebx
test eax, eax
je 0x423980
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42c190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x42c1f5
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x42c1e8
test ecx, ecx
je 0x42c1f5
test esi, esi
je 0x42c1f5
mov ecx, dword [ebp - 4]
jmp 0x42c1ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x42c265
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x42c258
test ecx, ecx
je 0x42c265
test esi, esi
je 0x42c265
mov ecx, dword [ebp - 4]
jmp 0x42c21b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bd544]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x4c32e0], ecx
inc eax
cmp eax, 0x100
jb 0x42c4c5
cmp eax, 0x800
jae 0x42c593
nop dword [eax]
mov edx, dword [eax*4 + 0x4c2ee0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4c32e0]
mov dword [eax*4 + 0x4c32e0], edx
inc eax
cmp eax, 0x800
jb 0x42c570
mov dword [0x4c32c4], 0x42d700
mov dword [ebp - 0x28], 0x40000
pushfd
pop eax
mov edx, eax
xor eax, dword [ebp - 0x28]
push eax
popfd
pushfd
pop eax
xor eax, edx
push edx
popfd
and dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42c6ce
mov dword [ebp - 0x2c], 0x200000
pushfd
pop eax
mov edx, eax
xor eax, dword [ebp - 0x2c]
push eax
popfd
pushfd
pop eax
xor eax, edx
push edx
popfd
and dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42c6ce
lea eax, [ebp - 0x1c]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
call fcn.0042d890
add esp, 0xc
lea eax, [ebp - 8]
lea edx, [ebp - 0x14]
mov ecx, 1
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042d890
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, ecx
mov eax, ecx
shr edx, 8
and eax, 0xf00
mov edi, edx
and ecx, 0xf0
and edi, 0xff000
and edx, 0xf00
or edi, eax
or edx, ecx
shr edi, 8
xor ecx, ecx
shr edx, 4
mov eax, 0x49d348
xor esi, esi
nop
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x42c667
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x42c667
cmp dword [eax], ebx
je 0x42c676
add esi, 0xc
inc ecx
add eax, 0xc
cmp esi, 0x24
jb 0x42c650
or ecx, 0xffffffff
sub ecx, 0
je 0x42c6a4
sub ecx, 1
je 0x42c693
sub ecx, 1
jne 0x42c6ce
cmp edi, 6
jb 0x42c6ce
jne 0x42c6c4
cmp edx, 0xf
jb 0x42c6ce
jmp 0x42c6c4
cmp edi, 5
jb 0x42c6ce
jne 0x42c6c4
cmp edx, 6
jb 0x42c6ce
cmp edx, 0xa
jmp 0x42c6c2
cmp edi, 6
jb 0x42c6ce
jne 0x42c6c4
cmp edx, 0x1c
je 0x42c6ce
cmp edx, 0x26
je 0x42c6ce
cmp edx, 0x27
je 0x42c6ce
cmp edx, 0x35
je 0x42c6ce
cmp edx, 0x36
je 0x42c6ce
mov dword [0x4c32c4], 0x42d7a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004572b7
mov esp, ebp
pop ebp
ret
Function at 0x430400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x430422
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 8], ebx
nop dword [eax + eax]
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x430449
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x430446
inc eax
cmp eax, ebx
jb 0x430437
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x430527
cmp edx, 2
jbe 0x4304df
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x430516
movzx ecx, byte [eax + 3]
add edi, 5
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
test esi, esi
je 0x4304b6
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4304b4
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 8]
jmp 0x430430
mov ecx, edx
shr esi, cl
test esi, esi
je 0x430462
cmp esi, 4
ja 0x430508
cmp esi, 3
je 0x430508
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x430462
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x430430
mov ebx, dword [ebp - 8]
or esi, 8
mov ecx, dword [ebp - 4]
shr esi, 1
inc edi
jmp 0x430430
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433673
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4336b8
call fcn.00431654
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4336b8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4336d4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004305cf
mov ebx, eax
test edi, edi
je 0x4336d2
test esi, esi
je 0x4336d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x433d91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x433e4f
cmp dword [esi + 0x20], 0
je 0x433e4f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433e4f
cmp dword [ebp + 8], 0
je 0x433e4f
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00431654
push 0x487798
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x433e20
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433e4f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00443bb0
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x433e40
test edi, edi
je 0x433e40
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x433e4b
mov ecx, esi
call fcn.00433b6f
mov eax, ebx
jmp 0x433e51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43843e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48386d
call fcn.004575f8
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x438464
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4384c4
call fcn.00430e63
push eax
lea ecx, [ebp - 0x10]
call fcn.00402490
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x4867a4]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0046d68c
push eax
call fcn.00401607
add esp, 0x14
test esi, esi
je 0x4384b7
push esi
call fcn.0045ea48
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040187a
mov eax, ebx
call fcn.004575c1
ret 8

Function at 0x438cc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x438ced
cmp dword [ebx + 0x80], 0
jne 0x438ced
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00431654
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00438f2d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43df1b
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x43df6e
push esi
push dword [ebp + 8]
call fcn.0043e104
mov edi, eax
test edi, edi
je 0x43df69
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43df69
mov eax, dword [ebp - 8]
jmp 0x43df80
mov eax, dword [ebp + 0x10]
jmp 0x43df80
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x43f50e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x43f558
call fcn.00431654
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43f555
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43f5a8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x43f585
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4867a4]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x43f585
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x43f5a6
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x4867a4]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4765c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047626b

Function at 0x4765cf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004763f5

Function at 0x47a2c2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00479e0f
Function at 0x10003a3b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100095f0
cmp edx, dword [eax]
je 0x10003a5d
add eax, 8
inc ecx
cmp eax, 0x10009680
jl 0x10003a4e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100095f0]
jne 0x10003b8b
mov eax, dword [0x1000a614]
cmp eax, 1
je 0x10003b65
test eax, eax
jne 0x10003a8e
cmp dword [0x1000a618], 1
je 0x10003b65
cmp edx, 0xfc
je 0x10003b8b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003ac5
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10005b60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10003e60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10003b08
lea eax, [ebp - 0x1a4]
push eax
call fcn.10003e60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10008470
push edi
call fcn.10006410
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10005b60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10005b70
lea eax, [ebp - 0xa0]
push 0x10008450
push eax
call fcn.10005b70
push dword [esi + 0x100095f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.10005b70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10006385
add esp, 0x2c
pop edi
jmp 0x10003b8b
lea eax, [ebp + 8]
lea esi, [esi + 0x100095f4]
push 0
push eax
push dword [esi]
call fcn.10003e60
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 0x10003c9c
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10003cd7
Function at 0x10003edb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x10003eb6
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10003eb0
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10003ea1
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10003c5c
adc al, 0xc
jp 0x10003e92
inc ebp
test al, 0x50
call fcn.10003c6c
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10003c21
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10003f4a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10003c5c
ret 0x609f

Function at 0x10004085
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10003c6c
push eax
Function at 0x10004bc4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10003c6c
invalid
call [ecx + 0x50]
Function at 0x42ce50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x42ce5f
pop dword [ebp - 0x2c]
mov eax, 0x42ce5f
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x507d9
push 0
mov eax, 0xb7dc1c0a
add eax, 0x4867a64e
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x5fd10290
sub ecx, 0x5fd0ae32
xor ebx, ebx
add ebx, eax
mov edi, 0xef811643
add edi, 0x10c59bbd
add edi, dword [ebp - 0x2c]
mov edx, 0x647d47c7
xor dword [ebp - 0x1c], 0xac5c2f26
mov esi, dword [edi]
sub esi, edx
sub dword [ebp - 0x14], esi
mov dword [ebx], esi
mov dword [ebp - 0x28], 0xbb84eb1f
add ebx, 0xd3320158
add ebx, 0x2ccdfeac
add edi, 0xa7a848f9
add edi, 0x5857b70b
loop 0x42ceb5
add eax, 0x285de83
sub eax, 0x2849a38
mov ebx, eax
add eax, 0xa9399dd9
add eax, 0x56c6622c
mov ecx, 0x95d3a3fb
sub ecx, 0x9593a3fb
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x42de00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42de5f
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42e380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e431
push 0x208
call main
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x42e431
mov edx, dword [ebp - 0x14]
push edx
call fcn.00414d88
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call main
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e443
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call main
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00414d88
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret