joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, ecx
mov ecx, 0x10b
push edi
xor edi, edi
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x3c]
cmp word [eax + edx + 0x18], cx
je 0x408884
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
mov dword [ebp - 0x1c], eax
add ebx, edx
je 0x40889b
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x4088a3
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea ecx, [eax + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c]
add eax, edx
push esi
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
sub esi, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
js 0x408967
nop
add eax, esi
cdq
sub eax, edx
mov edx, 0x5486fc
mov esi, eax
sar esi, 1
mov ecx, dword [ecx + esi*4]
add ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x408904
test al, al
je 0x408900
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x408904
add ecx, 2
add edx, 2
test al, al
jne 0x4088e4
xor eax, eax
jmp 0x408909
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 4]
test eax, eax
jne 0x408939
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx eax, word [eax + esi*2]
mov edi, dword [ecx + eax*4]
add edi, edx
cmp edi, ebx
jb 0x40892c
mov eax, dword [ebp - 0x1c]
add eax, ebx
cmp edi, eax
jb 0x408963
test edi, edi
jne 0x4089ca
mov eax, dword [ebp - 0xc]
jmp 0x408954
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0xc], ecx
je 0x408967
test eax, eax
jle 0x40894e
mov eax, dword [ebp - 0xc]
dec esi
mov dword [ebp - 8], esi
jmp 0x408957
lea eax, [esi + 1]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 8]
cmp eax, esi
jg 0x408967
mov ecx, dword [ebp - 0x10]
jmp 0x4088d0
test edi, edi
jne 0x4089ca
mov ebx, dword [ebp - 8]
xor esi, esi
test ebx, ebx
js 0x4089ca
mov eax, dword [ebp - 0x10]
mov ecx, 0x5486fc
mov eax, dword [eax + esi*4]
add eax, edx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4089a0
test dl, dl
je 0x40899c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4089a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x408980
xor eax, eax
jmp 0x4089a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4089ba
mov edx, dword [ebp - 4]
inc esi
cmp esi, ebx
jle 0x408970
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx eax, word [eax + esi*2]
mov edi, dword [ecx + eax*4]
add edi, dword [ebp - 4]
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4089e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x55c380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x48], edx
push edi
mov dword [ebp - 0x4c], eax
cmp dword [esi + 0x14], 8
jb 0x408a08
mov eax, dword [esi]
jmp 0x408a0a
mov eax, esi
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
push ebx
call fcn.004f63a3
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x408a2a
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x40]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x408a56
push edi
call fcn.004f63ac
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x5486bc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x408a3a
push dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.004f93a0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
push edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
call fcn.004f63ac
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
Function at 0x40c200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ffb6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55c380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004f5ed8
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004f41c1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520636
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x55c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
cmp eax, 1
jne 0x410349
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edi], ax
jne 0x410291
xor ecx, ecx
jmp 0x4102a5
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410296
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402810
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00410430
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4102f9
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4102dc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403020
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402b60
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41030e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403020
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x41033a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403020
mov ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0x40]
cmp ecx, 8
cmovae edi, dword [ebp - 0x40]
jmp 0x41034c
mov ecx, dword [ebp - 0x2c]
mov esi, edi
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x410351
sub esi, edx
sar esi, 1
je 0x4103f0
xor ebx, ebx
test esi, esi
jle 0x4103f0
cmp word [edi + ebx*2], 0x5c
jne 0x4103e8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edi], ax
je 0x4103a4
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410395
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402810
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
mov word [eax + ebx*2], cx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4103e8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403020
inc ebx
cmp ebx, esi
jl 0x410370
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x410404
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00403020
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
Function at 0x410430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520682
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x55c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x428], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x42c], edi
mov dword [edi + 0x10], 0
jb 0x4104a4
mov eax, dword [edi]
jmp 0x4104a6
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x5431b8
call fcn.00402810
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x424], 1
call fcn.004f8b70
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f8b70
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [esi + 0x14], 8
jb 0x41051b
mov eax, dword [esi]
jmp 0x41051d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41055a
cmp dword [esi + 0x14], 8
jb 0x410530
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x410540
jmp 0x410581
cmp dword [esi + 0x14], 8
jb 0x410562
mov esi, dword [esi]
lea ecx, [ebp - 0x420]
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x410570
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
cmp word [ebp - 0x218], 0
jne 0x4105a3
xor ecx, ecx
jmp 0x4105bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4105b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00402810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
Function at 0x4105f0
Capabilities:
Get common file path
Get startup folder
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5206bb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x55c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x22c], esi
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
push 0x1fe
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
call fcn.004f8b70
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4106be
push str.SHGetFolderPath_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.00402b60
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x410761
inc ecx
push ecx
jmp 0x410750
cmp word [ebp - 0x210], 0
jne 0x4106cc
xor ecx, ecx
jmp 0x4106e4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4106d5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00402810
push 0xc
push str.WiFiMaster_
lea ecx, [ebp - 0x228]
call fcn.00402a30
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
cmovae ecx, dword [ebp - 0x228]
call fcn.00410220
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.00402b60
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x410761
inc eax
push eax
push dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
call fcn.00403020
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
Function at 0x416160
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, 7
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ebx
mov edi, str.SQLITE_
mov al, byte [esi]
dec edx
test al, al
je 0x41619a
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x545b78]
cmp al, byte [ecx + 0x545b78]
jne 0x41619a
inc esi
inc edi
test edx, edx
jg 0x416178
dec edx
test edx, edx
jns 0x4161a2
xor ecx, ecx
jmp 0x4161b8
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x545b78]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x545b78]
sub ecx, eax
test ecx, ecx
lea edx, [ebx + 7]
cmovne edx, ebx
mov dword [ebp - 8], edx
mov ebx, edx
test edx, edx
je 0x4161de
cmp byte [ebx], 0
je 0x4161d6
nop
inc ebx
cmp byte [ebx], 0
jne 0x4161d0
sub ebx, edx
and ebx, 0x3fffffff
mov ecx, 0x5476b4
mov dword [ebp + 8], ecx
mov ecx, dword [ecx]
mov eax, ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, ecx
test ebx, ebx
je 0x416216
mov cl, byte [esi]
dec eax
test cl, cl
je 0x416217
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x545b78]
cmp cl, byte [edx + 0x545b78]
jne 0x416217
inc esi
inc edi
test eax, eax
jg 0x4161f5
dec eax
test eax, eax
js 0x416233
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x545b78]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x545b78]
sub eax, ecx
jne 0x416241
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
test al, al
je 0x41625e
cmp al, 0x3d
je 0x41625e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add ecx, 4
mov dword [ebp + 8], ecx
cmp ecx, str.cw
jl 0x4161e6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x41c4ad
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x545b78]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x41c490
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x41c530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [edx*8]
mov ebx, ecx
cmp eax, 0x400
mov dword [ebp - 4], ebx
mov esi, 0x80
cmovbe esi, edx
push edi
cmp esi, dword [ebx]
jne 0x41c55f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x566a38]
test eax, eax
je 0x41c56a
call eax
lea eax, [esi*8]
push eax
call fcn.00418d10
mov ecx, dword [0x566a3c]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x41c58b
call ecx
test esi, esi
je 0x41c556
push dword [ebx + 0xc]
call fcn.00419000
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x55f468]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.004f8b70
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x41c66e
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x41c5fd
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x545b78]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x41c5e0
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x41c648
mov eax, dword [esi]
test eax, eax
je 0x41c61b
mov edx, dword [esi + 4]
jmp 0x41c61d
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x41c648
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x41c63d
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x41c664
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x41c664
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x41c65a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x41c5d4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x41c7e4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x41c7d4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x545b78]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x41c7b4
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x41c7e6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0041c680
add esp, 8
test eax, eax
je 0x41c800
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41c810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
cmp dword [esi], 0
je 0x41c865
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x41c855
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x545b78]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x41c835
mov esi, dword [ebp - 0xc]
mov eax, edi
xor edx, edx
div dword [esi]
mov edi, dword [ebp - 8]
mov ebx, edx
mov dword [ebp - 4], edx
jmp 0x41c86a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.0041c680
add esp, 8
test eax, eax
je 0x41c8b2
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41c8a2
push ebx
mov edx, eax
mov ecx, esi
call fcn.0041c730
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41c950
push 0x14
call fcn.00418d10
mov edi, eax
add esp, 4
test edi, edi
jne 0x41c8d6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0xa
jb 0x41c916
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x41c916
add edx, edx
mov ecx, esi
call fcn.0041c530
test eax, eax
je 0x41c916
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0041c480
xor edx, edx
div dword [esi]
jmp 0x41c919
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41c937
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.0041c4c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x41c946
mov dword [eax + 4], edi
mov dword [edi + 4], 0
mov dword [esi + 8], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x3c]
cmp dword [edx], ebx
jne 0x423c10
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x423d14
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x423c50
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004f6b60
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
push 5
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], eax
nop dword [eax]
test edi, edi
je 0x423d14
mov ebx, dword [edi + 0x10]
cmp ebx, dword [esi + 0x18]
ja 0x423d06
test byte [edi + 0x18], 0x20
jne 0x423d06
mov eax, dword [esi + 0x80]
lea ecx, [ebx - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.004f6b60
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp ebx, 1
jne 0x423c94
mov ecx, edi
call fcn.00422e40
mov ecx, dword [esi + 0xac]
test ecx, ecx
jne 0x423ca6
mov edx, dword [edi + 4]
mov dword [ebp - 8], edx
jmp 0x423cc0
push 6
push ebx
push dword [edi + 4]
push dword [esi + 0xb8]
call ecx
mov edx, eax
add esp, 0x10
mov dword [ebp - 8], edx
test edx, edx
je 0x423d1d
push dword [ebp - 4]
mov ecx, dword [esi + 0x3c]
push dword [ebp - 0xc]
push dword [esi + 0x80]
mov eax, dword [ecx]
push edx
push ecx
mov eax, dword [eax + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x423cee
mov eax, dword [ebp - 8]
movups xmm0, xmmword [eax + 0x18]
movups xmmword [esi + 0x64], xmm0
cmp ebx, dword [esi + 0x20]
jbe 0x423cf6
mov dword [esi + 0x20], ebx
push dword [edi + 4]
mov ecx, dword [esi + 0x58]
mov edx, ebx
call fcn.00431c80
add esp, 4
mov ebx, dword [ebp - 4]
mov edi, dword [edi + 0xc]
test ebx, ebx
je 0x423c50
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
jne 0x444a6b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x50
call fcn.00419310
mov esi, eax
test esi, esi
je 0x444a62
push dword [ebp + 8]
mov edx, dword [edi]
mov ecx, ebx
call fcn.004445b0
add esp, 4
mov dword [esi], eax
mov edx, dword [edi + 8]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00444720
add esp, 4
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00444590
add esp, 4
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0x10]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004445b0
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00444590
add esp, 4
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004445b0
add esp, 4
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov ecx, ebx
mov byte [esi + 4], al
mov edx, dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.00444a50
add esp, 4
mov dword [esi + 0x1c], eax
test eax, eax
je 0x444b0b
mov dword [eax + 0x20], esi
push dword [ebp + 8]
mov dword [esi + 0x20], 0
mov ecx, ebx
mov edx, dword [edi + 0x28]
call fcn.00444590
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [edi + 0x2c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00444590
mov dword [esi + 0x2c], eax
add esp, 4
mov dword [esi + 0x30], 0
mov ecx, 0xfff7
mov dword [esi + 0x34], 0
mov ax, word [edi + 6]
and ax, cx
mov dword [esi + 0x24], 0
mov word [esi + 6], ax
mov eax, esi
pop edi
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret