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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551610
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], 0
lea ecx, [ebp - 0x264]
call fcn.00418590
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.0050d580
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x24c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0x5c
mov word [ebp - 0x44], dx
mov eax, 0x48
mov word [ebp - 0x42], ax
mov ecx, 0x61
mov word [ebp - 0x40], cx
mov edx, 0x6f
mov word [ebp - 0x3e], dx
mov eax, 0x5a
mov word [ebp - 0x3c], ax
mov ecx, 0x69
mov word [ebp - 0x3a], cx
mov edx, 0x70
mov word [ebp - 0x38], dx
mov eax, 0x5c
mov word [ebp - 0x36], ax
mov ecx, 0x48
mov word [ebp - 0x34], cx
mov edx, 0x61
mov word [ebp - 0x32], dx
mov eax, 0x6f
mov word [ebp - 0x30], ax
mov ecx, 0x5a
mov word [ebp - 0x2e], cx
mov edx, 0x69
mov word [ebp - 0x2c], dx
mov eax, 0x70
mov word [ebp - 0x2a], ax
mov ecx, 0x44
mov word [ebp - 0x28], cx
mov edx, 0x69
mov word [ebp - 0x26], dx
mov eax, 0x73
mov word [ebp - 0x24], ax
mov ecx, 0x70
mov word [ebp - 0x22], cx
mov edx, 0x6c
mov word [ebp - 0x20], dx
mov eax, 0x61
mov word [ebp - 0x1e], ax
mov ecx, 0x79
mov word [ebp - 0x1c], cx
mov edx, 0x2e
mov word [ebp - 0x1a], dx
mov eax, 0x64
mov word [ebp - 0x18], ax
mov ecx, 0x61
mov word [ebp - 0x16], cx
mov edx, 0x74
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x294]
call fcn.00418550
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.0041ead0
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x264]
call fcn.004184d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.004184c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.004184c0
lea edx, [ebp - 0x264]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418510
mov eax, dword [ebp - 0x298]
or eax, 1
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.004184c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret
Function at 0x508180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551680
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x230]
call fcn.00418590
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0050d580
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x260]
call fcn.00418550
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 2
push str.2345SoftMgrconfigpushnotifyhistory
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.0041ead0
add esp, 0xc
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004184d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004184c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.004184c0
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418510
mov eax, dword [ebp - 0x264]
or eax, 1
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004184c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret

Function at 0x5082d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551680
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x230]
call fcn.00418590
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0050d580
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x260]
call fcn.00418550
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 2
push str.2345Pic2345PicDisplay.dat
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.0041ead0
add esp, 0xc
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004184d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004184c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.004184c0
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418510
mov eax, dword [ebp - 0x264]
or eax, 1
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004184c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret
Function at 0x522f9a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00522c5a
Function at 0x52cc40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.0050d580
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x52cc8e
xor al, al
jmp 0x52cce7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x52ccc0
cmp dword [ebp - 0x418], 0
je 0x52ccbc
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x52cce7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00418460
cmp dword [ebp - 0x418], 0
je 0x52cce5
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret

Function at 0x52cf30
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x592174]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x5928f4], 0
jne 0x52cfb2
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0050d580
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52cf93
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5928e4
call fcn.00418820
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0050b067
add esp, 0x214
ret
Function at 0x52d070
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x552078
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x595500]
test eax, eax
jle 0x52d0c1
inc eax
mov dword [0x595500], eax
mov al, 1
jmp 0x52d1b3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.00432ad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00433980
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00432b50
test bl, bl
je 0x52d1a3
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x52d1a3
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x52d19c
inc dword [0x595500]
mov eax, dword [edi]
test eax, eax
je 0x52d146
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x59290c], 0
mov dword [ebp - 0x10], 0
jne 0x52d19c
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.0050d580
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x5928fc
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.00418460
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x52d1b1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0050b067
lea esp, [ebp + 0x210]
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x7d543f28
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x782c333c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x402b01
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
mov eax, dword [0x451020]
xor eax, esp
mov dword [esp + 8], eax
push ebp
push esi
push edi
mov dword [esp + 0xc], edx
mov esi, ecx
push ecx
xor ecx, 0x172a6
add ecx, 0x11385
pop ecx
push esi
push eax
add esp, 4
xor esi, 0x14707
pop esi
push edi
push ebx
add esp, 4
add edi, 0x5f70
sub edi, 0x9556
add edi, 0xa206
pop edi
cmp byte [esi + 9], 0
je 0x402cc1
mov edi, dword [esi + 4]
sub edi, dword [esi]
push ebx
or ebx, 0xc13d
pop ebx
push edi
push esi
add esp, 4
xor edi, 0x921e
and edi, 0x9b43
pop edi
push eax
jmp 0x402b79
jmp 0x402b7e
or eax, 0x114cf
xor eax, 0x1861d
pop eax
je 0x402cc1
and dword [esp + 0x10], 0
push ebx
xor ebx, 0xaec
pop ebx
push edi
push edi
add esp, 4
add edi, 0x87ca
pop edi
push ecx
push eax
add esp, 4
sub ecx, 0x2a65
add ecx, 0xa258
xor ecx, 0xb946
or ecx, 0x9a33
pop ecx
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push dword [esi]
call ebp
test eax, eax
je 0x402cc1
push ebx
mov ebx, dword [esi]
lea eax, [ebx + edi]
cmp ebx, eax
jae 0x402c46
mov ebp, dword [esp + 0x10]
push ecx
push eax
add esp, 4
sub ecx, 0x133ff
call 0x402c0a
add byte [0x3c3b4d4e], bh
dec eax
dec edx
xor eax, 0x4c4833f
pop ecx
push edx
and edx, 0x4841
xor edx, 0xa330
xor edx, 0x10b54
pop edx
mov eax, dword [ebp]
mov ecx, ebp
mov edx, dword [eax]
mov al, byte [esi + 8]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push ebx
call edx
mov eax, dword [esi]
inc ebx
add eax, edi
cmp ebx, eax
jb 0x402bf0
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push eax
add esp, 4
add eax, 0x16f83
sub eax, 0x7366
xor eax, 0xa4d3
xor eax, 0x10574
pop eax
push edi
or edi, 0x38c
and edi, 0x10214
and edi, 0x18229
pop edi
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push dword [esi]
call ebp
pop ebx
test eax, eax
je 0x402cc1
push edi
push ecx
add esp, 4
xor edi, 0x15b44
or edi, 0x10c76
jmp 0x402ca4
pop edi
push ecx
push eax
add esp, 4
xor ecx, 0xdc08
add ecx, 0x9865
or ecx, 0xb58f
pop ecx
mov al, 1
jmp 0x402cc3
xor al, al
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041660f
add esp, 0xc
ret
Function at 0x402c0a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x451020]
xor eax, esp
mov dword [esp + 8], eax
push ebp
push esi
push edi
mov dword [esp + 0xc], edx
mov esi, ecx
push ecx
xor ecx, 0x172a6
add ecx, 0x11385
pop ecx
push esi
push eax
add esp, 4
xor esi, 0x14707
pop esi
push edi
push ebx
add esp, 4
add edi, 0x5f70
sub edi, 0x9556
add edi, 0xa206
pop edi
cmp byte [esi + 9], 0
je 0x402cc1
mov edi, dword [esi + 4]
sub edi, dword [esi]
push ebx
or ebx, 0xc13d
pop ebx
push edi
push esi
add esp, 4
xor edi, 0x921e
and edi, 0x9b43
pop edi
push eax
jmp 0x402b79
jmp 0x402b7e
or eax, 0x114cf
xor eax, 0x1861d
pop eax
je 0x402cc1
and dword [esp + 0x10], 0
push ebx
xor ebx, 0xaec
pop ebx
push edi
push edi
add esp, 4
add edi, 0x87ca
pop edi
push ecx
push eax
add esp, 4
sub ecx, 0x2a65
add ecx, 0xa258
xor ecx, 0xb946
or ecx, 0x9a33
pop ecx
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push dword [esi]
call ebp
test eax, eax
je 0x402cc1
push ebx
mov ebx, dword [esi]
lea eax, [ebx + edi]
cmp ebx, eax
jae 0x402c46
mov ebp, dword [esp + 0x10]
push ecx
push eax
add esp, 4
sub ecx, 0x133ff
call 0x402c0a
add byte [0x3c3b4d4e], bh
dec eax
dec edx
xor eax, 0x4c4833f
pop ecx
push edx
and edx, 0x4841
xor edx, 0xa330
xor edx, 0x10b54
pop edx
mov eax, dword [ebp]
mov ecx, ebp
mov edx, dword [eax]
mov al, byte [esi + 8]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push ebx
call edx
mov eax, dword [esi]
inc ebx
add eax, edi
cmp ebx, eax
jb 0x402bf0
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push eax
add esp, 4
add eax, 0x16f83
sub eax, 0x7366
xor eax, 0xa4d3
xor eax, 0x10574
pop eax
push edi
or edi, 0x38c
and edi, 0x10214
and edi, 0x18229
pop edi
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push dword [esi]
call ebp
pop ebx
test eax, eax
je 0x402cc1
push edi
push ecx
add esp, 4
xor edi, 0x15b44
or edi, 0x10c76
jmp 0x402ca4
pop edi
push ecx
push eax
add esp, 4
xor ecx, 0xdc08
add ecx, 0x9865
or ecx, 0xb58f
pop ecx
mov al, 1
jmp 0x402cc3
xor al, al
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041660f
add esp, 0xc
ret
Function at 0x403183
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x43a8ee
call fcn.00416ea7
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [eax]
test esi, esi
je 0x403219
mov esi, dword [esi]
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.00402e24
mov dword [ebp - 0x20], esi
push 0x1c
mov dword [ebp - 4], edi
call fcn.0041661d
mov esi, eax
lea eax, [ebp - 0x38]
pop ecx
push eax
mov ecx, esi
call fcn.00402d3b
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push edi
push esi
push 0x403896
push edi
push edi
call fcn.0041ba7c
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403221
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040387c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402d08
cmp dword [ebp - 0x18], edi
jne 0x40322b
lea ecx, [ebp - 0x38]
call fcn.00402db9
call fcn.00416e56
ret 4
push 6
mov dword [ebp - 0x18], edi
call fcn.004139bb
call fcn.0041bb0d
int3
Function at 0x403345
Capabilities:
Terminate process

Disassembly:
push 8
push 0x38
mov eax, 0x43a9a8
call fcn.0043990c
mov esi, ecx
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 0x24], al
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402f98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cd5
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00403007
mov dword [ebp - 4], 1
cmp byte [ebp - 0x28], 0
je 0x403410
movzx eax, byte [ebp - 0x38]
sub eax, 1
je 0x403409
sub eax, 3
je 0x403483
sub eax, 1
je 0x4033fc
sub eax, 1
je 0x4033ef
sub eax, 1
je 0x4033df
sub eax, 1
je 0x4033cc
sub eax, 1
jne 0x403410
lea eax, [ebp - 0x34]
push eax
call fcn.004130a1
jmp 0x403410
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403410
push dword [eax + 4]
push dword [eax]
call fcn.00412b67
jmp 0x403410
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403410
push dword [eax]
call fcn.00412d01
jmp 0x403410
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00403231
jmp 0x403410
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00403183
jmp 0x403410
mov ecx, esi
call fcn.004032b0
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x28], 0
je 0x403422
lea ecx, [ebp - 0x34]
call fcn.00402cd5
xor eax, eax
mov byte [ebp - 0x39], 2
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x39]
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402877
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub esi, edx
mov ecx, dword [ecx]
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
call fcn.0040951d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
test al, al
je 0x40348b
call fcn.00402cd5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x40]
jmp 0x40337e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00402cd5
mov eax, dword [0x453ac8]
call dword [eax + 0x70]
mov ecx, dword [ebp - 0x14]
call fcn.004398ea
ret

Function at 0x4037df
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x43a9dc
call fcn.00416ea7
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x14
call fcn.0041661d
mov ecx, dword [esi]
mov edx, eax
mov dword [ebp - 0x14], edx
mov dword [edx], ecx
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 0xc], ebx
mov dword [edx + 0x10], ebx
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 4]
mov dword [ebp - 4], ebx
push esi
push ebx
push edx
push 0x403944
push ebx
push ebx
call fcn.0041ba7c
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x403857
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.00403861
call fcn.00416e56
ret 4
push 6
mov dword [esi], ebx
call fcn.004139bb
int3
Function at 0x407051
Capabilities:
Encode data using xor

Disassembly:
push 0x1dc
mov eax, 0x43b05a
call fcn.00416ea7
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
and dword [ebp - 0x40], 0
mov eax, dword fs:[0x2c]
push 0x33
pop edi
push 2
mov ecx, dword [eax]
mov eax, dword [0x453b5c]
mov dword [ebp - 0x48], esi
pop ebx
cmp eax, dword [ecx + 4]
jle 0x4070f2
push 0x453b5c
call fcn.004167b6
cmp dword [0x453b5c], 0xffffffff
pop ecx
jne 0x4070f2
and dword [ebp - 4], 0
cmp word [0x449ac2], 0
mov eax, dword [str.H5dGYSMZNu_P__]
mov dword [ebp - 0x3c], eax
je 0x4070c9
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add edx, 0x34
xor word [ebp + ecx*2 - 0x3c], dx
inc ecx
cmp ecx, ebx
jl 0x4070b6
lea eax, [ebp - 0x3c]
mov ecx, 0x453b64
push eax
call fcn.00401baa
push 0x43c9b1
call fcn.00416ac8
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x453b5c
call fcn.0041676c
pop ecx
lea ecx, [ebp - 0x20]
call int.004028e5
cmp byte [ebp - 0x17], 0
jne 0x407111
push 0x4493d0
mov ecx, esi
call fcn.00401baa
jmp 0x40748a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 1
push ecx
mov ecx, 0x10101010
pop ecx
push ecx
mov ecx, 0xffff02ff
pop ecx
invalid
mov eax, esi
call fcn.00416e56
ret

Function at 0x4079e6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x407a2e
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4079f6
jmp 0x407a3b
cmp dword [esi], 0x4e0
jb 0x407a3b
call fcn.00407a75
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret