joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d43
Capabilities:
Check if file exists
Get common file path
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push esi
push edi
lea eax, [ebp - 0x51c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push dword [0x4070cc]
lea eax, [ebp - 0x51c]
push eax
call fcn.00404160
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x210]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00404150
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.004033d0
add esp, 0x10
cmp eax, esi
je 0x403db1
mov byte [eax], 0
xor edi, edi
push edi
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
inc edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x403db3
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x403f1c
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.004042e0
push dword [0x4070c8]
mov esi, eax
call fcn.004042e0
lea esi, [eax + esi*2 + 0x14]
lea eax, [ebp - 0x10c]
push eax
call fcn.004042e0
add esi, eax
lea eax, [ebp - 0x418]
push eax
call fcn.004042e0
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
add esp, 0x10
add esi, eax
push esi
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push esi
mov ebx, eax
push 0
push ebx
call fcn.00404370
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
push eax
push dword [0x4070c8]
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemA]
push 0
lea eax, [ebp - 8]
push eax
push ebx
call fcn.004042e0
pop ecx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x406424
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x406420
lea eax, [ebp - 0x314]
push eax
call esi
push 0x4063ac
lea eax, [ebp - 0x314]
push eax
call esi
push str.ShellExecuteA
push str.shell32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
xor esi, esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x314]
push ecx
push esi
call eax
push ebx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40c20d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40c21c
pop dword [ebp - 0x44]
mov eax, 0x40c21c
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3b582
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x3e41
xor esi, esi
add esi, eax
mov edi, 0x9c23811f
add edi, 0x641fd2e1
add edi, dword [ebp - 0x44]
mov ebx, 0xd775d493
add ebx, 0x4db7e501
mov edx, dword [edi]
xor dword [ebp - 0x34], esi
xor edx, ebx
mov dword [ebp - 0x34], 0x6c5b4957
mov dword [esi], edx
mov dword [ebp - 0x34], 0xa7870be9
add esi, 4
add edi, 4
loop 0x40c26d
add eax, 0x84259292
sub eax, 0x8424a6bb
mov ebx, eax
add eax, 5
mov ecx, 0xd28fd85d
sub ecx, 0xd24fd85d
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4025ce
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
lea ebp, [esp - 0x1008]
mov eax, 0x1008
call fcn.00406e20
push 0xffffffffffffffff
push 0x4124ce
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x41c100]
xor eax, ebp
mov dword [ebp + 0x1004], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov edi, esi
inc ecx
mov dword [ebp - 0x14], ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push edi
push edi
push edi
push ecx
mov dword [ebp - 4], edi
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_122.0.0.0_Safari_537.36
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4026b7
cmp dword [ebx + 0x14], 0xf
jbe 0x402650
mov ebx, dword [ebx]
push edi
push 0x80000000
push edi
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x4026ae
mov ebx, 0x1000
lea eax, [ebp + 4]
push ebx
push 0
push eax
call fcn.00407830
add esp, 0xc
jmp 0x402693
cmp dword [ebp], 0
je 0x4026a7
push dword [ebp]
lea eax, [ebp + 4]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.004039a3
lea eax, [ebp]
push eax
push ebx
lea eax, [ebp + 4]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40267c
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1004]
xor ecx, ebp
call fcn.00405f0a
add ebp, 0x1008
leave
ret
Function at 0x406b93
Capabilities:
Parse pe header

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

