joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494d48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040400c
mov eax, dword [ebp - 8]
call fcn.0040400c
mov eax, dword [ebp - 0xc]
call fcn.0040400c
xor eax, eax
push ebp
push 0x494e17
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x494e30
call fcn.00403e60
lea eax, [ebp - 8]
mov edx, 0x494e30
call fcn.00403e60
lea eax, [ebp - 0xc]
mov edx, 0x494e30
call fcn.00403e60
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00404028
push eax
lea eax, [ebp - 8]
call fcn.00404028
push eax
lea eax, [ebp - 4]
call fcn.00404028
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x494dfc
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x494e3c
call fcn.00403ea4
mov eax, dword [ebp - 0x10]
mov cx, word [0x494e50]
mov dl, 1
call fcn.0044d750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494e1e
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403c00
ret
Function at 0x407f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479088
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4922f8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x407f60
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x407f6c
mov al, 1
jmp 0x40810f
mov dword [ebp - 0x10], 8
call fcn.004034c0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004034c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041ca60
add esp, 8
movzx eax, al
test eax, eax
je 0x407faf
xor al, al
jmp 0x40810f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401e80
mov ecx, eax
call fcn.00408ff0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401880
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401e80
mov ecx, eax
call fcn.00408ff0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040a6a0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40802a
cmp dword [ebp - 0x6c], 1
je 0x408031
cmp dword [ebp - 0x6c], 3
je 0x4080cb
jmp 0x4080e3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401e80
mov ecx, eax
call fcn.00408ff0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x408094
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401e80
mov ecx, eax
call fcn.00408ff0
push eax
call fcn.00445272
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x408094
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004016d0
mov al, byte [ebp - 0x61]
jmp 0x40810f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4080b7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004016d0
mov al, byte [ebp - 0x62]
jmp 0x40810f
cmp dword [ebp - 0x38], 0
jne 0x4080c9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406fb0
jmp 0x4080fb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004016d0
mov al, byte [ebp - 0x63]
jmp 0x40810f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004016d0
mov al, byte [ebp - 0x64]
jmp 0x40810f
jmp 0x407fc2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00442777
mov esp, ebp
pop ebp
ret
Function at 0x40fae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0
lea ecx, [ebp - 0xc]
call fcn.00401bb0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045f220
add esp, 8
push 0x487044
lea ecx, [ebp - 0xc]
call fcn.00418f20
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40fb33
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0xc]
call fcn.00401bf0
mov al, byte [ebp - 0x11]
jmp 0x40fb98
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40fb70
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0xc]
call fcn.00401bf0
mov al, byte [ebp - 0x12]
jmp 0x40fb98
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
setne cl
mov byte [ebp - 0x13], cl
lea ecx, [ebp - 0xc]
call fcn.00401bf0
mov al, byte [ebp - 0x13]
mov esp, ebp
pop ebp
ret 4
Function at 0x420b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0041b630
call fcn.00417130
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420690
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x420c64
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00420690
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
je 0x420ba4
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x420b8f
xor ecx, ecx
jne 0x420b8f
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x420c4b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x420c40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004208c0
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00420b10
add esp, 4
movzx edx, al
test edx, edx
jne 0x420c25
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x420c3e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x420c49
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x420c54
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x420c64
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4234d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4234d9
xor ecx, ecx
jne 0x4234d9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4234fa
mov eax, 0xd
jmp 0x423555
xor eax, eax
jne 0x4234e1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x42350b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x423de0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4922f8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00412420
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423d80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x423e4b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00423f90
mov eax, dword [ebp - 0x224]
jmp 0x423edc
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x423eb1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423de0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x423ea8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00423f90
mov eax, dword [ebp - 0x228]
jmp 0x423edc
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x423e52
lea ecx, [ebp - 0x14]
call fcn.00423f40
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00423fe0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00423f90
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00442777
mov esp, ebp
pop ebp
ret 4
Function at 0x430150
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x496e40], ecx
inc edx
cmp edx, 0x100
jb 0x430152
cmp edx, 0x800
jae 0x430229
lea esp, [esp]
mov eax, dword [edx*4 + 0x496a40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x496e40]
inc edx
mov dword [edx*4 + 0x496e3c], eax
cmp edx, 0x800
jb 0x430200
mov dword [0x495a6c], 0x433000
call fcn.004331d0
test eax, eax
jne 0x430246
mov dword [0x495a6c], 0x4330b0
ret

Function at 0x430310
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x430321
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x43033f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x430376
test ecx, ecx
je 0x43036f
test esi, esi
ja 0x430330
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x430390
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x4303a1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4303bf
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4303f6
test ecx, ecx
je 0x4303ef
test esi, esi
ja 0x4303b0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x4332b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x4922f8]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x14]
push edi
mov ebx, edx
mov edx, dword [eax + 0x10]
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.00435c90
xor edi, edi
add esp, 4
cmp eax, edi
jne 0x43342b
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa8]
mov eax, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x78], eax
nop
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x40000
cmp dword [esp + 0xac], edi
ja 0x433363
jb 0x43335f
cmp ebx, 0x40000
jae 0x433363
mov dword [esp + 0x14], ebx
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
call edx
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x433417
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xb8]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.00435900
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x28], eax
add esp, 0x14
sub ebx, eax
sbb dword [esp + 0xac], 0
test esi, esi
jne 0x433417
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x4333f4
test eax, eax
jne 0x4333dd
cmp edi, dword [esp + 0x4c]
je 0x4333f4
mov edx, dword [ebp + 4]
push eax
push ebp
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x433417
xor edi, edi
jmp 0x433340
cmp ecx, dword [esp + 0xb4]
jne 0x433412
cmp dword [esp + 0x14], 0
jne 0x433412
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x433417
cmp eax, 4
je 0x433417
mov esi, 1
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push eax
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00442777
add esp, 0x90
ret
Function at 0x433450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4922f8]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x433497
mov eax, edi
jmp 0x4335ed
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00433ce0
add esp, 4
cmp eax, ebx
jne 0x4335ed
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x43352c
jb 0x433521
cmp dword [esp + 0xc8], eax
jae 0x43352c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4335d9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00433e90
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x4335d9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x4335be
cmp eax, ebx
jne 0x4335a8
cmp edi, dword [esp + 0x4c]
je 0x4335be
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x433500
jmp 0x4335d9
cmp ecx, dword [esp + 0xd4]
jne 0x4335d4
cmp dword [esp + 0x14], ebx
jne 0x4335d4
cmp dword [esp + 0x20], 1
je 0x4335d9
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00442777
add esp, 0xb0
ret
Function at 0x434180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x43419d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x4341cd
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4341cd
inc edi
cmp edi, ebx
jb 0x4341c0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x4342d5
cmp eax, 3
jbe 0x434200
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x43423b
cmp al, 0xff
je 0x43423b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x4341b3
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x4341e6
movzx ecx, byte [esi + 0x47dc98]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x47dc90], 0
mov al, byte [eax + 4]
je 0x434229
test al, al
je 0x434229
cmp al, 0xff
jne 0x4341e6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x4341b3
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x4342a7
movzx edx, byte [esi + 0x47dc98]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x43428c
cmp bl, 0xff
jne 0x4342a3
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x434260
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x4341b3
pop edi
pop ebx
cmp eax, 3
jbe 0x4342ec
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x441b6d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x494c28], 0
push esi
jne 0x441ae0
call fcn.00441a06
test eax, eax
je 0x441b23
mov eax, dword [0x494c28]
cmp eax, 1
jne 0x441b01
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x441b23
pop esi
ret
push eax
call dword [0x494c30]
test eax, eax
jne 0x441b6b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x441b27
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x494c28]
call dword [0x494c30]
mov edi, eax
test edi, edi
je 0x441b4c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x441b68
mov edi, esi
add esi, 0xff0
push edi
push dword [0x494c28]
call dword [0x494c2c]
add edi, 0x10
cmp edi, esi
jb 0x441b54
mov eax, edi
pop edi
pop esi
ret
jmp 0x441acd

Function at 0x442777
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4922f8]
jne 0x442781
repz ret
jmp fcn.00449e71

Function at 0x45618d
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.0044ae39
and dword [ebp - 4], 0
cmp dword [0x495988], 0
mov ebx, eax
jne 0x45623e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4562ef
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4562ef
push eax
call fcn.0044adc7
mov dword [esp], 0x47dbfc
push edi
mov dword [0x495988], eax
call esi
push eax
call fcn.0044adc7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49598c], eax
call esi
push eax
call fcn.0044adc7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x495990], eax
call esi
push eax
call fcn.0044adc7
pop ecx
mov dword [0x495998], eax
test eax, eax
je 0x45623e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044adc7
pop ecx
mov dword [0x495994], eax
mov eax, dword [0x495994]
cmp eax, ebx
je 0x456296
cmp dword [0x495998], ebx
je 0x456296
push eax
call fcn.0044ae42
push dword [0x495998]
mov esi, eax
call fcn.0044ae42
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x456296
test edi, edi
je 0x456296
call esi
test eax, eax
je 0x45628d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45628d
test byte [ebp - 0xc], 1
jne 0x456296
or dword [ebp + 0x10], 0x200000
jmp 0x4562cf
mov eax, dword [0x49598c]
cmp eax, ebx
je 0x4562cf
push eax
call fcn.0044ae42
pop ecx
test eax, eax
je 0x4562cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4562cf
mov eax, dword [0x495990]
cmp eax, ebx
je 0x4562cf
push eax
call fcn.0044ae42
pop ecx
test eax, eax
je 0x4562cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x495988]
call fcn.0044ae42
pop ecx
test eax, eax
je 0x4562ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4562f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret