joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a8489
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x34]
neg eax
sub dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x14]
add ecx, dword [ebp - 4]
add ecx, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x5a84d2
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, dword [ebp - 0x10]
jle 0x5a8534
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
ja 0x5a852b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
cmp eax, dword [ebp + 0xc]
jbe 0x5a852b
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 0x20
je 0x5a8524
mov eax, 1
jmp 0x5a853b
xor eax, eax
jmp 0x5a853b
add dword [ebp - 8], 0x28
jmp 0x5a84cf
xor eax, eax
jmp 0x5a853b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5a8c4d
Capabilities:
Set global application hook
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
cmp dword [0x5ad584], 0
jne 0x5a8d75
mov dword [0x5ad584], 1
dec word [0x5ad594]
inc dword [0x5ad9fc]
cmp dword [0x5ad9fc], 5
jbe 0x5a8cbd
call fcn.005aa680
mov dword [0x5ada00], eax
cmp dword [0x5ad9f8], 0
je 0x5a8cb3
cmp dword [0x5ada00], 0
je 0x5a8cb3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x5ad9fc], 0
call fcn.005a9d9a
test eax, eax
je 0x5a8ce7
xor eax, eax
mov ax, word [0x5ad594]
test eax, eax
jne 0x5a8d52
call fcn.005a9dfa
test eax, eax
jne 0x5a8d52
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0x5ad1f8
call fcn.005a9c35
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x5aa1b0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5ad5a8], eax
push 0x2000
push 0x5ad170
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x5ad5a8]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov word [0x5ad594], 0
jmp 0x5a8cbd
xor eax, eax
mov ax, word [0x5ad594]
test eax, eax
jne 0x5a8d6b
mov word [0x5ad594], 0xa
mov dword [0x5ad584], 0
jmp 0x5a8d7a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x416ac0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 4
imul ecx, eax, 0x2856
mov edx, dword [ecx + 0x495f00]
not edx
cmp edx, 0x6e5415fd
jle 0x416b2d
mov eax, 4
imul ecx, eax, 0x326
mov edx, dword [ecx + 0x495f00]
add edx, 1
mov dword [ebp - 8], edx
mov eax, 4
imul ecx, eax, 0x326
mov edx, dword [ebp - 8]
mov dword [ecx + 0x495f00], edx
mov eax, dword [ebp - 8]
or eax, 0xdf082703
cmp eax, 0x814d9b46
jle 0x416b2d
mov ecx, 2
imul edx, ecx, 0x2c0a
movsx eax, word [edx + 0x48fba0]
mov ecx, dword [0x48f308]
push ecx
call fcn.00401140
add esp, 4
mov edx, 2
imul eax, edx, 0x2816
movsx ecx, word [eax + 0x48fba0]
or ecx, 0x98b1d01e
mov dword [ebp - 0x10], ecx
mov edx, 2
imul eax, edx, 0x2816
mov cx, word [eax + 0x48fba0]
sub cx, 1
mov edx, 2
imul eax, edx, 0x2816
mov word [eax + 0x48fba0], cx
cmp dword [ebp - 0x10], 0xfffffeff
jge 0x416c23
mov ecx, 4
imul edx, ecx, 0x1218
mov eax, dword [edx + 0x495f00]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, 4
imul edx, ecx, 0x1218
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x495f00], eax
mov ecx, dword [ebp - 0xc]
xor ecx, 0xa89edf48
mov edx, 2
imul eax, edx, 0x2b14
movsx edx, word [eax + 0x48fba0]
and edx, 0xe61660ca
or edx, 0xe370953a
cmp edx, ecx
jne 0x416c23
mov eax, 2
imul ecx, eax, 0x13c1
mov dx, word [ecx + 0x48fba0]
sub dx, 1
mov word [ebp - 2], dx
mov eax, 2
imul ecx, eax, 0x13c1
mov dx, word [ebp - 2]
mov word [ecx + 0x48fba0], dx
mov ecx, 4
imul edx, ecx, 0x670
mov ecx, dword [edx + 0x495f00]
push 1
call fcn.00465b80
mov eax, 2
imul ecx, eax, 0xd1a
mov edx, 4
imul eax, edx, 0x20bf
mov edx, dword [eax + 0x495f00]
shl edx, 9
and edx, 0x7ca8a0e8
xor edx, 0x5259018
movsx eax, word [ecx + 0x48fba0]
xor eax, edx
mov ecx, 2
imul edx, ecx, 0xd1a
mov word [edx + 0x48fba0], ax
mov esp, ebp
pop ebp
ret
Function at 0x43b7a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0x124e
mov edx, dword [ecx + 0x495f00]
sub edx, 0x454df755
mov eax, 4
imul ecx, eax, 0x124e
mov dword [ecx + 0x495f00], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0x1f0d
mov ecx, dword [eax + 0x495f00]
and ecx, 0xa42c1cc5
mov edx, 4
imul eax, edx, 0x1f0d
mov dword [eax + 0x495f00], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0
mov eax, 4
imul ecx, eax, 0x2527
mov edx, dword [ecx + 0x495f00]
or edx, 0xd21f8b2d
mov dword [ebp - 0xc], edx
mov eax, 4
imul ecx, eax, 0x2527
mov edx, dword [ecx + 0x495f00]
add edx, 1
mov eax, 4
imul ecx, eax, 0x2527
mov dword [ecx + 0x495f00], edx
cmp dword [ebp - 0xc], 0x4515d633
jne 0x43b8a2
mov edx, 4
imul eax, edx, 0x2cd9
mov ecx, 4
imul edx, ecx, 0x13b1
mov ecx, dword [edx + 0x495f00]
not ecx
or ecx, 0xa1004940
mov edx, dword [eax + 0x495f00]
xor edx, ecx
mov eax, 4
imul ecx, eax, 0x2cd9
mov dword [ecx + 0x495f00], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 8], 0x67452301
mov edx, 2
imul eax, edx, 0x21e7
movsx ecx, word [eax + 0x48fba0]
sub ecx, 0x6eb58c72
mov edx, 2
imul eax, edx, 0x21e7
mov word [eax + 0x48fba0], cx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0xefcdab89
mov eax, 4
imul ecx, eax, 0x2d5d
mov edx, dword [ecx + 0x495f00]
add edx, 1
mov dword [ebp - 8], edx
mov eax, 4
imul ecx, eax, 0x2d5d
mov edx, dword [ebp - 8]
mov dword [ecx + 0x495f00], edx
cmp dword [ebp - 8], 0xe3fdbffd
jge 0x43b950
mov eax, 2
imul ecx, eax, 0x172e
movsx edx, word [ecx + 0x48fba0]
sub edx, 0x453b7ca3
mov eax, 2
imul ecx, eax, 0x172e
mov word [ecx + 0x48fba0], dx
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 8], 0x98badcfe
mov ecx, 4
imul edx, ecx, 0x117e
mov eax, dword [edx + 0x495f00]
or eax, 0xc12fc772
mov ecx, 4
imul edx, ecx, 0x117e
mov dword [edx + 0x495f00], eax
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0x10325476
mov eax, 4
imul ecx, eax, 0xd55
mov edx, 4
imul eax, edx, 0xd33
imul edx, dword [eax + 0x495f00], 0xc781ad7
sub edx, 0x4da21b7c
mov eax, dword [ecx + 0x495f00]
imul eax, edx
mov ecx, 4
imul edx, ecx, 0xd55
mov dword [edx + 0x495f00], eax
mov esp, ebp
pop ebp
ret
Function at 0x46d225
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e8e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004672fc
mov dword [ebp - 0x14], eax
cmp dword [0x4a3164], esi
jne 0x46d318
push 0x800
push esi
push 0x484260
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46d2a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46d3f8
push esi
push esi
push 0x484260
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46d3f8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d3f8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a3164], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a3168], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a316c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a3174], eax
test eax, eax
je 0x46d315
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a3170], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46d33d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d330
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46d352
push 4
pop eax
jmp 0x46d3fa
cmp dword [ebp - 0x14], esi
je 0x46d352
push dword [0x4a3164]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46d337
mov eax, dword [0x4a3170]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46d3b0
cmp dword [0x4a3174], edi
je 0x46d3b0
push eax
call ebx
push dword [0x4a3174]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46d3b0
test eax, eax
je 0x46d3b0
call ecx
test eax, eax
je 0x46d3a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46d3a5
test byte [ebp - 8], 1
jne 0x46d3b0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46d3e0
mov eax, dword [0x4a3168]
cmp eax, edi
je 0x46d3dd
push eax
call ebx
test eax, eax
je 0x46d3dd
call eax
mov esi, eax
test esi, esi
je 0x46d3dd
mov eax, dword [0x4a316c]
cmp eax, edi
je 0x46d3dd
push eax
call ebx
test eax, eax
je 0x46d3dd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a3164]
call ebx
test eax, eax
je 0x46d3f8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46d3fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d077
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x9e7d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x9e7d53
mov eax, 1
jmp 0x9e7e5e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x9e7d69
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x9e7d73
mov eax, 2
jmp 0x9e7e5e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x9e7d9e
mov eax, 1
jmp 0x9e7e5e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x9e7dc4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x9e7dc4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x9e7dce
mov eax, 2
jmp 0x9e7e5e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.009fa210
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x9e7e0f
mov eax, 3
jmp 0x9e7e5e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x9e7e5c
mov eax, 1
jmp 0x9e7e5e
xor eax, eax
pop ebp
ret

Function at 0x9e8800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x9e8816
xor eax, eax
jmp 0x9e8856
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x9e883b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x9e883f
xor eax, eax
jmp 0x9e8856
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.009e8860
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x9faf50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x9faf80
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x9faf93
xor eax, eax
jmp 0x9fb051
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x9fafae
xor eax, eax
jmp 0x9fb051
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x9fafcc
xor eax, eax
jmp 0x9fb051
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x9fb00e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x9fb04f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.009fa230
add esp, 8
test eax, eax
jne 0x9fb04d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x9fb051
jmp 0x9fb005
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5dc7ef
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5dc80a
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a1a2f]
pop edx
test eax, eax
je 0x5dc8dc
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5dc8cb
test dword [ebp - 0x2a8], 1
jne 0x5dc8cb
and dword [ebp - 0x2a8], 0x100
jne 0x5dc8cb
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3a84]
pop edx
pop esi
test eax, eax
je 0x5dc86e
jmp 0x5dc8cb
cmp word [esi], 0x5a4d
jne 0x5dc8cb
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5dc8cb
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3aac]
pop edx
test eax, eax
je 0x5dc8cb
lea eax, [ebp - 0x28c]
push eax
call fcn.005dc74b
test eax, eax
jne 0x5dc8c4
jmp 0x5dc8cb
mov eax, esi
jmp 0x5dc8dc
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5dc80a
pop esi
leave
ret 4
Function at 0x402fe0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ebx
mov ebx, dword [0x4110e8]
push ebp
mov ebp, dword [0x4110ec]
push esi
mov esi, dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 0
call fcn.00402fb0
mov eax, dword [0x4110f0]
mov edx, dword [0x4110f4]
add dword [esp + 0x24], 0x23f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov edi, 0x20
mov dword [esp + 0x18], 2
add dword [esp + 0x18], 3
mov eax, dword [0x4cb12c]
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x403061
mov dword [0x4cb128], 0xedeb2e40
jmp 0x40307f
cmp eax, 0x3eb
jne 0x40307f
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x4c8030], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
mov dword [0x4cb124], 0xf4ea3dee
call fcn.00402fc0
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor dword [esp + 0x14], ecx
cmp dword [0x4cb12c], 0x213
jne 0x40310b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTimerQueueTimer]
sub esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, esi
mov dword [esp + 0x34], esi
call fcn.00402fa0
add dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov edx, esi
shr edx, cl
add edx, ebp
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
call fcn.00402fd0
lea eax, [esp + 0x24]
call fcn.00402f90
sub edi, 1
mov ecx, dword [esp + 0x28]
jne 0x403031
mov eax, dword [esp + 0x40]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x2c
ret 4
Function at 0x409fce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410b90]
jne 0x409fd8
repz ret
jmp fcn.0040c238

Function at 0x40a133
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.00405f7d
and dword [ebp - 4], 0
cmp dword [0x44b480], 0
mov ebx, eax
jne 0x40a1e4
push 0x401b70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a295
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b64
push edi
call esi
test eax, eax
je 0x40a295
push eax
call fcn.00405f0b
mov dword [esp], 0x401b54
push edi
mov dword [0x44b480], eax
call esi
push eax
call fcn.00405f0b
mov dword [esp], 0x401b40
push edi
mov dword [0x44b484], eax
call esi
push eax
call fcn.00405f0b
mov dword [esp], 0x401b24
push edi
mov dword [0x44b488], eax
call esi
push eax
call fcn.00405f0b
pop ecx
mov dword [0x44b490], eax
test eax, eax
je 0x40a1e4
push 0x401b0c
push edi
call esi
push eax
call fcn.00405f0b
pop ecx
mov dword [0x44b48c], eax
mov eax, dword [0x44b48c]
cmp eax, ebx
je 0x40a23c
cmp dword [0x44b490], ebx
je 0x40a23c
push eax
call fcn.00405f86
push dword [0x44b490]
mov esi, eax
call fcn.00405f86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a23c
test edi, edi
je 0x40a23c
call esi
test eax, eax
je 0x40a233
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a233
test byte [ebp - 0xc], 1
jne 0x40a23c
or dword [ebp + 0x10], 0x200000
jmp 0x40a275
mov eax, dword [0x44b484]
cmp eax, ebx
je 0x40a275
push eax
call fcn.00405f86
pop ecx
test eax, eax
je 0x40a275
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a275
mov eax, dword [0x44b488]
cmp eax, ebx
je 0x40a275
push eax
call fcn.00405f86
pop ecx
test eax, eax
je 0x40a275
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b480]
call fcn.00405f86
pop ecx
test eax, eax
je 0x40a295
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a297
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408230
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4282b4]
jne 0x40823a
repz ret
jmp fcn.00415980
Function at 0x41d3f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
cmp dword [0x444c50], 0x37
jne 0x41d467
push str.royotetazimiwefovulakubujuhabu_zotoredamojukimoyejiliwuyafuyopi_hetahefemabekepuvagulefeg
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push 0
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push str.ginamupacuzejujutahasimovemoz
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x444c54]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov edx, dword [0x43c69c]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [edx], cl
mov esp, ebp
pop ebp
ret 4