joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482270
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.00430390
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov esi, eax
add esp, 8
test esi, esi
je 0x4823f2
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x4822f2
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x482363
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x482320
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x482395
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x49640d
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x49640e
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x482370
push dword [esp + 0x30]
call fcn.00430390
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x4823c0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x4a1004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x4824c0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4824e6
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x48251e
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], 0
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.00430390
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x482575
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x482584
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x482595
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x4831d0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x48321c
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x4831e1
pop ebx
pop edi
pop esi
ret

Function at 0x4837e7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0x4966b0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x48380e
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x483811
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004837c3
pop esi
leave
ret 8

Function at 0x484ade
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x484b1d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x484b1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x484b1d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x484b1d
cmp dword [ecx + 0x74], 0xe
jbe 0x484b1d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406739
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x469c7c], 0
jne 0x406777
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 0x40674d
mov dword [ecx*4 + 0x469c78], eax
inc ecx
cmp ecx, 0x100
jl 0x406748
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4067a4
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 + 0x469c78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406785
not eax
pop ebp
ret 0xc

Function at 0x1001109
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001080
call fcn.010012c0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001144
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001144
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100115c
cmp eax, 0x20b
je 0x1001149
mov dword [ebp - 0x1c], edi
jmp 0x1001170
cmp dword [ecx + 0x84], 0xe
jbe 0x1001144
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100116a
cmp dword [ecx + 0x74], 0xe
jbe 0x1001144
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002018], 0xffffffff
or dword [0x100201c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002014]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002020], eax
call fcn.010012b6
cmp dword [section..data], edi
jne 0x10011cb
push fcn.010012b6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100129f
push 0x1001054
push 0x1001050
call sub.msvcrt.dll__initterm
mov eax, dword [0x100200c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1002008]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x100104c
push 0x1001048
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010012b6
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001242
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001277
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010012fb
ret
Function at 0x17e1750
Capabilities:
Encode data using xor

Disassembly:
cmp byte [edi - 1], 0
mov byte [esp], 0x96
lea esp, [esp + 4]
jne 0x17e7f87
btc di, 0xa
xor di, 0xb7c6
mov edi, dword [edx + 0x24]
clc
add edi, eax
stc
call int.017de5de
sbb cl, cl
cmp al, 0x82
jnp 0x17e17c1
loop 0x17e17d7
hlt
xchg ecx, eax
xor byte [esi + edx*2 + 3], ch
push ds
shr dword [ebx - 0x3a], 0x3b
arpl word [ebp - 4], bx
arpl word [ecx + eax*4 - 0x6b], si
push ecx
push edi
add esi, dword [edx - 0x1eedc67b]
xchg ebp, eax
pushfd
cmp edi, edx
shl dword [0x497594b2], cl
and al, 0xe5
mov dl, 0x94
jne 0x17e1810
fdiv qword [ecx - 7]
push ss
ja 0x17e17a3
sahf
pop ecx
add al, 0xc3
outsb dx, byte [esi]
popfd
loop 0x17e182c
enter 0xffffffffffffcba6, 0xffffffffffffffa9
dec edi
js 0x17e1821
retf
je 0x17e17df
nop
fstp qword [eax]
sub byte [edx - 0x1e29cb4d], 0x78
ret
xchg byte [ebx + 0x2d], bh
retf 0x8353
imul ebp, dword [ebx + ecx*8 + 0x614b02aa], 0xffffffd4
inc edx
int 0x6a
xor dword [edi + 0x14], 0x43dbaf5e
ret

Function at 0x17e7649
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
jmp 0x17e5969
pushfd
pushal
push 0xa4002703
call 0x17e8231
cdq
inc eax
lodsd eax, dword [esi]
push ecx
mul byte [edi - 0x56d99d94]
sti
xchg ecx, eax
pushfd
push 0xffffffffffffffad
push ds
cmc
salc
das
iretd
bt bp, sp
shrd ax, ax, cl
cmp ah, 0x1e
rcr eax, 0xe
push ebp
shld ebp, ebp, 5
shl ebp, 0x10
mov ebp, esp
rcr ax, 0xc
sub esp, 0x18
bswap eax
push esi
movzx eax, cl
shld ax, bx, cl
bt dx, 2
push edi
push 0x120c5322
aam 0x10
sal al, 6
neg ax
mov dword [esp], ebx
clc
or ah, bh
cmp dx, 0x8c9a
pushfd
mov dword [esp], edx
not al
or al, 0x3d
cmc
mov eax, dword [ebp + 8]
cmc
test eax, eax
pushfd
lea esp, [esp + 4]
jne 0x17dccd7
je 0x17f0027
mov esi, 0x9b4c8996
adc si, 0xfad5
rol si, cl
mov esi, dword [eax + 0x3c]
push 0x6349f449
clc
sbb dl, dl
shl edx, cl
add esi, eax
sub dx, dx
movzx edx, cl
dec dx
bt dx, dx
mov edx, dword [esi + 0x78]
cmc
pushal
test edx, edx
lea esp, [esp + 0x24]
jbe 0x17dae1d
js 0x17ed126
je 0x17f0027
jmp 0x17e9176
pushal
call fcn.017e0d20
cmc
xchg ebp, eax
xchg byte [ebp - 0x58], al
push esi
test eax, 0x360af39f
cmpsb byte [esi], byte es:[edi]
inc eax
or eax, 0xdae43dfa
sub edx, ebx
xor byte ds:[ecx + 0x4d], 0xa8
push ss
jecxz 0x17ed163
inc byte [eax]
and ebp, eax
aas
add byte [edi], al
add al, 0x19
movsd dword es:[edi], dword [esi]
mov word [edx + 0x64d958c3], cs
add ebp, ecx
dec eax
retf 0x668a
movsb byte es:[edi], byte [esi]
inc eax
mov dl, 0x13
sub bl, byte [ecx]
mov dh, 0x3b
enter 0x4203, 0xffffffffffffffdd
invalid

