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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x210], 0
or dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x30011fb5
call edi
mov esi, eax
test esi, esi
jle 0x30011fad
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x300120b4
jmp 0x30011fbb
mov esi, dword [ebp - 0x21c]
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x214], 0xffffffff
jne 0x3001206c
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push ebx
push eax
lea eax, [ebp - 0x210]
push 0x30002388
push eax
call fcn.300119ce
mov esi, eax
add esp, 0x18
test esi, esi
jl 0x300120b4
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x214], eax
jne 0x30012056
call edi
test eax, eax
jg 0x30012036
call edi
mov esi, eax
jmp 0x30012046
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, 0x80070050
jne 0x30012052
xor esi, esi
jmp 0x30012056
test esi, esi
jl 0x300120b4
inc dword [ebp - 0x218]
cmp dword [ebp - 0x218], 0x3e8
jl 0x30011fc2
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x3001207e
mov eax, dword [ebp - 0x214]
mov dword [ecx], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x30012097
mov edx, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
mov dword [eax], edx
test esi, esi
jl 0x3001209f
test ecx, ecx
jne 0x300120b4
cmp dword [ebp - 0x214], 0xffffffff
je 0x300120b4
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x210], 0
je 0x300120c8
push dword [ebp - 0x210]
call fcn.300113ed
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.30014af0
leave
ret 0x10

Function at 0x300129e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x30012a2b
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x30012a17
shr edx, 1
xor edx, 0xedb88320
jmp 0x30012a19
shr edx, 1
dec edi
test edi, edi
jg 0x30012a08
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x30012a03
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x30012a4c
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x30012a32
not eax
pop esi
pop ebp
ret 8
Function at 0x300130d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20c], eax
xor eax, eax
push edi
mov dword [ebp - 0x208], eax
mov ebx, 0xffff
mov edi, 0x80070000
lea ecx, [ebp - 0x218]
push ecx
push eax
push eax
push eax
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jle 0x3001313c
and esi, ebx
or esi, edi
test esi, esi
jne 0x300131bc
lea eax, [ebp - 0x208]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jle 0x3001316b
and esi, ebx
or esi, edi
test esi, esi
jl 0x300131d1
push dword [ebp - 0x208]
call fcn.300130d0
mov esi, eax
test esi, esi
jle 0x30013184
and esi, ebx
or esi, edi
test esi, esi
jl 0x300131d1
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jle 0x300131b8
and esi, ebx
or esi, edi
test esi, esi
jl 0x300131d1
jmp 0x300131c4
cmp esi, 0x80070103
je 0x300131cf
test esi, esi
jne 0x300131d1
xor eax, eax
jmp 0x30013101
xor esi, esi
cmp dword [ebp - 0x208], 0
je 0x300131e6
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.30014af0
leave
ret 4