Function at 0x40b8e0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415bcc
push 0x415bc4
push str.FlsAlloc
push 0x1f
call fcn.0040b81b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b914
push dword [ebp + 8]
mov ecx, esi
call dword [0x41316c]
call esi
jmp 0x40b91a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b95e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415bdc
push 0x415bd4
push str.FlsGetValue
push 0x21
call fcn.0040b81b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b995
push dword [ebp + 8]
mov ecx, esi
call dword [0x41316c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b99d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415be4
push 0x415bdc
push str.FlsSetValue
push 0x22
call fcn.0040b81b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b9d7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41316c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40c3a4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41c100]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40c3ef
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040c5c1
test al, al
jne 0x40c3e9
sub edx, 2
cmp edx, edi
jne 0x40c3cf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40c411
lea eax, [edi + 2]
cmp edx, eax
je 0x40c411
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040c2f0
add esp, 0x10
jmp 0x40c50b
push esi
lea ecx, [ebp - 0x255]
call fcn.0040c5c1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c454
push dword [ebp - 0x25c]
jmp 0x40c401
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40c491
cmp word [ebp - 0x226], 0
je 0x40c4b2
cmp word [ebp - 0x226], ax
jne 0x40c491
cmp word [ebp - 0x224], 0
je 0x40c4b2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040c2f0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40c4fe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40c46b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40c4e6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40c50b
push 0x40c120
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040f2d0
add esp, 0x10
jmp 0x40c4db
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f0a
leave
ret
Function at 0x412060
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41208d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41208d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406315
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40ba88
cmp edx, dword [eax]
je 0x406337
add eax, 8
inc ecx
cmp eax, 0x40bb18
jl 0x406328
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40ba88]
jne 0x406465
mov eax, dword [0x40bfd4]
cmp eax, 1
je 0x40643f
test eax, eax
jne 0x406368
cmp dword [0x40b734], 1
je 0x40643f
cmp edx, 0xfc
je 0x406465
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40639f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409584
push edi
call fcn.004077e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037f0
lea eax, [ebp - 0xa0]
push 0x409564
push eax
call fcn.004037f0
push dword [esi + 0x40ba8c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407756
add esp, 0x2c
pop edi
jmp 0x406465
lea eax, [ebp + 8]
lea esi, [esi + 0x40ba8c]
push 0
push eax
push dword [esi]
call fcn.004038d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x411429
Capabilities:
List groups for user account

Disassembly:
jmp 0x430abd
jmp dword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x4ad14682
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x4cb40edf
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x409f20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x409f42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0xf]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x409f30
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x409f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x525540]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x21], 0x434c5270
mov dword [ebp - 0x1d], 0x484a4d57
mov word [ebp - 0x19], 0x100
nop word [eax + eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0x409f80
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0x7e756461
mov dword [ebp - 0x13], 0x7a713a7f
mov word [ebp - 0xf], 0x7b
mov byte [ebp - 0xd], 1
nop dword [eax + eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0x409fb0
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [0x50b060]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [0x50b0d4]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [0x50b0f4]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a06b
mov esi, dword [0x53348c]
push esi
push edi
push eax
call dword [0x50b0c8]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [0x50b1e4]
cmp ebx, 0xc0000004
jne 0x40a04c
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x40a061
push esi
push 0
push ebx
call dword [0x50b0c8]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [0x50b1e4]
cmp ebx, 0xc0000004
je 0x40a015
test ebx, ebx
jns 0x40a071
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x53348c]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x53348c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a0a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x40a0c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0xf]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x40a0b0
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0x40a0d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x40a0f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0xf]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x40a0e0
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret

Function at 0x40a210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x40a232
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0xf]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x40a220
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret
Function at 0x40a240
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x40a262
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0xf]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x40a250
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x40b530
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5025a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0x18], 0
push 0x24
mov dword [ebp - 4], 1
call fcn.004dbd81
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov ecx, esi
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x521618
push 0
movups xmmword [esi], xmm0
push 0x51f4b8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00402810
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [ebp - 0x18], 3
xor ecx, ecx
mov dword [ebp - 0x10], 0x100727d
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b5d8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1e50
mov edi, eax
add esp, 8
test edi, edi
je 0x40b679
push 2
push 0
push edi
call fcn.004e5c26
push edi
call fcn.004e19db
push 0
push 0
push edi
mov esi, eax
call fcn.004e5c26
mov eax, 0x1e8480
add esp, 0x1c
cmp esi, eax
cmova esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp esi, dword [ecx + 0x10]
lea edx, [ecx + 0x10]
ja 0x40b64d
cmp dword [ecx + 0x14], 0x10
jb 0x40b645
mov ecx, dword [ecx]
mov dword [edx], esi
mov byte [ecx + esi], 0
jmp 0x40b65c
mov eax, esi
sub eax, dword [edx]
push 0
push eax
call fcn.004678f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0x10
jb 0x40b666
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004ea6cf
push edi
call fcn.004e56d8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
pop esi
cmp ecx, 0x10
jb 0x40b6ab
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b6a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6bc
push ecx
push edx
call fcn.004dc002
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e12a0
int3
Function at 0x40b6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x100727d
xor ecx, ecx
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40b6e0
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push esi
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1e50
mov esi, eax
add esp, 8
test esi, esi
je 0x40b72b
push 2
push 0
push esi
call fcn.004e5c26
push esi
call fcn.004e19db
push esi
mov edi, eax
call fcn.004e56d8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40b75c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b752
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b763
push ecx
push edx
call fcn.004dc002
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e12a0
int3

Function at 0x40b7b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0x557d645d
xor ecx, ecx
mov dword [ebp - 0x16], 0x73436076
mov dword [ebp - 0x12], 0x75706b65
mov word [ebp - 0xe], 0x75
mov byte [ebp - 0xc], 1
nop word [eax + eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40b7e0
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x7e756441
mov dword [ebp - 7], 0x7a713a7f
mov word [ebp - 3], 0x7b
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40b810
lea eax, [ebp - 0xb]
mov byte [ebp - 1], 0
push eax
call dword [0x50b060]
lea ecx, [ebp - 0x1a]
push ecx
push eax
call dword [0x50b0d4]
test eax, eax
je 0x40b845
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40b852
lea eax, [ebp - 0xb8]
push eax
call dword [0x50b0a8]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40b862
cmp eax, 0xa
jne 0x40b871
cmp dword [ebp - 0xb0], 0
je 0x40b88b
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40b86b
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40b88b
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40b940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x100727d
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40b950
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1e50
add esp, 8
test eax, eax
je 0x40b98b
push eax
call fcn.004e56d8
add esp, 4
mov bl, 1
jmp 0x40b98d
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40b9bd
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9c4
push ecx
push edx
call fcn.004dc002
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e12a0
int3
Function at 0x40c260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ecx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0x64
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call dword [0x50b34c]
test eax, eax
jne 0x40c467
mov esi, dword [0x50b2f0]
push 1
call esi
push 0
mov edi, eax
call esi
push 0
mov esi, eax
call dword [0x50b300]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40c45d
push eax
call dword [0x50b03c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40c451
push edi
push esi
push dword [esp + 0x1c]
call dword [0x50b034]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40c447
push eax
push dword [esp + 0x14]
call dword [0x50b038]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push edi
push esi
push 0
push 0
push dword [esp + 0x30]
call dword [0x50b044]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push dword [esp + 0x28]
call dword [0x50b360]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
call dword [0x50b35c]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c3f1
push eax
call fcn.004eaa1c
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40c3f1
push edi
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [0x50b364]
xor esi, esi
cmp dword [esp + 8], esi
jbe 0x40c3e8
add edi, 0x30
nop dword [eax]
mov eax, dword [edi]
mov ecx, 0x51fd58
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c3cd
test dx, dx
je 0x40c3c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c3cd
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c3a7
xor eax, eax
jmp 0x40c3d2
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c46f
inc esi
add edi, 0x4c
cmp esi, dword [esp + 8]
jb 0x40c3a0
mov edi, dword [esp + 0x18]
push edi
call fcn.004ea2c6
add esp, 4
movups xmm0, xmmword [0x50cab8]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 1
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0x60], xmm0
push esi
mov dword [esp + 0x78], 4
mov dword [esp + 0x74], 1
call dword [0x50b358]
push dword [esp + 0x20]
call dword [0x50b040]
push esi
call dword [0x50b354]
push dword [esp + 0x10]
call dword [0x50b040]
push dword [esp + 0x14]
push 0
call dword [0x50b310]
push dword [esp + 0x2c]
call dword [0x50b350]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0x44], xmm0
jmp 0x40c3e9