joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4075d2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00404520
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x407667
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x418350]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x407667
cmp eax, 1
je 0x40767f
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x407667
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x40763c
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x407663
xor eax, eax
inc eax
jmp 0x40769b
cmp esi, ebx
jae 0x40766b
xor eax, eax
jmp 0x40769b
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x418350]
jmp 0x407681
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401090
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4032ec], eax
mov eax, dword [ebp + 4]
mov dword [0x40313a], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bb
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40313a]
mov dword [ebp - 0x48], eax
mov eax, 0x4021c7
mov dword [ebp - 0x54], eax
mov ecx, 0x4031e6
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40313a]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403338], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403338]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x401179
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116b
mov esp, ebp
ret
Function at 0x4010c2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push str.C:WindowsMicrosoft.NETFramework_v4.0.30319
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4010e1
call fcn.004010ee
test eax, eax
jns 0x4010e6
call fcn.0040140b
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401938
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x438400
call fcn.00402170
push 1
call fcn.00401c06
pop ecx
test al, al
jne 0x4017ef
push 7
call fcn.00401f1c
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401bd1
mov byte [ebp - 0x24], al
mov eax, dword [0x43ab84]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4017e8
test eax, eax
jne 0x401859
mov dword [0x43ab84], ecx
push 0x413164
push 0x41314c
call fcn.004066a3
pop ecx
pop ecx
test eax, eax
je 0x40183c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401932
push 0x413148
push 0x413140
call fcn.00406647
pop ecx
pop ecx
mov dword [0x43ab84], 2
jmp 0x40185e
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401d73
pop ecx
call fcn.00401f10
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40188e
push esi
call fcn.00401ce9
pop ecx
test al, al
je 0x40188e
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0040215d
call esi
call fcn.00401f16
mov esi, eax
cmp dword [esi], edi
je 0x4018ac
push esi
call fcn.00401ce9
pop ecx
test al, al
je 0x4018ac
push dword [esi]
call fcn.0040696f
pop ecx
call fcn.00402038
movzx eax, ax
push eax
call fcn.004065fb
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0040206e
test al, al
jne 0x4018d7
push esi
call fcn.004069a7
test bl, bl
jne 0x4018e0
call fcn.0040694a
push edi
push 1
call fcn.00401d90
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401932
call fcn.004021b6
ret
call fcn.00401e57
jmp 0x4017d0

Function at 0x403e88
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x4132f8
push str.FlsAlloc
push 0
call fcn.00403e08
mov esi, eax
add esp, 0x10
test esi, esi
je 0x403eba
push dword [ebp + 8]
mov ecx, esi
call fcn.0040215d
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x403efc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x41331c
push str.FlsGetValue
push 2
call fcn.00403e08
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x403f2d
mov ecx, esi
call fcn.0040215d
call esi
jmp 0x403f33
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x403f36
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x413330
push str.FlsSetValue
push 3
call fcn.00403e08
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x403f6a
mov ecx, esi
call fcn.0040215d
call esi
jmp 0x403f70
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x4044e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x4045c0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4045c0
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40452a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404531
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp ebp, edi
jne 0x404510
jmp 0x404533
mov esi, 0x1505
jmp 0x404533
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edx, [ebx - 1]
mov ecx, ebx
sub ecx, 1
mov dword [esp + 8], ecx
jb 0x4045c0
mov ecx, esi
not ecx
or edx, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
lea ebp, [esi + edx]
inc ebp
jmp 0x404564
inc ebp
dec ebx
je 0x4045be
mov eax, ebp
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4045be
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404560
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
push eax
call fcn.0040ca20
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x404560
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040ca40
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x404560
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4045c0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
xor eax, eax
cmp dword [esp + 0x18], 0
je 0x404d37
cmp dword [esp + 0x1c], 0
jle 0x404cde
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x404b78
cmp esi, 0xc0
jne 0x404d35
and ebx, 0x1ff800
cmp ebx, 0xd800
mov ecx, dword [esp]
je 0x404d35
add edx, ebp
cmp edx, ecx
jae 0x404cde
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x404d35
mov eax, ebx
and al, 0xfe
cmp al, 0xc0
je 0x404d35
mov eax, ebx
and eax, 0xffffffc0
cmp eax, 0x80
je 0x404d35
mov ebp, 1
test bl, bl
jns 0x404b6e
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x404bda
movzx edi, byte [edx + 1]
mov eax, edi
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404d35
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
jmp 0x404c30
mov eax, ebx
and eax, 0xfffffff0
cmp eax, 0xe0
jne 0x404c34
movzx eax, byte [edx + 1]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x404d35
movzx edi, byte [edx + 2]
mov ecx, edi
xor ecx, 0xffffff3f
mov ebp, edi
or ebp, 0xc0
and ebp, ecx
cmp ebp, 0x80
jne 0x404d35
and ebx, 0xf
shl ebx, 0xc
and eax, 0x3f
shl eax, 6
or ebx, eax
mov ebp, 3
xor ecx, ecx
jmp 0x404ca1
mov eax, ebx
and eax, 0xfffffff8
cmp eax, 0xf0
jne 0x404d35
movzx ecx, byte [edx + 1]
mov eax, ecx
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404d35
movzx eax, byte [edx + 2]
mov edi, eax
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x404d35
movzx edi, byte [edx + 3]
mov ebp, edi
and ebp, 0xffffffc0
cmp ebp, 0x80
jne 0x404d35
and ebx, 7
shl ebx, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebx
and eax, 0x3f
or eax, ecx
shl eax, 6
mov cl, 1
mov ebp, 4
mov ebx, eax
and edi, 0x3f
or edi, ebx
cmp edi, 0x80
jb 0x404d35
cmp edi, 0x7ff
jbe 0x404b4d
cmp edi, 0xffff
ja 0x404cd0
test cl, cl
je 0x404b59
jmp 0x404d35
cmp edi, 0x10ffff
jbe 0x404b59
jmp 0x404d35
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
push eax
call dword [0x447008]
add esp, 4
test eax, eax
je 0x404d35
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040c910
add esp, 0xc
push 0x10
call dword [0x447008]
add esp, 4
test eax, eax
je 0x404d2b
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x404d37
push esi
call dword [0x447004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404d40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404e5a
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404e5a
cmp dword [esp + 0x2c], 0
je 0x404e5a
push esi
call fcn.0040ca20
add esp, 4
test eax, eax
je 0x404daa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404db1
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x404d90
jmp 0x404db3
mov ebx, 0x1505
jmp 0x404db3
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edx, [esi - 1]
mov edi, ebx
not edi
mov ebp, esi
sub ebp, 1
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edi
jae 0x404e62
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x404e1f
call fcn.00405af0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x404e5a
push ecx
call fcn.0040ca20
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea eax, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0xc], edx
jae 0x404ee0
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
or edx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea edi, [ebx + edx]
inc edi
jmp 0x404e88
inc edi
dec esi
je 0x404dd4
mov ebp, edi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404dd9
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404e80
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040ca20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404e80
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040ca40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404e80
mov eax, 0xffffffff
jmp 0x404e5a
or eax, dword [esp + 4]
mov edx, dword [ecx + 4]
mov dword [esp + 8], edx
lea edi, [ebx + eax]
inc edi
jmp 0x404f08
inc edi
dec esi
je 0x404e1a
mov ebp, edi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404e1f
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404f00
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ca20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404f00
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ca40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404f00
jmp 0x404e1f
Function at 0x405830
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x405a1a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405a1a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405a1a
cmp dword [ecx], 0
jne 0x405a1a
push esi
call fcn.0040ca20
add esp, 4
test eax, eax
je 0x40589a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x4058a1
inc ebx
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
mov ecx, edi
cmp eax, ebx
jne 0x405880
jmp 0x4058a3
mov edi, 0x1505
jmp 0x4058a3
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
mov dword [esp + 0xc], ebx
jae 0x405974
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405901
call fcn.00405af0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405a1a
push esi
call fcn.0040ca20
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405a30
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040ca20
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x447008]
add esp, 4
test eax, eax
je 0x405a15
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040c910
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405a1a
mov dword [esp], eax
mov eax, edx
mov edx, edi
not edx
or esi, edx
mov edx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea ebx, [edi + esi]
inc ebx
jmp 0x405998
inc ebx
dec edx
je 0x4058bc
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x4058c1
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405990
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040ca20
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405990
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040ca40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405990
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.004048f0
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4], ecx
mov esi, ecx
jmp 0x405969
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406af0
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x406cdf
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
movzx ebx, cx
shr ecx, 0x10
test esi, esi
je 0x406ce6
mov dword [esp], ebp
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edi, esi
sub edi, eax
mov ebp, ebx
jmp 0x406b88
mov edi, dword [esp + 8]
mov eax, edi
sub eax, dword [esp + 4]
add dword [esp], eax
mov esi, dword [esp + 0x10]
mov eax, ecx
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ebp
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub ecx, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ebp, eax
sub esi, edi
mov edi, 0x15b0
je 0x406ce8
xor ebx, ebx
cmp edi, 8
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
jb 0x406c40
mov eax, edi
and eax, 0x1ff8
mov dword [esp + 4], eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
mov eax, dword [esp]
movzx edi, byte [eax + edx]
add edi, ebp
add ecx, edi
movzx esi, byte [eax + edx + 1]
add esi, edi
add ecx, esi
movzx edi, byte [eax + edx + 2]
add edi, esi
mov esi, ecx
and esi, edi
mov dword [esp + 0xc], esi
xor ecx, edi
movzx ebx, byte [eax + edx + 3]
add ebx, edi
movzx esi, byte [eax + edx + 4]
add esi, ebx
mov dword [esp + 0x14], esi
movzx ebp, byte [eax + edx + 5]
add ebp, esi
movzx edi, byte [eax + edx + 6]
add edi, ebp
movzx eax, byte [eax + edx + 7]
mov esi, edi
and esi, eax
xor eax, edi
lea eax, [eax + esi*2]
add ebx, ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ebx + ecx*2]
add ecx, dword [esp + 0x14]
add ecx, ebp
mov ebp, eax
add ecx, edi
mov edi, dword [esp + 8]
add ecx, eax
lea eax, [edx + 8]
add edx, 0xf
cmp edx, edi
jb 0x406bb0
mov edx, dword [esp]
add edx, eax
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
jmp 0x406c43
mov edx, dword [esp]
mov eax, ebx
sub eax, edi
mov dword [esp], edx
jae 0x406b51
mov dword [esp + 0xc], eax
mov eax, edi
and eax, 3
mov dword [esp + 4], ebx
je 0x406c90
neg eax
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add ebp, esi
add ecx, ebp
dec ebx
cmp eax, ebx
jne 0x406c70
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406b40
jmp 0x406c9d
mov eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406b40
mov ebx, dword [esp + 8]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, ebp
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx ebp, byte [edx + eax + 3]
add ebp, esi
add ecx, ebp
add eax, 4
cmp ebx, eax
jne 0x406cb0
jmp 0x406b40
mov ecx, 1
jmp 0x406ced
mov ebp, ebx
shl ecx, 0x10
or ecx, ebp
mov eax, ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x406d61
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
not ecx
test edx, edx
je 0x406d58
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [eax + esi]
mov ebx, ecx
xor ebx, edi
and ebx, 0xf
mov ebx, dword [ebx*4 + 0x444c50]
shr ecx, 4
mov ebp, ebx
and ebp, ecx
add ebp, ebp
sub ebx, ebp
add ebx, ecx
mov ecx, ebx
shr ecx, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor ecx, dword [edi*4 + 0x444c50]
inc esi
cmp edx, esi
jne 0x406d20
lea eax, [ecx + ecx]
not eax
add eax, ecx
jmp 0x406d63
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40f7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44d030]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f85e
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x447d6c]
xor eax, eax
jmp 0x40fe1f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410f00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xcb8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
shr eax, 0x1f
jmp dword [eax*4 + 0x44856c]
Function at 0x41a6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [esp + 0x90]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x41a6f0
sar esi, 1
lea ebx, [esp + 0x6c]
push ebx
push 0
push 0
push esi
push eax
push 0
call dword [0x44e368]
mov ebp, dword [esp + 0x6c]
mov edi, 0xffffffff
test ebp, ebp
jns 0x41a724
mov eax, 0xffffffff
jmp 0x41a72b
lea eax, [ebp*2]
push eax
call fcn.0040c8e0
add esp, 4
push ebx
push ebp
mov dword [esp + 0x58], eax
push eax
push esi
push dword [esp + 0xa0]
push 0
call dword [0x44e368]
mov eax, dword [esp + 0x6c]
mov ecx, eax
add ecx, 0xd
js 0x41a75d
lea edi, [eax*2 + 0x1a]
mov ebp, dword [esp + 0x94]
push edi
call fcn.0040c8e0
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], 0x71a27fd0
mov dword [esp + 0x20], 0x75c773d3
mov dword [esp + 0x24], 0x499677c0
mov dword [esp + 0x28], 0x4ded4b9e
mov dword [esp + 0x2c], 0x41fb4ffe
mov dword [esp + 0x30], 0x45f343fb
mov dword [esp + 0x34], 0x594647fa
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1e
ja 0x41a81a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
mov edx, eax
xor edx, 0x60c8b295
and eax, 0xe0c8b295
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add al, 0x17
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1f
jb 0x41a7d0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax]
mov eax, edi
test cx, cx
je 0x41a851
mov eax, dword [esp + 0x50]
lea edx, [eax + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a840
mov word [eax], 0
movzx ecx, word [esp + 0x1c]
test cx, cx
je 0x41a881
lea edx, [esp + 0x1e]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a870
mov word [eax], 0
lea eax, [esp + 0x4c]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.004424d0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x448e94]
Function at 0x41f080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x40]
mov ebp, 0xfffffffe
cmp word [ebx + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x41f090
sar ebp, 1
lea eax, [esp + 4]
push eax
push 0
push 0
push ebp
push ebx
push 0
call dword [0x44e368]
mov edi, dword [esp + 4]
test edi, edi
jns 0x41f0bf
mov eax, 0xffffffff
jmp 0x41f0c2
lea eax, [edi + edi]
push eax
call fcn.0040c8e0
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push edi
push esi
push ebp
push ebx
push 0
call dword [0x44e368]
lea ebx, [esp + 0x14]
push ebx
push esi
call fcn.004426c0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x449248]