Function at 0x300131f9
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x30013223
xor ebx, ebx
inc ebx
jmp 0x30013270
test eax, eax
push esi
push edi
mov edi, 0xffff
mov esi, 0x80070000
jle 0x30013237
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jl 0x3001326e
push dword [ebp - 4]
call fcn.300130d0
mov ebx, eax
test ebx, ebx
jl 0x3001326e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jle 0x3001326c
and eax, edi
or eax, esi
mov ebx, eax
pop edi
pop esi
cmp dword [ebp - 4], 0
je 0x3001327f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x30013286
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.30005abb
test eax, eax
jl 0x300132f6
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x30013305
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.300155bb
test eax, eax
pop ecx
pop ecx
je 0x300132e6
and word [eax], 0
cmp word [eax + 2], 0
je 0x300132c7
cmp word [ebp - 0x20c], 0
je 0x300132f4
test eax, eax
jne 0x300132b5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.30014af0
leave
ret 8
cmp eax, 2
je 0x3001331f
cmp eax, 3
je 0x3001331f
test eax, eax
jle 0x30013321
and eax, 0xffff
or eax, 0x80070000
jmp 0x30013321
xor eax, eax
cmp eax, 1
je 0x300132b5
jmp 0x300132f6
Function at 0x30013445
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
je 0x30013493
cmp word [edi], ax
je 0x30013493
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push dword [ebp + 0xc]
mov ebx, eax
call esi
lea eax, [ebx + eax + 3]
push eax
push edi
lea eax, [ebp - 4]
push eax
call fcn.300117fc
mov edi, eax
test edi, edi
jl 0x3001360e
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
jmp 0x300134c7
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
add eax, 3
push eax
lea eax, [ebp - 4]
push eax
call fcn.300111a2
mov edi, eax
test edi, edi
jl 0x3001360e
push ebx
push 4
push dword [ebp - 4]
call fcn.30005abb
add ebx, 6
mov dword [ebp + 8], ebx
mov ecx, dword [ebp - 4]
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x300134d9
cmp word [ecx + 2], ax
je 0x30013509
cmp ax, 0x61
jb 0x300134e5
cmp ax, 0x7a
jbe 0x300134f1
cmp ax, 0x41
jb 0x300134ff
cmp ax, 0x5a
ja 0x300134ff
cmp word [ecx + 2], 0x3a
jne 0x300134ff
cmp word [ecx + 4], 0x5c
je 0x30013509
mov edi, 0x80070057
jmp 0x30013611
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x30013524
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 8], eax
push ecx
call esi
mov ecx, dword [ebp - 4]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp + 8]
movzx eax, word [eax]
test ax, ax
je 0x30013611
mov esi, 0x80070000
cmp ax, 0x5c
jne 0x30013553
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 8], edx
je 0x300135f9
cmp ax, 0x5c
mov word [ebx], ax
jne 0x300135f4
push dword [ebp - 8]
and word [ebx + 2], 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x300135c6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
jne 0x300135b5
cmp dword [ebp + 0x14], 0
je 0x300135b1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x300135b1
call edi
mov edi, eax
test edi, edi
jle 0x300135af
and edi, 0xffff
or edi, esi
test edi, edi
jl 0x3001360e
xor edi, edi
jmp 0x300135c6
test eax, eax
jle 0x300135c0
and eax, 0xffff
or eax, esi
mov edi, eax
test edi, edi
jl 0x3001360e
cmp dword [ebp + 0x18], 0
je 0x300135f4
push dword [ebp + 0x18]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x300135f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x300135f2
and edi, 0xffff
or edi, esi
test edi, edi
jl 0x3001360e
mov ecx, dword [ebp - 4]
inc ebx
inc ebx
add dword [ebp + 8], 2
mov eax, dword [ebp + 8]
movzx eax, word [eax]
test ax, ax
jne 0x30013541
jmp 0x30013611
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x3001361b
push ecx
call fcn.300113ed
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x300138ee
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push 0x900
xor ebx, ebx
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x30013944
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x3001393e
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x300139c8
cmp dword [ebp + 0xc], edi
jbe 0x3001398e
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push dword [0x30020410]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x30013986
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x30013984
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x300139c8
add ebx, dword [ebp - 8]
cmp ebx, dword [ebp + 0xc]
jb 0x30013949
cmp dword [ebp + 0x14], edi
je 0x300139c8
push edi
lea eax, [ebp - 8]
push eax
push 2
push dword [0x30020418]
push dword [0x30020410]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x300139c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x300139c8
and esi, 0xffff
or esi, 0x80070000
cmp dword [ebp - 4], edi
je 0x300139d6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x300139df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.30011912
mov ebx, eax
cmp ebx, esi
jl 0x30013a99
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 0xc], eax
jbe 0x30013a60
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
sub eax, esi
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [0x30020410]
call edi
test eax, eax
jne 0x30013a58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x30013a56
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x30013a98
add esi, dword [ebp - 8]
cmp esi, dword [ebp + 0xc]
jb 0x30013a1e
cmp dword [ebp + 0x10], 0
je 0x30013a98
push 0
lea eax, [ebp - 8]
push eax
push 2
push dword [0x30020418]
push dword [0x30020410]
call edi
test eax, eax
jne 0x30013a98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x30013a98
and ebx, 0xffff
or ebx, 0x80070000
pop edi
cmp dword [ebp - 4], 0
je 0x30013aa7
push dword [ebp - 4]
call fcn.300113ed
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x30013c1f
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
cmp dword [0x30020410], 0xffffffff
mov eax, 0x104
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x41c], esi
mov ebx, 0x30002590
je 0x30013d75
cmp dword [0x300217d8], esi
je 0x30013d75
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edi, 0x208
jne 0x30013c95
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.30014b52
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.30011c0e
test eax, eax
jge 0x30013cbf
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x41c], esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x30013ce8
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.30014b52
add esp, 0xc
push esi
call fcn.300147eb
push eax
push 0x30002574
push 1
call fcn.30013b9d
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x41c]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x418]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x30002548
push 1
call fcn.30013b9d
mov eax, dword [0x30020414]
add esp, 0x2c
sub eax, esi
pop edi
je 0x30013d5c
dec eax
je 0x30013d55
dec eax
je 0x30013d4e
dec eax
jne 0x30013d61
mov ebx, 0x30002540
jmp 0x30013d61
mov ebx, 0x30002538
jmp 0x30013d61
mov ebx, 0x3000252c
jmp 0x30013d61
mov ebx, 0x30002524
push ebx
push 0x30002508
push 1
call fcn.30013b9d
add esp, 0xc
xor eax, eax
jmp 0x30013d78
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.30014af0
leave
ret
Function at 0x30014566
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.30014c94
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10010], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x10014], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x10018], eax
mov dword [ebp - 0x10008], edi
mov dword [ebp - 0x1000c], edi
call fcn.30014489
mov esi, eax
cmp esi, edi
jl 0x30014685
push ebx
lea eax, [ebp - 0x10008]
push eax
push edi
push edi
push dword [ebp + 0xc]
push dword [0x300217dc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x80070000
jmp 0x3001463a
push 0
lea eax, [ebp - 0x1000c]
push eax
push 0x10000
lea eax, [ebp - 0x10004]
push eax
push dword [ebp - 0x10010]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x30014616
call edi
mov esi, eax
test esi, esi
jle 0x30014614
and esi, 0xffff
or esi, ebx
test esi, esi
jl 0x30014684
xor esi, esi
cmp dword [ebp - 0x1000c], esi
jbe 0x30014654
push esi
push dword [ebp - 0x1000c]
lea eax, [ebp - 0x10004]
push eax
push dword [ebp - 0x10008]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x300145dd
call edi
mov esi, eax
test esi, esi
jle 0x30014650
and esi, 0xffff
or esi, ebx
test esi, esi
jge 0x300145dd
jmp 0x30014684
push 0
push dword [ebp - 0x10018]
push dword [ebp - 0x10014]
push 2
push dword [ebp - 0x10008]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x30014684
call edi
mov esi, eax
test esi, esi
jle 0x30014684
and esi, 0xffff
or esi, ebx
pop ebx
cmp dword [ebp - 0x10008], 0
je 0x3001469a
push dword [ebp - 0x10008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.30014af0
leave
ret 0x10

Function at 0x30014714
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000005
push dword [ebp + 8]
mov dword [ebp - 4], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x30014759
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x30014757
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x30014765
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x30014af0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30020490]
jne 0x30016bf1
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30021d98], eax
mov dword [0x30021d94], ecx
mov dword [0x30021d90], edx
mov dword [0x30021d8c], ebx
mov dword [0x30021d88], esi
mov dword [0x30021d84], edi
mov word [0x30021db0], ss
mov word [0x30021da4], cs
mov word [0x30021d80], ds
mov word [0x30021d7c], es
mov word [0x30021d78], fs
mov word [0x30021d74], gs
pushfd
pop dword [0x30021da8]
mov eax, dword [ebp]
mov dword [0x30021d9c], eax
mov eax, dword [ebp + 4]
mov dword [0x30021da0], eax
lea eax, [ebp + 8]
mov dword [0x30021dac], eax
mov eax, dword [ebp - 0x320]
mov dword [0x30021ce8], 0x10001
mov eax, dword [0x30021da0]
mov dword [0x30021c9c], eax
mov dword [0x30021c90], 0xc0000409
mov dword [0x30021c94], 1
mov eax, dword [0x30020490]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30020494]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x30021ce0], eax
push 1
call fcn.3001ac97
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30002c70
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x30021ce0], 0
jne 0x30016ce1
push 1
call fcn.3001ac97
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x30019b3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.300163e5
xor ebx, ebx
cmp dword [0x30022154], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x30019c11
push 0x30002dd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x30019b7c
xor eax, eax
jmp 0x30019cd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30002dc4
push edi
call esi
cmp eax, ebx
je 0x30019b75
push eax
call fcn.30016382
mov dword [esp], 0x30002db4
push edi
mov dword [0x30022154], eax
call esi
push eax
call fcn.30016382
mov dword [esp], 0x30002da0
push edi
mov dword [0x30022158], eax
call esi
push eax
call fcn.30016382
mov dword [0x3002215c], eax
lea eax, [ebp - 8]
push eax
call fcn.30015694
test eax, eax
pop ecx
pop ecx
je 0x30019bdf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.30018a15
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x30019c11
push 0x30002d84
push edi
call esi
push eax
call fcn.30016382
cmp eax, ebx
pop ecx
mov dword [0x30022164], eax
je 0x30019c11
push 0x30002d6c
push edi
call esi
push eax
call fcn.30016382
pop ecx
mov dword [0x30022160], eax
mov eax, dword [0x30022160]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x30019c8a
cmp dword [0x30022164], esi
je 0x30019c8a
push eax
call fcn.300163ee
pop ecx
call eax
cmp eax, ebx
je 0x30019c57
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x30022164]
call fcn.300163ee
pop ecx
call eax
test eax, eax
je 0x30019c57
test byte [ebp - 0x18], 1
jne 0x30019c8a
lea eax, [ebp - 0xc]
push eax
call fcn.300156cb
test eax, eax
pop ecx
je 0x30019c72
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.30018a15
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x30019c81
or dword [ebp + 0x10], 0x200000
jmp 0x30019cbb
or dword [ebp + 0x10], 0x40000
jmp 0x30019cbb
mov eax, dword [0x30022158]
cmp eax, esi
je 0x30019cbb
push eax
call fcn.300163ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x30019cbb
mov eax, dword [0x3002215c]
cmp eax, esi
je 0x30019cbb
push dword [ebp - 4]
push eax
call fcn.300163ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x30022154]
call fcn.300163ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x1d9a182c
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x6fe20129
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402558
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040164a
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
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 dword [0x27fffffc], eax

Function at 0x403678
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x403712
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4031e7
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
invalid
invalid
xchg al, bh
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x4036b6
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x4036bb
jmp 0x40300e
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x403702
lea eax, [ebp - 0x714]
push eax
call fcn.0040167c
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00401631
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40370d
jmp 0x403712
jmp 0x40300e
cmp dword [ebp - 0x37c], 0
jne fcn.004037bc
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401848
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x4037a8
lea eax, [ebp - 0x714]
push eax
call fcn.0040167c
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00401711
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]