Function at 0x17e822c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x284800a
call fcn.017e8e64
lea esp, [esp + 0x2c]
je 0x17f0027
bsr si, dx
mov esi, dword [eax + 0x3c]
pushfd
bt sp, 1
add esi, eax
adc dl, 0x3f
test ch, 0xb7
mov edx, dword [esi + 0x78]
cmp dh, cl
test edx, edx
pushfd
jmp 0x17dda9f
lea esp, [esp + 8]
je 0x17f0027
bswap cx
add edx, eax
shld cx, cx, 1
call fcn.017f1e80
lea esp, [esp + 8]
call fcn.017ea72e
pushal
lea esp, [esp + 0x20]
jae 0x156262f
xchg al, bl
sets al
mov bl, 2
call fcn.017e4443
Function at 0x17e8231
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x284800a
call fcn.017e8e64
lea esp, [esp + 0x2c]
je 0x17f0027
bsr si, dx
mov esi, dword [eax + 0x3c]
pushfd
bt sp, 1
add esi, eax
adc dl, 0x3f
test ch, 0xb7
mov edx, dword [esi + 0x78]
cmp dh, cl
test edx, edx
pushfd
jmp 0x17dda9f
lea esp, [esp + 8]
je 0x17f0027
bswap cx
add edx, eax
shld cx, cx, 1
call fcn.017f1e80
lea esp, [esp + 8]
call fcn.017ea72e
pushal
lea esp, [esp + 0x20]
jae 0x156262f
xchg al, bl
sets al
mov bl, 2
call fcn.017e4443

Function at 0x17ed3d9
Capabilities:
Encode data using xor

Disassembly:
push edx
lea esp, [esp + 0x44]
call fcn.017ea72e
push 0x557637f9
jmp 0x17da8da
not al
pushfd
stosb byte es:[edi], al
jmp 0x17ef083
mov bl, 2
jmp 0x17daf7b

Function at 0x17eebbd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
repne scasb al, byte es:[edi]
call fcn.017db0fc
add byte [eax], al
inc edi
je 0x17e7689
add byte [edi + 0x65], al
je 0x17e7689
outsd dx, dword [esi]
jne 0x17e76ac
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
inc ecx
add byte [esi + 0xf], ah
bt bp, sp
shrd ax, ax, cl
cmp ah, 0x1e
rcr eax, 0xe
ja 0x17e7637
add byte [eax], al
cmc
xor al, al
push dword [esp]
jmp 0x17e762f
Function at 0x406a7e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b5fc8]
jne 0x406a88
repz ret
jmp fcn.0040a9ac

Function at 0x40f57b
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.0040b588
and dword [ebp - 4], 0
cmp dword [0x4b7ae8], 0
mov ebx, eax
jne 0x40f62c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f6dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b8b4
push edi
call esi
test eax, eax
je 0x40f6dd
push eax
call fcn.0040b516
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b7ae8], eax
call esi
push eax
call fcn.0040b516
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b7aec], eax
call esi
push eax
call fcn.0040b516
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b7af0], eax
call esi
push eax
call fcn.0040b516
pop ecx
mov dword [0x4b7af8], eax
test eax, eax
je 0x40f62c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b516
pop ecx
mov dword [0x4b7af4], eax
mov eax, dword [0x4b7af4]
cmp eax, ebx
je 0x40f684
cmp dword [0x4b7af8], ebx
je 0x40f684
push eax
call fcn.0040b591
push dword [0x4b7af8]
mov esi, eax
call fcn.0040b591
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f684
test edi, edi
je 0x40f684
call esi
test eax, eax
je 0x40f67b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f67b
test byte [ebp - 0xc], 1
jne 0x40f684
or dword [ebp + 0x10], 0x200000
jmp 0x40f6bd
mov eax, dword [0x4b7aec]
cmp eax, ebx
je 0x40f6bd
push eax
call fcn.0040b591
pop ecx
test eax, eax
je 0x40f6bd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f6bd
mov eax, dword [0x4b7af0]
cmp eax, ebx
je 0x40f6bd
push eax
call fcn.0040b591
pop ecx
test eax, eax
je 0x40f6bd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b7ae8]
call fcn.0040b591
pop ecx
test eax, eax
je 0x40f6dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f6df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005e35
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x1005e72
test byte [eax + 0x1c], 8
je 0x1005e72
push dword [ebp - 8]
push 0x1001250
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005b39
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
xor esi, esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x1005f53
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
jle 0x1005f4a
add ebx, 4
xor edi, edi
xor esi, esi
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
movzx eax, byte [esi + 0x1001264]
push eax
push dword [esi + 0x1001260]
push dword [ebx]
call fcn.01005d24
cmp al, 1
je 0x1005edc
add esi, 0xc
inc edi
cmp esi, 0x84
jb 0x1005ead
jmp 0x1005f33
mov eax, edi
imul eax, eax, 0xc
mov esi, dword [eax + 0x1001268]
cmp esi, 0x10
jne 0x1005f02
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 0x1001260]
push dword [ebp - 8]
call fcn.01005da6
jmp 0x1005f30
cmp esi, 0x20
jne 0x1005f30
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpICW]
push 0x1001308
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x1005f20
push 0x60
pop esi
jmp 0x1005f30
push 0x1001300
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x1005f30
xor esi, esi
or dword [ebp - 4], esi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add ebx, 4
cmp eax, dword [ebp - 0x14]
jl 0x1005ea9
mov edi, section..data
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test byte [ebp - 4], 2
mov esi, 0x80070057
je 0x1005f89
mov eax, dword [section..data]
cmp eax, edi
je 0x1005f84
test byte [eax + 0x1c], 8
je 0x1005f84
push 0x1001250
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005ae7
mov eax, dword [section..data]
mov dword [ebp - 0x18], esi
jmp 0x1005f8e
mov eax, dword [section..data]
test byte [ebp - 4], 8
je 0x1005fb3
cmp eax, edi
je 0x1005fb0
test byte [eax + 0x1c], 8
je 0x1005fb0
push 0x1001250
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005ae7
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
pop ebx
leave
ret 0xc
Function at 0x1006874
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x10073c0
call fcn.01006a24
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10083c8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100662f
cmp eax, esi
jne 0x1006622
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1006632
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006609
xor esi, esi
inc esi
mov eax, dword [0x10083c4]
cmp eax, esi
jne 0x1006645
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1006674
mov eax, dword [0x10083c4]
test eax, eax
jne 0x100666e
mov dword [0x10083c4], esi
push 0x1001124
push 0x1001118
call fcn.0100656b
pop ecx
pop ecx
test eax, eax
je 0x1006674
jmp 0x1006798
mov dword [0x1008084], esi
mov eax, dword [0x10083c4]
cmp eax, esi
jne 0x1006698
push 0x1001114
push 0x100110c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10083c4], 2
cmp dword [ebp - 0x20], ebx
jne 0x10066a5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10083cc], ebx
je 0x10066c6
push 0x10083cc
call fcn.01006999
pop ecx
test eax, eax
je 0x10066c6
push ebx
push 2
push ebx
call dword [0x10083cc]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1006798
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1006730
cmp cx, bx
je 0x10066eb
cmp dword [ebp - 0x1c], ebx
jne 0x1006730
movzx ecx, word [eax]
cmp cx, bx
je 0x1006700
cmp cx, 0x20
ja 0x1006700
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10066eb
test byte [ebp - 0x40], 1
je 0x100670c
movzx ecx, word [ebp - 0x3c]
jmp 0x100670f
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [str._RE], eax
cmp dword [0x1008074], ebx
jne 0x1006775
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1006741
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10066d5
cmp dword [0x1008084], ebx
jne 0x1006783
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [str._RE]
jmp 0x10067a4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01006a69
ret
call fcn.01006b71
jmp 0x10065cc
Function at 0x4b3a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3a90
mov eax, 1
add ebx, ebx
jne 0x4b3ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3ac4
jne 0x4b3ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ae3
dec eax
add ebx, ebx
jne 0x4b3ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3aa8
add ebx, ebx
jne 0x4b3adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3b35
xor ecx, ecx
sub eax, 3
jb 0x4b3afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3b6a
sar eax, 1
mov ebp, eax
jmp 0x4b3b06
add ebx, ebx
jne 0x4b3b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ad4
inc ecx
add ebx, ebx
jne 0x4b3b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ad4
add ebx, ebx
jne 0x4b3b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3b16
jne 0x4b3b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3b46
jmp 0x4b3a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3b54
add edi, ecx
jmp 0x4b3a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3b72
cmp byte [edi], 0x11
jne 0x4b3b72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b3b77
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb6234]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6388]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3ba4
mov ecx, edi
jns 0x4b3bd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb638c]
or eax, eax
je 0x4b3be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3bc1
call dword [esi + 0xb639c]
mov ebp, dword [esi + 0xb6390]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b3c23
sub esp, 0xffffff80
jmp 0x416310