joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e30
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x40d3bc]
push esi
test eax, eax
push edi
push ebp
jne 0x407e78
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 1
push 0
call esi
test eax, eax
je 0x407e58
mov eax, 1
jmp 0x407e7e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x407e71
mov eax, 2
jmp 0x407e7e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x40d3bc], eax
cmp eax, 1
jne 0x407ea3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x40d3bc], eax
cmp eax, 2
jne 0x407f31
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x407ebf
mov edi, dword [0x40c6b8]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ebp, eax
test ebp, ebp
jne 0x407ee0
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push ebp
call fcn.00402b20
add esp, 4
mov esi, eax
test esi, esi
jne 0x407ef6
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x407f26
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x407f36
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x407f4e
push esi
call fcn.004029a0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x407f26
push esi
call fcn.004029a0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x407f60
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x40d3c0]
push esi
test eax, eax
push edi
push ebp
jne 0x407fa8
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 1
push 0
call esi
test eax, eax
je 0x407f88
mov eax, 2
jmp 0x407fae
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x407fa1
mov eax, 1
jmp 0x407fae
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [0x40d3c0], eax
cmp eax, 2
jne 0x407fd3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x40d3c0], eax
cmp eax, 1
jne 0x40806f
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x407fef
mov edi, dword [0x40c6b8]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebp, eax
test ebp, ebp
jne 0x408010
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
lea eax, [ebp*2]
push eax
call fcn.00402b20
add esp, 4
mov esi, eax
test esi, esi
jne 0x40802d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x408064
mov eax, dword [esp + 0x20]
push 0
push 0
test eax, eax
jne 0x408074
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x40808f
push esi
call fcn.004029a0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x408064
push esi
call fcn.004029a0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x408fc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1008
call fcn.00409170
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [esp + 0x1018]
push ebp
push 1
push ebx
push esi
call fcn.004059a0
mov dword [esp + 0x1c], eax
add esp, 0xc
cmp eax, 0xffffffff
je 0x4090e2
push 2
push ebx
push esi
call fcn.004059a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4090e2
mov ecx, dword [esp + 0x1020]
mov ebp, ecx
sub ebp, eax
test ebp, ebp
jle 0x409083
lea edi, [esp + 0x18]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.00409100
mov dword [esp + 0x1c], eax
add esp, 8
mov eax, 0x1000
cmp ebp, eax
jge 0x40903e
mov eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00406420
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
je 0x40905c
sub ebp, edi
test ebp, ebp
jg 0x409033
jmp 0x409073
call fcn.00402ca0
cmp dword [eax], 5
jne 0x409071
call fcn.00402c90
mov dword [eax], 0xd
mov ebx, edi
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00409100
add esp, 8
jmp 0x4090c5
jge 0x4090c5
push 0
push ecx
push esi
call fcn.004059a0
add esp, 0xc
push esi
call fcn.00405cc0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ebx, ebx
cmp ebx, 0xffffffff
jne 0x4090c5
call fcn.00402c90
mov dword [eax], 0xd
call fcn.00402ca0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
push 0
push eax
push esi
call fcn.004059a0
add esp, 0xc
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1008
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1008
ret
Function at 0x404a8a
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x47fe60]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
mov esi, dword [ebp + 0xa0]
push edi
mov ebx, ecx
push 0x34
lea edi, [ebx + 4]
push 0
push edi
mov word [ebx + 0x3e], 0x4e4
mov dword [ebp - 0x7c], edi
call fcn.00434ac0
add esp, 0xc
push esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x404aeb
xor eax, eax
jmp 0x404b6a
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x404af9
push eax
call fcn.00416417
pop ecx
push esi
call fcn.00416412
pop ecx
push eax
push esi
mov dword [ebx + 0x38], eax
push 0
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404ae7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x4667ac
push dword [ebx + 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404ae7
mov esi, dword [ebp - 0x74]
push 0xd
pop ecx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404b5c
cmp dword [ebp - 0x78], 4
jb 0x404b5c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 0x7c]
xor eax, eax
cmp dword [ecx], 0xfeef04bd
sete al
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f01
add ebp, 0x98
leave
ret 4

Function at 0x4051ac
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov edi, ecx
stc
mov esi, dword [eax + 0xc]
add esi, 0xc
mov esi, dword [esi]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4051bc
test edi, edi
je 0x4051d2
call fcn.004051f0
cmp edi, eax
jne 0x4051bc
mov eax, dword [esi + 0x18]
pop edi
pop esi
ret
Function at 0x40601c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa4
mov eax, dword [0x47fe60]
xor eax, ebp
mov dword [ebp + 0x70], eax
push edi
mov edi, dword [ebp + 0x7c]
push 0x9c
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.00434ac0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x406064
xor eax, eax
jmp 0x4060e7
cmp dword [ebp - 0x28], 6
jb 0x4060c1
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40605d
push str.GetProductInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40605d
lea ecx, [ebp - 0x30]
push ecx
movzx ecx, word [ebp + 0x6a]
push ecx
movzx ecx, word [ebp + 0x68]
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
test eax, eax
je 0x40605d
push dword [ebp - 0x30]
movzx eax, word [ebp + 0x68]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._u._u._u._u
push edi
call fcn.00401fed
add esp, 0x18
jmp 0x4060e4
lea eax, [ebp - 0x2c]
push eax
call fcn.00405e18
push eax
movzx eax, word [ebp + 0x68]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._u._u._u._u
push edi
call fcn.00401fed
add esp, 0xffffff83
invalid
in al, dx
inc eax

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

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x1c]
mov ebx, dword [esi + edi + 0x20]
add eax, edi
mov ebp, dword [esi + edi + 0x24]
add ebx, edi
mov dword [esp + 0x10], eax
inc esp
and al, 0x10
add ebp, edi
jmp 0x406275
lea ebx, [ebx + 4]
lea ebp, [ebp + 2]
mov esi, dword [ebx]
lea ecx, [esp + 0x18]
mov edx, 0x208
add esi, edi
call fcn.004079c3
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.00406a5d
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0x18]
call fcn.004073d0
movzx ecx, word [ebp]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + ecx*4]
add ecx, edi
cmp dword [esp + 0x14], eax
jne 0x40626f
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
Function at 0x406b53
Capabilities:
Encode data using xor

Disassembly:
jmp 0x406b56
dec edx
test dl, 3
jne 0x406b55
xor eax, eax
test edx, edx
je 0x406b71
push esi
mov esi, dword [esp + 8]
xor dword [eax + ecx], esi
add eax, 4
cmp eax, edx
jb 0x406b66
pop esi
ret 8

Function at 0x407977
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
mov byte [ebp + 0xb], cl
shr eax, 0x18
mov byte [ebp + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 9], al
mov eax, ecx
push edi
mov edi, edx
shr eax, 8
xor ecx, ecx
mov byte [ebp + 0xa], al
mov edx, ecx
test edi, edi
je 0x4079bd
mov al, byte [ebp + ecx + 8]
xor byte [edx + esi], al
lea eax, [ecx + 1]
xor ecx, ecx
inc edx
cmp eax, 4
cmovne ecx, eax
cmp edx, edi
jb 0x4079a6
pop edi
pop esi
pop ebp
ret 4

Function at 0x408e33
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
mov edi, ecx
call fcn.00434ac0
mov al, byte [ebp + 0x10]
add esp, 0xc
neg al
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x20], 1
sbb eax, eax
and eax, 0xffffffc0
add eax, 0x40
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x408e90
mov dword [edi + 0x2c], 5
xor al, al
jmp 0x408eda
cmp byte [ebp + 0x10], 0
jne 0x408ed1
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x408eb2
cmp dword [ebp + 0x10], 0x103
jne 0x408ec8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x408e9e
mov dword [edi + 0x2c], 4
jmp 0x408e8c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x2c], 2
mov al, 1
pop edi
pop esi
leave
ret 0xc

