joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1002936c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0xb], 0
push edi
mov edi, dword [ebp + 8]
movups xmmword [esi + 0xdc], xmm0
mov word [ebp - 7], 0
movups xmmword [esi + 0xec], xmm0
mov eax, dword [esi + 0x1c]
movq qword [ebp - 0x13], xmm0
mov byte [ebp - 5], 0
movups xmmword [ebp - 0x23], xmm0
movups xmmword [ebp - 0x54], xmm0
cmp eax, 2
jne 0x10014139
movaps xmm0, xmmword [0x10020ea0]
movaps xmm1, xmmword [0x10020eb0]
mov ecx, dword [esi + 8]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm1
call fcn.1001b4d0
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.1001c040
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 8]
push 0x10
push edi
call fcn.1001c040
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x44]
push 0x10
push eax
call fcn.1001b2d0
test eax, eax
jne 0x100141b1
push dword [esi + 0x10c]
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0xfc]
push edi
call fcn.1001c210
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001c190
test eax, eax
jne 0x100141b1
movups xmm0, xmmword [ebp - 0x24]
mov ebx, 1
movups xmmword [ebp - 0x44], xmm0
xor eax, eax
mov cl, byte [edi + eax]
xor cl, bl
mov byte [ebp + eax - 0x54], cl
inc eax
cmp eax, 0x10
jb 0x100140d2
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x54]
push 0x10
push eax
call fcn.1001c210
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001c190
test eax, eax
jne 0x100141b1
movups xmm0, xmmword [ebp - 0x24]
inc ebx
movups xmmword [ebp - 0x44], xmm0
cmp ebx, 0x14
jl 0x100140d0
pop edi
movups xmmword [esi + 0xdc], xmm0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010b9b
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x100141ac
push dword [esi + 0x10c]
movaps xmm0, xmmword [0x10020ea0]
lea eax, [esi + 0xfc]
movaps xmm1, xmmword [0x10020eb0]
mov ecx, dword [esi + 0xc]
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm1
call fcn.1001c210
test eax, eax
jne 0x100141b1
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x24]
push 0x20
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1001c190
test eax, eax
jne 0x100141b1
movups xmm0, xmmword [ebp - 0x24]
pop edi
movups xmmword [esi + 0xdc], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [esi + 0xec], xmm0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010b9b
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010b9b
mov esp, ebp
pop ebp
ret 4

Function at 0x100148a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x100148b1
lea eax, [ecx + 1]
pop ebp
ret 8
pop ebp
jmp fcn.1001b2d0
Function at 0x100148c0
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x100148cb
lea eax, [ecx + 1]
ret
jmp fcn.1001b4d0

Function at 0x1001b240
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x40
push 0
mov dword [esi + 4], eax
lea eax, [esi + 0x24]
mov dword [esi], vtable.kyoceramita::ren_ifc_pdf_lib_md5.0
mov dword [esi + 8], 1
push eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1001b2d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1002936c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x1001b4b7
cmp dword [ebp + 0xc], 0
je 0x1001b4b7
cmp dword [esi + 8], 0
mov dword [ebp - 0x4c], 0x80
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
je 0x1001b3a9
movzx eax, byte [esi + 0x1c]
mov byte [ebp - 0xc], al
movzx eax, byte [esi + 0x1d]
mov byte [ebp - 0xb], al
movzx eax, byte [esi + 0x1e]
mov byte [ebp - 0xa], al
movzx eax, byte [esi + 0x1f]
mov byte [ebp - 9], al
movzx eax, byte [esi + 0x20]
mov byte [ebp - 8], al
movzx eax, byte [esi + 0x21]
mov byte [ebp - 7], al
movzx eax, byte [esi + 0x22]
mov byte [ebp - 6], al
movzx eax, byte [esi + 0x23]
mov byte [ebp - 5], al
jmp 0x1001b3b5
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov edx, dword [esi + 0x1c]
mov ecx, 0x38
shr edx, 3
mov eax, 0x78
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1001c040
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.1001c040
cmp dword [esi + 8], 0
je 0x1001b462
movzx eax, byte [esi + 0xc]
mov byte [edi], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 1], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 2], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 3], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 4], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 5], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 6], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0xf], al
jmp 0x1001b469
movups xmm0, xmmword [esi + 0xc]
movups xmmword [edi], xmm0
push 0x40
lea eax, [esi + 0x24]
mov dword [esi + 0x20], 0
push 0
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010b9b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10010b9b
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b4d0
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [ecx + 0x24]
mov dword [ecx + 0x20], 0
push 0
push eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0xc], 0x67452301
mov dword [ecx + 0x10], 0xefcdab89
mov dword [ecx + 0x14], 0x98badcfe
mov dword [ecx + 0x18], 0x10325476
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
ret

Function at 0x1001c190
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
test edx, edx
je 0x1001c201
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1001c201
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1001c201
sub edx, edi
push ebx
mov dword [ebp + 8], edx
push esi
mov eax, dword [ecx + 0xc]
lea edi, [edi + 1]
inc eax
movzx eax, al
mov dword [ecx + 0xc], eax
lea esi, [ecx + eax]
movzx ebx, byte [esi + 0x14]
mov eax, dword [ecx + 0x10]
add eax, ebx
movzx eax, al
mov dword [ecx + 0x10], eax
movzx edx, byte [ecx + eax + 0x14]
mov byte [esi + 0x14], dl
mov eax, dword [ecx + 0x10]
mov byte [eax + ecx + 0x14], bl
lea eax, [edx + ebx]
mov edx, dword [ebp + 8]
movzx eax, al
mov al, byte [eax + ecx + 0x14]
xor al, byte [edx + edi - 1]
sub dword [ebp + 0x10], 1
mov byte [edi - 1], al
jne 0x1001c1b0
pop esi
pop ebx
xor eax, eax
pop edi
pop ebp
ret 0xc
mov eax, 1
pop edi
pop ebp
ret 0xc

Function at 0x1001c210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x1001c27f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001c27f
xor eax, eax
mov byte [edi + eax + 0x14], al
inc eax
cmp eax, 0x100
jb 0x1001c225
push ebx
push esi
xor bh, bh
xor esi, esi
mov eax, esi
mov bl, byte [edi + esi + 0x14]
xor edx, edx
div ecx
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + edi + 0x14]
mov byte [edi + esi + 0x14], al
inc esi
mov byte [ecx + edi + 0x14], bl
mov ecx, dword [ebp + 0xc]
cmp esi, 0x100
jb 0x1001c237
pop esi
pop ebx
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0xc], 0
pop edi
pop ebp
ret 8
mov eax, 1
pop edi
pop ebp
ret 8
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7e501893
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x13d57645
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4019f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str._system32777.dll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401a5f
cmp dword [ebp - 0x118], 0
je 0x401a5f
jmp 0x401ac3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401ac3
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x438274], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x438290], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x43828c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.004013b0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401a5f
mov esp, ebp
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x401880
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004025f0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004025f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4018e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x406068]
test esi, esi
jle 0x401a00
mov eax, dword [0x40606c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401914
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401997
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401900
mov dword [esp], ebx
call fcn.004022d0
mov edi, eax
test eax, eax
je 0x401a27
mov eax, dword [0x40606c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402410
mov edx, dword [0x40606c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a07
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401990
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4019a0
add dword [0x406068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40606c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401880
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40191e
mov eax, dword [0x40606c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401880
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401880
lea esi, [esi]
nop
Function at 0x401f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40607c]
sub esp, 4
test ebx, ebx
je 0x401f95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f8e
test esi, esi
je 0x401f8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f70
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4022d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4022f5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402300
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4022f5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402348
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40233e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40234a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402330
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
mov eax, dword [0x4182f8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x4182fc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0xadffe4], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0xb18]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x418300]
mov edx, dword [0x418304]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xadffe4], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xadffe0]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xadffe4], 0x3eb
mov dword [0xadffe0], eax
mov eax, dword [0xadff38]
cmove eax, dword [ebp - 8]
mov dword [0xadff38], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [0xadffdc], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0xadffe4], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40136d
push edx
push edx
push edx
lea eax, [ebp - 0x318]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x718]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0xadffe4], 0xb03
mov dword [ebp - 4], ecx
jne 0x4013b0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jne 0x40127f
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b52a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407220
mov dword [ebp - 0x14], eax
cmp dword [0x43b7cc], esi
jne 0x40b61d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40b5aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40b6fd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40b6fd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b6fd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43b7cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43b7d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43b7d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b7dc], eax
test eax, eax
je 0x40b61a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b7d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40b642
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b635
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40b657
push 4
pop eax
jmp 0x40b6ff
cmp dword [ebp - 0x14], esi
je 0x40b657
push dword [0x43b7cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40b63c
mov eax, dword [0x43b7d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40b6b5
cmp dword [0x43b7dc], edi
je 0x40b6b5
push eax
call ebx
push dword [0x43b7dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40b6b5
test eax, eax
je 0x40b6b5
call ecx
test eax, eax
je 0x40b6aa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40b6aa
test byte [ebp - 8], 1
jne 0x40b6b5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40b6e5
mov eax, dword [0x43b7d0]
cmp eax, edi
je 0x40b6e2
push eax
call ebx
test eax, eax
je 0x40b6e2
call eax
mov esi, eax
test esi, esi
je 0x40b6e2
mov eax, dword [0x43b7d4]
cmp eax, edi
je 0x40b6e2
push eax
call ebx
test eax, eax
je 0x40b6e2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43b7cc]
call ebx
test eax, eax
je 0x40b6fd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40b6ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a7c
mov esp, ebp
pop ebp
ret
Function at 0x44ac30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596f53
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x610684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x618bd8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x618bd8
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5d7b58
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004492e0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret