joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f13
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x449f48
cmp edi, dword [esi + 0xc]
jge 0x449f48
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x449f48
cmp edi, dword [eax + 8]
jge 0x449f48
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x449f4a
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x44a04e
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x44a082
jmp fcn.0043768a
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x44a0f3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x44a1ec
cmp eax, dword [edi + 0xc]
jge 0x44a1ec
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x44a144
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x44a1d5
cmp dword [ebp + 0xc], ebx
je 0x44a1d5
jmp 0x44a16e
push 0x10
call fcn.00449ddf
cmp eax, ebx
je 0x44a15a
mov ecx, eax
call fcn.0044a045
mov esi, eax
jmp 0x44a15c
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x44a185
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x44a195
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x44a1a7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043768a
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00428da0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44a1e7
cmp ecx, dword [esi + 8]
jge 0x44a1e7
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x44a1ed
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1005d91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a028]
jne 0x1005d9a
ret
jmp 0x1005d9f
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x100a028]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x101b0cc]
test eax, eax
je 0x1005dc3
call eax
cmp dword [0x101b0d0], 0
je 0x1005e0a
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x101b0d0]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01005d91
add ebp, 0x2a8
leave
ret

Function at 0x100702b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007066
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007043
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007082
dec esi
je 0x100707b
dec esi
jne 0x1007087
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40270c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40274b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40274b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40274b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40274b
cmp dword [ecx + 0x74], 0xe
jbe 0x40274b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40badb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40bb78
push ebx
push esi
call fcn.0040baa4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ba38
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40bb25
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bb77
push edi
push eax
call fcn.004088c9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40bb45
call fcn.0040888f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bb76
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ba38
add esp, 0x20
test eax, eax
jne 0x40bb64
push edi
call fcn.0040888f
jmp 0x40bb6c
push ebx
call fcn.0040888f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40c834
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416218
push 0x416210
push str.FlsAlloc
push 0x1f
call fcn.0040c750
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c868
push dword [ebp + 8]
mov ecx, esi
call dword [0x41417c]
call esi
jmp 0x40c86e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40c8b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416228
push 0x416220
push str.FlsGetValue
push 0x21
call fcn.0040c750
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c8e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41417c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40c8f1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416230
push 0x416228
push str.FlsSetValue
push 0x22
call fcn.0040c750
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c92b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41417c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41357d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41357d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x8aaa5b
Capabilities:
Hash data with md5

Disassembly:
jmp 0x8aaa92
lea edx, [edx + 0xc]
push ebp
mov ebp, 0x497549d4
jmp 0x8e034b
lea esp, [esp + 4]
mov dword [eax + 8], 0x77fc100a
push edx
mov edx, eax
jmp 0x8aaa7c
lea ebp, reloc.RASAPI32.dll_RasHangUpA
mov dword [edx], ebp
pop ebp
pop edx
pushal
jmp 0x8e03c5
lea esp, [esp + 0x20]
mov dword [eax + 0x10], 0xc83fd730
call fcn.008e0395
sub esp, 2
mov word [esp], ax
lea esp, [esp + 2]
jmp 0x8e03f6
and dword [eax], 0
push sp
lea esp, [esp + 2]
mov dword [eax + 8], 0x67452301
jmp 0x8e0433
mov dword [eax + 0x10], reloc.RASAPI32.dll_RasHangUpA
pushal
jmp 0x8e0475
mov dword [eax + 0xc], reloc.RASAPI32.dll_RasHangUpA
jmp 0x8e041d
lea esp, [esp + 0x20]
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x4048b4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
mov esi, ecx
lea ecx, [ebp - 8]
push 0x4016c4
call fcn.0040d069
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4048e4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 8]
call fcn.0040d0ae
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408fbc
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0x80004005
push eax
mov edi, ecx
lea ecx, [ebp - 0x630]
push 0x4020d4
call fcn.0040d069
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push 0x25
push eax
push dword [edi + 0x34]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x409111
push ecx
push ecx
lea ecx, [ebp - 0x210]
call fcn.0040e0ff
mov dword [ebp - 0x624], eax
test eax, eax
js 0x409119
mov eax, dword [0x417010]
mov esi, 0x417010
cmp eax, esi
je 0x409061
test dword [eax + 0x1c], 0x2000
je 0x409061
push 0xfb6
sub esp, 0x10
mov edx, 0x4021ac
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.00405113
push 5
push ebx
push 0x402120
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4090b9
test eax, eax
jle 0x409089
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x624], eax
mov eax, dword [0x417010]
cmp eax, esi
je 0x409111
test byte [eax + 0x1c], 4
je 0x409111
push dword [ebp - 0x624]
mov edx, 0x4021ac
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00403995
jmp 0x409111
mov ecx, dword [0x417010]
mov edx, dword [ecx + 0x10]
mov eax, edx
mov esi, dword [ecx + 0x14]
or eax, esi
je 0x4090df
push 2
push esi
push edx
mov edx, 0x410
call fcn.0040508a
mov ecx, dword [0x417010]
cmp ecx, 0x417010
je 0x40910b
test dword [ecx + 0x1c], 0x2000
je 0x40910b
push 0xfb7
sub esp, 0x10
mov edx, 0x4021ac
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x17
pop ecx
call fcn.00405113
mov dword [ebp - 0x624], ebx
cmp dword [ebp - 0x624], ebx
jge 0x409191
lea eax, [ebp - 0x628]
mov dword [ebp - 0x628], ebx
push eax
mov esi, 0x104
lea eax, [ebp - 0x620]
push esi
push eax
push ecx
mov ecx, dword [edi + 0x38]
call fcn.00403efa
pop ecx
lea edx, [esi - 0x7a]
mov ecx, eax
call fcn.0040dd46
cmp dword [ebp - 0x628], ebx
jl 0x409191
lea eax, [ebp - 0x628]
push eax
push esi
lea eax, [ebp - 0x418]
push eax
push ecx
mov ecx, dword [edi + 0x38]
call fcn.00403efa
pop ecx
lea edx, [esi - 0x79]
mov ecx, eax
call fcn.0040dd46
cmp dword [ebp - 0x628], ebx
jl 0x409191
push 0x10
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x624]
lea ecx, [ebp - 0x630]
call fcn.0040d0ae
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414190
mov esp, ebp
pop ebp
ret
Function at 0x40aaee
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
test edx, edx
je 0x40ab4a
xor eax, eax
mov edi, edx
mov dword [ebp - 4], eax
mov esi, eax
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x40ab12
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40ab0a
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x80004005
call fcn.0040b02b
int3
Function at 0x40b130
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x220]
push esi
push edi
push eax
mov edi, ecx
xor ecx, ecx
push 0x2001f
push ecx
push ebx
push dword [edi]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x220], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40b23d
cmp dword [ebp - 0x218], esi
je 0x40b19d
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x218], eax
test esi, esi
jne 0x40b23d
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push esi
push eax
jmp 0x40b204
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
call fcn.0040b130
mov esi, eax
test esi, esi
jne 0x40b23d
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40b1cd
cmp dword [ebp - 0x218], 0
je 0x40b233
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x218], esi
push ebx
mov ecx, edi
call fcn.0040b2c6
mov esi, eax
cmp dword [ebp - 0x218], 0
je 0x40b252
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414190
mov esp, ebp
pop ebp
ret 4
Function at 0x40bc69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4152a2
call fcn.00414ba3
mov edx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
pop ecx
push ecx
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40bccc
call fcn.0040a70d
mov esi, eax
jmp 0x40bdfe
push esi
push ebx
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
jne 0x40bceb
call fcn.0040a70d
jmp 0x40bdf5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x40bce1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x40bd42
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40bd2d
lea ecx, [ebp - 0x418]
call fcn.0040a6c0
lea ecx, [ebp - 0x420]
call fcn.0040ab5a
mov eax, 0x8007000e
jmp 0x40be24
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x40bd83
cmp eax, 0xffffffff
ja 0x40bd83
cmp eax, 0x400
jbe 0x40bd6e
push eax
lea ecx, [ebp - 0x418]
call fcn.0040a6e0
mov eax, dword [ebp - 0x418]
jmp 0x40bd7a
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x40bdae
mov ecx, 0x80070057
call fcn.0040b02b
mov eax, 0x40bd93
ret
test eax, eax
jne 0x40bdb9
mov esi, 0x8007000e
jmp 0x40bdf7
push ebx
push eax
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40bce1
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.0040bb0b
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40be17
lea ecx, [ebp - 0x418]
call fcn.0040a6c0
lea ecx, [ebp - 0x420]
call fcn.0040ab5a
mov eax, esi
call fcn.00414ae1
ret 0x10
Function at 0x40c0bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor esi, esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40c134
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c134
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp - 4]
mov edi, eax
test ebx, ebx
je 0x40c134
test edi, edi
je 0x40c134
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40c134
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40c134
push edi
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40dc1c
Capabilities:
Inspect load icon resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push esi
push eax
mov esi, ecx
lea ecx, [ebp - 0x10]
push 0x402724
call fcn.0040d069
push 0x6b
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
jne 0x40dc88
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40dc5d
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 8], eax
mov ecx, dword [0x417010]
cmp ecx, 0x417010
je 0x40dc8b
test byte [ecx + 0x1c], 4
je 0x40dc8b
push eax
push dword [ecx + 0x14]
mov edx, 0x4028f4
push dword [ecx + 0x10]
push 0x31
pop ecx
call fcn.00403995
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40dc94
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0040d0ae
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed01
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x40ed35

Function at 0x40ed18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x40ed35

Function at 0x40ef11
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov byte [ebp - 0x14], 0x59
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x12], 0x2d
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x6b
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x66

Function at 0x40f9e1
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d

Function at 0x40fc41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x64], 0x61
mov byte [ebp - 0x63], 0x64
mov byte [ebp - 0x62], 0x76
mov byte [ebp - 0x61], 0x61
mov byte [ebp - 0x60], 0x70
mov byte [ebp - 0x5f], 0x69
mov byte [ebp - 0x5e], 0x33
mov byte [ebp - 0x5d], 0x32
mov byte [ebp - 0x5c], 0x2e
mov byte [ebp - 0x5b], 0x64
mov byte [ebp - 0x5a], 0x6c
mov byte [ebp - 0x59], 0x6c
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x3c], 0x70
mov byte [ebp - 0x3b], 0x73
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x69
mov byte [ebp - 0x37], 0x2e
mov byte [ebp - 0x36], 0x64
mov byte [ebp - 0x35], 0x6c
mov byte [ebp - 0x34], 0x6c
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x54], 0x6d
mov byte [ebp - 0x53], 0x73
mov byte [ebp - 0x52], 0x76
mov byte [ebp - 0x51], 0x63
mov byte [ebp - 0x50], 0x72
mov byte [ebp - 0x4f], 0x74
mov byte [ebp - 0x4e], 0x2e
mov byte [ebp - 0x4d], 0x64
mov byte [ebp - 0x4c], 0x6c
mov byte [ebp - 0x4b], 0x6c
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x30], 0x77
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x68
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x46], 0x65
mov byte [ebp - 0x45], 0x72