Function at 0x41794e
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x417957
xor eax, eax
jmp 0x4179c0
cmp dword [esp + 8], 0
jne 0x417963
call fcn.00416531
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0043a66b
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41799e
push dword [esi + 0x10]
call fcn.0043a371
test eax, eax
pop ecx
jne 0x41799e
mov esi, dword [esi + 0xc]
call fcn.00439ba0
push esi
push dword [eax]
push 1
call fcn.00420e5e
push dword [esi + 0x10]
call fcn.0043a3a0
test eax, eax
pop ecx
je 0x4179bd
push dword [esi + 0x10]
call fcn.0043a2c5
push eax
call section..text
pop ecx
pop ecx
jmp 0x41798c
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4179c9
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4179d3
call fcn.00416531
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004366e6
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x417a00
mov esi, dword [esi + 0xc]
call fcn.00439ba0
push esi
push dword [eax]
push 1
call fcn.00420e5e
pop esi
ret 8
Function at 0x41b4b2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b4eb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00417c16
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00407033
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41d07c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41d0bf
call fcn.004222b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d0bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d0da
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041cc33
test ebx, ebx
mov esi, eax
je 0x41d0d8
test edi, edi
je 0x41d0d8
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41feae
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41fed7
call fcn.004222b4
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x41fefa
push eax
push dword [esi + 4]
call fcn.0041fe39
push esi
push eax
mov ecx, 0x4831b4
call fcn.0041fad2
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42082e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x463c23
call fcn.00434f10
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00420772
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401572
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x420895
push eax
push dword [esi + 8]
call fcn.0041fe39
push dword [esi + 0xc]
mov ecx, 0x4831b4
push eax
call fcn.0041fad2
mov eax, esi
call fcn.00434fe8
ret 0x1c
Function at 0x42431d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47fe60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x42435d
push 0x46a3b8
push 4
push eax
call fcn.004394f4
push eax
call section..text
add esp, 0x10
jmp 0x42436f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4243dd
push edi
call fcn.00439b8d
mov edi, dword [eax]
call fcn.00439b8d
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00436eac
add esp, 0x18
mov ebx, eax
call fcn.00439b8d
cmp dword [eax], 0
je 0x4243bd
call fcn.00439b8d
push dword [eax]
call fcn.00416848
pop ecx
jmp 0x4243c4
call fcn.00439b8d
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4243dd
cmp ebx, esi
jae 0x4243dd
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4243df
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f01
leave
ret
Function at 0x425dc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x425e0c
call fcn.004222b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x425e0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x425e4f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x425e38
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x425e38
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x425e4c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427680
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4276ae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4276cc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004275ea
jmp 0x4276cc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4276cc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004275ea
test edi, edi
mov eax, edi
jne 0x4276b6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x483368]
test ecx, ecx
je 0x42778f
jmp 0x42767f
ret 8

Function at 0x434f01
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47fe60]
jne 0x434f0b
repz ret
jmp fcn.0043dedc
Function at 0x4479a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043d910
xor ebx, ebx
cmp dword [0x484108], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447a7a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447b5a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46ca68
push edi
call esi
cmp eax, ebx
je 0x447b5a
push eax
call fcn.0043d8a2
mov dword [esp], 0x46ca58
push edi
mov dword [0x484108], eax
call esi
push eax
call fcn.0043d8a2
mov dword [esp], 0x46ca44
push edi
mov dword [0x48410c], eax
call esi
push eax
call fcn.0043d8a2
mov dword [0x484110], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043b1f3
test eax, eax
pop ecx
pop ecx
je 0x447a48
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00436369
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447a7a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043d8a2
cmp eax, ebx
pop ecx
mov dword [0x484118], eax
je 0x447a7a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043d8a2
pop ecx
mov dword [0x484114], eax
mov eax, dword [0x484114]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x447aff
cmp dword [0x484118], ecx
je 0x447aff
push eax
call fcn.0043d919
push dword [0x484118]
mov esi, eax
call fcn.0043d919
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x447aff
cmp edi, ebx
je 0x447aff
call esi
cmp eax, ebx
je 0x447acc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447acc
test byte [ebp - 0x18], 1
jne 0x447aff
lea eax, [ebp - 0x10]
push eax
call fcn.0043b22a
test eax, eax
pop ecx
je 0x447ae7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00436369
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x447af6
or dword [ebp + 0x10], 0x200000
jmp 0x447b3a
or dword [ebp + 0x10], 0x40000
jmp 0x447b3a
mov eax, dword [0x48410c]
cmp eax, dword [ebp - 8]
je 0x447b3a
push eax
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b3a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447b3a
mov eax, dword [0x484110]
cmp eax, dword [ebp - 8]
je 0x447b3a
push eax
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b3a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x484108]
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447b5c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4016ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [0x48b334]
mov ebx, eax
push ebx
call fcn.004675be
mov esi, eax
pop ecx
test esi, esi
je 0x40173c
xor edx, edx
test ebx, ebx
jbe 0x40173c
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x401726
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fbde
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov byte [ebp - 0x1c], 0x49
cmp byte [ebp + 0xc], al
mov dword [ebp - 4], eax
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], al
je 0x40fc44
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], al
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402e7f
mov eax, dword [ebp + 8]
leave
ret 8