joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00409718
xor eax, eax
push ebp
push 0x44fa3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00448d10
xor eax, eax
push ebp
push 0x44fa0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x44f9ef
inc ebx
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00448d10
mov eax, dword [ebp - 0x1c]
and eax, 2
cmp eax, 2
jne 0x44f9e7
mov eax, dword [ebp - 0x1c]
and eax, 1
dec eax
jne 0x44f9e7
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00448d10
lea eax, [ebp - 8]
call fcn.004096a4
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00448d10
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00448d10
lea eax, [edi + 4]
mov edx, dword [ebp - 8]
call fcn.004096bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0044f868
inc esi
dec ebx
jne 0x44f962
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fa11
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x40218d
Capabilities:
Parse pe header

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4021c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4bc1f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [0x4b55b8]
mov dword [ebp - 4], eax
mov byte [ebp - 0x111], 0x61
jmp 0x4021f9
mov cl, byte [ebp - 0x111]
add cl, 1
mov byte [ebp - 0x111], cl
movsx edx, byte [ebp - 0x111]
cmp edx, 0x7a
jg 0x402281
push 5
movzx eax, byte [ebp - 0x111]
push eax
mov ecx, dword [ebp - 0x118]
call fcn.004022a0
movzx ecx, al
cmp ecx, 1
jne 0x40227c
mov dl, byte [ebp - 0x111]
mov byte [ebp - 4], dl
push 0
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x38
mov eax, dword [ebp - 0x118]
mov edx, dword [eax + 0x38]
mov eax, dword [edx + 0xc]
call eax
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x40227c
mov al, byte [ebp - 0x111]
jmp 0x402283
jmp 0x4021ea
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00483cec
mov esp, ebp
pop ebp
ret

Function at 0x4022a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [0x4b55bc]
mov dword [ebp - 4], eax
mov cl, byte [ebp + 8]
mov byte [ebp - 4], cl
lea edx, [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, dword [ebp + 0xc]
jne 0x4022ca
mov al, 1
jmp 0x4022cc
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x4034b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4bc1f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x584], ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x588], eax
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx + 0x584], 9
je 0x403505
mov edx, dword [ebp - 0x42c]
cmp dword [edx + 0x584], 0xd
jne 0x403549
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0x588]
mov dword [ebp - 0x430], ecx
cmp dword [ebp - 0x430], 9
jl 0x40352d
cmp dword [ebp - 0x430], 0x10
jle 0x40352b
jmp 0x40352d
jmp 0x403547
mov edx, dword [ebp - 0x42c]
cmp dword [edx + 0x588], 1
je 0x403547
mov ecx, dword [ebp - 0x42c]
call fcn.00403060
jmp 0x403573
mov ecx, dword [ebp - 0x42c]
call fcn.00403480
push 0x4b56b4
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
movzx edx, byte [ebp + 0x10]
cmp edx, 1
jne 0x40358c
mov ecx, dword [ebp - 0x42c]
call fcn.004036b0
jmp 0x40369d
lea ecx, [ebp - 0x310]
call fcn.00402cb0
push 0x304
push 0
lea eax, [ebp - 0x310]
push eax
call fcn.00484ea0
add esp, 0xc
mov dword [ebp - 0x310], 0x1964
fldz
fstp dword [ebp - 0x2f4]
fldz
fstp dword [ebp - 0x2f0]
fldz
fstp dword [ebp - 0x2ec]
mov dword [ebp - 0x2d4], 0x500
mov dword [ebp - 0x2d0], 0x2d0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0x500
mov dword [ebp - 0x2c0], 0x2d0
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
lea ecx, [ebp - 0x428]
call fcn.00401000
mov ecx, dword [eax]
mov dword [ebp - 0x2e4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2e0], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x30c], 0x6d
mov byte [ebp - 0x300], 1
lea eax, [ebp - 0x310]
push eax
mov ecx, 0x2071bd8
call fcn.0040b750
push ecx
fld dword [0x4b6220]
fstp dword [esp]
push 0xc8
mov ecx, dword [ebp - 0x310]
push ecx
mov ecx, 0x2071bd8
call fcn.0040f770
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483cec
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0xc]
call eax
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
push 0x4b5804
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_lstrcatA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406cec
push 0x4b580c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov ecx, dword [ebp - 4]
call fcn.004021c0
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406cec
xor al, al
jmp 0x406cee
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x42be40
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6582
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4bc1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4b5a54
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
call fcn.0042bfe0
push 0x4382b0
push 0x64
push 0x18
mov ecx, dword [ebp - 0x10]
add ecx, 0x3eafd0
push ecx
call fcn.004847cc
mov byte [ebp - 4], 0xc
push fcn.00437fe0
push 0xa
push 0x1c
mov edx, dword [ebp - 0x10]
add edx, 0x3ead9c
push edx
call fcn.004847cc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead80
call fcn.00437fe0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead64
call fcn.00437fe0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead48
call fcn.00437fe0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead2c
call fcn.00437fe0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead10
call fcn.00437fe0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x313bcc
call fcn.00480550
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x313bb0
call fcn.004830d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xc7428
call fcn.00482d60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xc7404
call fcn.00481220
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004830d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00482f30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004830d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004809a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44f3c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x44f48e
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x44f48c
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44f481
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
jne 0x44f45e
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
jmp 0x44f47f
cmp dword [ebp - 0x14], 0x102
jne 0x44f474
mov byte [ebp - 5], 4
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0
jmp 0x44f47f
mov byte [ebp - 5], 5
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 8], 0
jmp 0x44f48c
mov byte [ebp - 5], 5
mov edx, dword [ebp - 0x18]
mov byte [edx + 8], 0
jmp 0x44f492
mov byte [ebp - 5], 2
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8

Function at 0x44f4a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bc1f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0044efa0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x4b5b7c
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x70], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x6c], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x35
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x30
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 1
mov byte [ebp - 8], 2
mov byte [ebp - 7], 3
mov byte [ebp - 6], 0x68
mov byte [ebp - 5], 0x3e
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483cec
mov esp, ebp
pop ebp
ret
Function at 0x45cb60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x4bc1f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1b0], ecx
push 0x64
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + 0x234]
push edx
call dword [sym.imp.user32.dll_GetWindowTextA]
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0xd8], 0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xe0]
jge 0x45cc6e
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x1a8]
and eax, 0xff
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0x81
jl 0x45cbfa
cmp dword [ebp - 0x1ac], 0x9f
jle 0x45cc12
cmp dword [ebp - 0x1ac], 0xe0
jl 0x45cc60
cmp dword [ebp - 0x1ac], 0xfc
jg 0x45cc60
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x1a8]
mov byte [ebp + ecx - 0xd8], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dl, byte [ebp + ecx - 0x1a8]
mov byte [ebp + eax - 0xd8], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0xd8], 0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x45cbbd
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jg 0x45cc81
jmp 0x45cc97
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 0x64
jle 0x45cc97
mov byte [ebp - 0x74], 0
mov ecx, 0x27d8468
call fcn.00456dd0
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x3ab98
mov ecx, dword [ebp - 0xdc]
lea edx, [ecx + eax + 9]
push edx
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x45ccce
jmp 0x45ccf9
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x3ab98
mov edx, dword [ebp - 0xdc]
lea eax, [edx + ecx + 9]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov ecx, 0x27d8468
call fcn.0042b000
mov ecx, dword [ebp - 0x1b0]
call fcn.0045a9f0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00483cec
mov esp, ebp
pop ebp
ret 4
Function at 0x482b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x482b37
mov eax, 0xc
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 8]
test edx, edx
jne 0x482b46
lea eax, [edx + 3]
pop esi
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x482b55
lea eax, [ecx + 2]
pop esi
pop ebp
ret 8
push edi
push 0
lea edi, [ebp + 8]
push edi
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
cmp eax, 1
jne 0x482b88
mov eax, dword [ebp + 8]
test eax, eax
jne 0x482b7e
mov dword [esi + 0xc], 1
pop esi
pop ebp
ret 8
add dword [esi + 8], eax
xor eax, eax
pop esi
pop ebp
ret 8
mov eax, 0xe
pop esi
pop ebp
ret 8

Function at 0x483cec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bc1f0]
jne 0x483cf6
repz ret
jmp fcn.00485ae0

Function at 0x48dbd3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00486bd1
and dword [ebp - 4], 0
cmp dword [0x4c1458], 0
mov ebx, eax
jne 0x48dc84
push 0x4aa934
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48dd35
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4aa928
push edi
call esi
test eax, eax
je 0x48dd35
push eax
call fcn.00486b5f
mov dword [esp], 0x4aa918
push edi
mov dword [0x4c1458], eax
call esi
push eax
call fcn.00486b5f
mov dword [esp], 0x4aa904
push edi
mov dword [0x4c145c], eax
call esi
push eax
call fcn.00486b5f
mov dword [esp], 0x4aa8e8
push edi
mov dword [0x4c1460], eax
call esi
push eax
call fcn.00486b5f
pop ecx
mov dword [0x4c1468], eax
test eax, eax
je 0x48dc84
push 0x4aa8d0
push edi
call esi
push eax
call fcn.00486b5f
pop ecx
mov dword [0x4c1464], eax
mov eax, dword [0x4c1464]
cmp eax, ebx
je 0x48dcdc
cmp dword [0x4c1468], ebx
je 0x48dcdc
push eax
call fcn.00486bda
push dword [0x4c1468]
mov esi, eax
call fcn.00486bda
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48dcdc
test edi, edi
je 0x48dcdc
call esi
test eax, eax
je 0x48dcd3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48dcd3
test byte [ebp - 0xc], 1
jne 0x48dcdc
or dword [ebp + 0x10], 0x200000
jmp 0x48dd15
mov eax, dword [0x4c145c]
cmp eax, ebx
je 0x48dd15
push eax
call fcn.00486bda
pop ecx
test eax, eax
je 0x48dd15
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48dd15
mov eax, dword [0x4c1460]
cmp eax, ebx
je 0x48dd15
push eax
call fcn.00486bda
pop ecx
test eax, eax
je 0x48dd15
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c1458]
call fcn.00486bda
pop ecx
test eax, eax
je 0x48dd35
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48dd37
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a19e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4a1a80
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x4a1a32
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4bfc64]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4a1a13
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4a1a5b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4bfc64]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4a1a3e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x40444a
Capabilities:
Get graphical window text

Disassembly:
push 0x32
push 0x40616c
push dword [0x4068a8]
call sub.USER32.dll_GetWindowTextA
or eax, eax
je 0x4044a8
push 0x40616c
push eax
push 0x40656c
call section..text
mov esi, 0x40656c
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov bl, byte [ecx + esi]
test bl, bl
je 0x404490
imul ebx, ecx
imul ebx, ebx
add ebx, 0x50
add eax, ebx
inc ecx
jmp 0x404479
xor eax, 0x12345678
push eax
push 0x406078
push 0x40676c
call sub.USER32.dll_wsprintfA
add esp, 0xc
ret
Function at 0x401040
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x4010b0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_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
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401100
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x401100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call fcn.004010f0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40117f
cmp al, 9
je 0x401170
cmp al, 0x20
je 0x401170
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x4011d8
cmp al, 0x22
je 0x4011e8
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x40117f
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401130
test edi, 1
jne 0x401130
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x401170
cmp al, 0x20
je 0x401170
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x40119a
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401000
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x401147
and dword [ebp - 0x54], 1
jne 0x401140
xor edi, 1
jmp 0x401147