joyce8/EMBER2024-capa huggingface dataset:
Function at 0xfbf6d6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
ret
xor edx, 0x21123178
lea edx, [edx - 0x367f1288]
cmp edi, ebx
test ah, 0x6a
jmp 0x1059f23
push esi
movsx esi, si
movzx esi, cx
mov si, 0x53e0
push edi
movzx edi, sp
mov esi, 0x7c4e2cda
bswap edi
push eax
movsx eax, bx
movzx eax, sp
push edx
push ecx
rdtsc
push ebx
push ebp
mov dh, 0x4b
cbw
bswap bx
pushfd
not bp
rdtsc
mov eax, 0
cwd
inc dl
push eax
inc bp
bswap ebp
jmp 0xfcaaa0
mov edi, dword [esp + 0x28]
movsx ebx, cx
inc edi
btr bp, 0x2d
rol edi, 1
cmp ebp, 0x40cd1c3c
cmp ax, si
xor edi, 0x3d315af0
bswap edi
dec edi
lea edi, [edi + eax]
mov ebp, esp
rcl bh, cl
sub esp, 0xc0
add esi, 0x2df3700
cmovno ebx, ebx
mov ebx, edi
clc
or esi, esp
mov ecx, 0
rol edx, cl
sub ebx, ecx
rcr dx, 0xc1
lea esi, [0xfcaae9]
lea edi, [edi - 4]
test sp, 0x19fc
cmovb dx, di
mov edx, dword [edi]
stc
xor edx, ebx
not edx
jmp 0xfb3800
bswap edx
cmp ebx, ebp
cmc
test cl, 0xaf
xor ebx, edx
add esi, edx
jmp 0xa1f3b1

Function at 0x1066e02
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x21dd0b50
jmp 0xa206f1
inc eax
cmc
jmp 0x1003db3
mov eax, dword [edi]
clc
cmp cx, sp
xor eax, ebx
jmp 0x1015efb
rol al, 1
cmp edx, esi
neg al
rol al, 1
add al, 0x9e
jmp 0xec4fb1
not al
test eax, ebp
stc
neg al
cmp bl, ch
cmp cx, 0x7678
xor bl, al
mov byte [esp + eax], cl
setae ah
xadd ah, al
movzx eax, dx
sub edi, 4
and eax, ebx
jmp 0xa33788
xor ebx, eax
test di, 0x37d0
add esi, eax
push esi
ret
rol eax, 3
jmp 0xfb028c
inc eax
test dh, 0xc2
jmp 0x9cd276
lds eax, [edx]
add byte [eax], al
add byte [ecx + 0x1ef], al
add byte [edi], cl
xchg edx, eax
les ecx, [edi]
mov dword [0x7b60fe8], eax
test ebx, esi
xor al, bl
jmp 0xeabe9c
mov dword [esp + 0xc], 0xc754cc0e
call fcn.010499c1
aam 0xe5
sub eax, 0x7d24165e
and byte [edi + 0x4f86f87e], al
jp 0x1066dde
int3
sbb dword [ebx - 0xe888421], esi
or dword [edi + eax*4 + 0x331e45ae], ecx
xchg dword [eax - 0x28], ecx
mov edi, 0xc73c78c8
enter 0x3c78, 0xffffffffffffffc7
fst qword [ebx + 0x5205a978]
or al, 0x87
mov eax, dword [0x875ce3d4]
out 0x8e, eax
stc
xor byte [edi - 0x4a6a90cd], al
js 0x1066e35
js 0x1066de0
add eax, 0xa1870c52
aam 0xe3
pop esp
xchg edi, esp
invalid
sti
fsub dword [eax]
sar dword [0x80b12eb2], 0x35
xchg dh, bh
mov ebx, dword [ecx - 0x2e]
sub cl, ch
xchg dx, ax
clc
or edi, dword [ebp + esi*8 - 0x5c]
jb 0x1066ec3
mov ecx, 0x35457848
adc eax, 0x360d2d53
wait
pop edx
pop edx
jnp 0x1066e07
loop 0x1066e2f
invalid
push ecx
cli
mov ch, 5
inc ebp
mov ebx, 0xf1d4b461
push 0x12
sub edi, dword [ebx]
pop ebp
mov esp, 0x4cb29bb
cmp eax, 0x67907810
sbb eax, 0x6233dc38
loopne 0x1066efc
add al, 0xe2
sub cl, dl
cmp ebx, dword [ecx + 0x4ac6e494]
invalid
cld
cwde
mov eax, 0x63d99e44
lcall 0x28bc, 0xad81bdde
test byte [eax + 0x4da61b1e], ah
cmc
nop
inc ebx
push ecx
popal
cmp dword [ebp + edx + 0x2380e04a], ebx
inc edx
inc ebx
xor dh, byte [ebp - 0xc]
push eax
lcall 0x600a, 0x992c3a66
in eax, dx
int3
Function at 0x401d1a
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xacc
jge 0x401d3b
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be411
jg 0x401d55
inc edi
cmp edi, 0x3330601
jl 0x401d26
cmp dword [0x2078894], 0x400
jne 0x401d89
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call fcn.00404481
push esi
push esi
call fcn.004046e1
push esi
call fcn.00404753
add esp, 0x10
xor edi, edi
cmp edi, 0x16c76
jge 0x401d9b
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401dc1
inc edi
cmp edi, 0x3003f
jl 0x401d8b
mov eax, dword [0x42b8a4]
mov dword [0x2078894], eax
call fcn.00401a58
mov edi, 0x3078f
cmp dword [0x2078894], 0x51f
jne 0x401ded
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401dd5
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x40295b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x42446d
call fcn.004242f0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00403718
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404762
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4029a3
call fcn.004034cc
mov dword [ebx], eax
call fcn.0040328b
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4029a5
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4052ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a354]
jne 0x4052b7
repz ret
jmp fcn.00409afc
Function at 0x402690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402728
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402708
xor eax, eax
push ebp
push 0x402701
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402744
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402708
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402d70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x402dd1
cmp word [0x405208], 0xd7b2
jne 0x402d99
cmp dword [0x405210], 0
jbe 0x402d99
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402df8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x402ded
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403068
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4030ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00402f6c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402584
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4030b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030d5
lea eax, [ebp - 0x10]
call fcn.00402eec
ret
Function at 0x4034ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc0
mov esi, edx
mov ebp, eax
push ecx
push esi
call sub.user32.dll_GetDlgItem
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.user32.dll_GetWindowRect
push esi
call sub.user32.dll_GetTopWindow
mov ebx, eax
test ebx, ebx
je 0x40350f
lea eax, [esp + 0x20]
push eax
push ebx
call sub.user32.dll_GetWindowRect
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
call sub.user32.dll_IntersectRect
test eax, eax
jne 0x403501
push ebp
push ebx
call sub.user32.dll_EnableWindow
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x4034d7
test ebp, ebp
jne 0x403571
push esp
push esi
call sub.user32.dll_GetWindowRect
push 0xffffffffffffffeb
push esi
call sub.user32.dll_GetWindowLongA
test eax, eax
jne 0x40354f
mov dx, word [esp + 0xc]
sub dx, word [esp + 4]
mov ax, word [esp + 8]
sub ax, word [esp]
call fcn.00403414
push eax
push 0xffffffffffffffeb
push edi
call sub.user32.dll_SetWindowLongA
push 0
push edi
call sub.user32.dll_ShowWindow
push 6
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 8]
push eax
push 0
push 0
push 0
push esi
call sub.user32.dll_SetWindowPos
jmp 0x4035a7
push 0xffffffffffffffeb
push edi
call sub.user32.dll_GetWindowLongA
mov ebx, eax
push 6
mov eax, ebx
call fcn.00403420
movzx eax, ax
push eax
movzx eax, bx
push eax
push 0
push 0
push 0
push esi
call sub.user32.dll_SetWindowPos
push 0
push 0
push 0x402
push esi
call sub.user32.dll_SendMessageA
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40361c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, eax
mov eax, edx
dec eax
sub eax, 2
jb 0x40363e
sub eax, 0x3ec
je 0x403647
jmp 0x4036c6
push edx
push esi
call sub.user32.dll_EndDialog
jmp 0x4036c6
cmp dword [ebp + 8], 0
jne 0x4036c6
push 0x15
lea eax, [ebp - 0x19]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
cmp byte [ebp + ebx - 0x1a], 0x3c
sete al
neg al
sbb edi, edi
mov eax, edi
cmp eax, 1
sbb eax, eax
neg eax
neg al
sbb eax, eax
mov ecx, 0x405
mov edx, esi
call fcn.004034ac
push 0
mov eax, dword [ebp - 4]
push eax
push esi
call sub.user32.dll_GetNextDlgTabItem
push eax
call sub.user32.dll_SetFocus
test edi, edi
je 0x4036aa
push 0x4036d0
lea eax, [ebp + ebx - 0x1b]
push eax
call sub.KERNEL32.DLL_lstrcpyA
jmp 0x4036b9
push 0x4036d4
lea eax, [ebp + ebx - 0x1b]
push eax
call sub.KERNEL32.DLL_lstrcpyA
lea eax, [ebp - 0x19]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowTextA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408470
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, 0x7ffe0018
mov esi, 0x7ffe0014
mov edi, 0x7ffe001c
mov eax, dword [edx]
mov ecx, dword [esi]
cmp eax, dword [edi]
jne 0x408492
xor edi, edi
cdq
add edi, ecx
mov ecx, dword fs:[0x30]
mov dword [ebp - 0xc], edi
adc eax, 0
mov dword [ebp - 0x10], eax
cmp byte [ecx + 2], 0
jne 0x408650
mov ecx, dword [0x40d504]
add ecx, 0xffffffe7
xor ecx, 0x44c12fc5
call ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
mov eax, dword [0x40d508]
add eax, 0xffffffe6
xor eax, 0x44c12fc6
call eax
cmp dword [ebp - 8], 0
jne 0x408650
mov eax, dword [0x40d50c]
add eax, 0xffffffe5
xor eax, 0x44c12fc7
call eax
test eax, eax
jne 0x408650
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 0x1f
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x408545
cmp dword [ebp - 8], eax
je 0x408650
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 0x1e
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x408584
cmp dword [ebp - 8], eax
jne 0x408650
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 7
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x4085c3
cmp dword [ebp - 8], eax
jne 0x408650
mov eax, dword [0x40d514]
push 4
push 0x1000
add eax, 0xffffffe3
push 0x2cc
xor eax, 0x44c12fc9
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x40867d
xor al, al
mov edi, ebx
mov ecx, 0x2cc
rep stosb byte es:[edi], al
mov dword [ebx], 0x10010
mov eax, dword [0x40d520]
mov esi, dword [0x40d51c]
add eax, 0xffffffe0
add esi, 0xffffffe1
xor eax, 0x44c12fcc
xor esi, 0x44c12fcb
call eax
push ebx
push eax
call esi
test eax, eax
je 0x408663
cmp dword [ebx + 4], 0
jne 0x408639
cmp dword [ebx + 8], 0
jne 0x408639
cmp dword [ebx + 0xc], 0
jne 0x408639
cmp dword [ebx + 0x10], 0
je 0x408663
mov eax, dword [0x40d518]
push 0x8000
push 0
add eax, 0xffffffe2
push ebx
xor eax, 0x44c12fca
call eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409937
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40d518]
push 0x8000
push 0
add eax, 0xffffffe2
push ebx
xor eax, 0x44c12fca
call eax
mov edi, dword [ebp - 0xc]
mov ecx, 0x7ffe0018
mov edx, 0x7ffe0014
mov ebx, 0x7ffe001c
nop dword [eax]
mov eax, dword [ecx]
mov esi, dword [edx]
cmp eax, dword [ebx]
jne 0x408690
xor ecx, ecx
cdq
add ecx, esi
adc eax, 0
sub ecx, edi
sbb eax, dword [ebp - 0x10]
test eax, eax
jg 0x408650
jl 0x4086b3
cmp ecx, 0xf4240
ja 0x408650
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409937
mov esp, ebp
pop ebp
ret
Function at 0x40a203
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a242
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a242
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a242
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a242
cmp dword [ecx + 0x74], 0xe
jbe 0x40a242
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
xor eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
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 [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x194e2d23
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x175011e4
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x485794
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4857c2
mov eax, ebx
call fcn.00486248
cmp dword [ebx + 0x40], 0
je 0x4857bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x485833
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x485825
cmp dword [ebx + 8], 0
je 0x4857e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4857f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x485825
cmp dword [ebx + 8], 0
je 0x4857d7
cmp eax, 3
je 0x485809
dec eax
jne 0x4857d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4857d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4857d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x485851
cmp dword [ebx + 0x14], 0xcc
je 0x485851
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048585c
pop ebx
ret

Function at 0x49bc64
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49bcae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x20
call fcn.00406ec4
push eax
call fcn.00406d34
mov cl, 1
mov edx, 0x49bccc
mov eax, dword [ebp - 8]
call fcn.0049bba8
mov eax, dword [ebp - 8]
push eax
call fcn.00406da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49bcb8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49fc1c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call fcn.00406ec4
push eax
call fcn.00406f54
mov ebx, eax
call fcn.00406ed4
push eax
call fcn.00406fa4
mov esi, eax
push pe_nt_image_headers32
call fcn.00406ec4
push eax
call fcn.004070f4
push 0xf
call fcn.00406ed4
push eax
call fcn.0040710c
push 0xa
call fcn.0040e260
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call fcn.0040e260
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call fcn.00406ed4
push eax
call fcn.0040710c
push ebx
call fcn.00406ec4
push eax
call fcn.004070f4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x49fcbc]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x411050
Capabilities:
Terminate process

Disassembly:
jmp 0x416fb0
jmp fcn.00417c60
cmp ecx, dword [0x41d07c]
jne 0x416fba
repz ret
jmp 0x4110fa

Function at 0x4111fe
Capabilities:
Connect socket

Disassembly:
jmp 0x41854c
jmp dword [sym.imp.WS2_32.dll_connect]

Function at 0x4124b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [0x41d1b8], 1
mov eax, dword [0x41d1b8]
mov dword [0x41d1a0], eax
mov ecx, dword [0x41d1a0]
mov dword [0x41d1a8], ecx
mov dword [0x41d1b0], 0
push str.POSIXLY_CORRECT
call fcn.004112f8
add esp, 4
mov dword [0x41d1a4], eax
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne 0x41252a
mov dword [0x41d1ac], 2
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x412569
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x2b
jne 0x41254a
mov dword [0x41d1ac], 0
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x412569
cmp dword [0x41d1a4], 0
je 0x41255f
mov dword [0x41d1ac], 0
jmp 0x412569
mov dword [0x41d1ac], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.00411253
mov esp, ebp
pop ebp
ret