joyce8/EMBER2024-capa huggingface dataset:
Function at 0x738377
Capabilities:
Execute anti-debugging instructions

Disassembly:
add edi, 0xfaf6b455
jmp 0x738352
mov dl, 0x1c
mov ebx, edi
jmp 0x7382f4
neg cx
jae 0x73831b
sub esp, 0x14
mov dx, word [esp + 0xe]
mov dx, 0xed0f
jmp 0x738122
mov bx, word [esp]
bsf dx, si
jbe 0x7382ea
mov dl, 0x1c
jmp 0x7382ec
sub esp, 0x14
mov dx, word [esp + 0xe]
jmp 0x738329
mov dx, 0xed0f
jmp 0x738122
lea esp, [esp + 2]
sub esp, 0xc0
mov esi, esp
lea edx, [esp + edx]
jmp 0x73830d
mov edx, 0x8edb75a6
mov cx, dx
rdtsc
bsr ax, bp
jmp 0x738398
rdtsc
pop word [esp]
mov byte [esp], bh
jmp 0x738341
jo fcn.007383bb
jno fcn.007383bb

Function at 0x738382
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr eax, edx
jmp 0x73853a
rdtsc
stc
inc dh
bswap edx
mov dl, byte [esp]
inc edx
jmp 0x73844c
lea edx, [ebx + edi]
jmp 0x7383d0
add cl, bl
mov ax, 0x51eb
add edx, ebp
jo 0x7383e9
lea edx, [ebx + edi]
not dx
jmp 0x7383d3
mov edx, 0x724b72be
mov eax, dword [esp]
pushal
lea eax, [edx + edi]
lea esp, [esp + 0x20]
jmp 0x738400
inc dh
bswap edx
mov dl, byte [esp]
jmp 0x7383a6
jne 0x73839c
rdtsc
stc
jmp 0x73850f

Function at 0x738566
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [edx + edx]
lea eax, [edx*4]
not al
mov al, 0x1a
sub esp, 6
jae 0x738588
bts eax, edi
lea esp, [esp + 2]
jmp 0x73858a
lea esp, [esp + 4]
ror dl, 0
jmp 0x738545
bts eax, edi
lea esp, [esp + 2]
jmp 0x73858a
jmp 0x73856f
lea esp, [esp + 4]
xor dl, 0x7b
mov ax, 0x5739
cmc
ja 0x7385b6
jbe 0x7385b6
mov al, 0xc6
xchg byte [esp], al
setg ah
mov al, ah
mov al, 0x6a
jmp 0x738670
lea esp, [esp + 4]
not dl
lea eax, [edi*4]
rol ax, cl
jb 0x73869f
stc
bswap eax
mov ax, word [esp]
bswap eax
jmp 0x738708
jmp 0x73877f
jo 0x7386e3
sub esp, 0x18
push word [esp + 0x1d]
jmp 0x73874b
sub esp, 0x18
push word [esp + 0x1d]
lea esp, [esp + 2]
dec edi
bswap edx
mov dh, 0xf2
ror ah, 1
jmp 0x738711
bswap eax
add bl, dl
bswap edx
sub esp, 0x10
jmp 0x7386ca
jne 0x738733
lea edx, [edi + ebp]
pushal
jmp 0x73871d
mov ax, cx
mov dh, byte [esp + 0xb]
mov eax, dword [esp + 0x13]
jmp 0x738742
lea edx, [edi + ebp]
pushal
mov ax, cx
mov dh, byte [esp + 0xb]
mov eax, dword [esp + 0x13]
mov dh, 0xf8
jmp 0x738767
lea esp, [esp + 2]
jmp 0x7386ef
pop dword [esp + 0x10]
bsr ax, cx
setle dh
mov dx, 0x1a85
jmp 0x739571
rdtsc
rcl eax, 0xb
jle 0x738751
pop dword [esp + 0x10]
jmp 0x73878b
stc
bswap eax
mov ax, word [esp]
jmp 0x738706
bsr ax, cx
setle dh
mov dx, 0x1a85
rdtsc
jmp 0x739573
mov dl, 0x94
bswap eax
rdtsc
mov edx, 0xfffe016c
mov eax, 0xfe953f0
jmp 0x7387b5
lea edx, [esi + edi]
not ax
lea edx, [eax + 0xe9]
jmp 0x7387d4
lea edx, [esp + eax]
jmp 0x73882c
inc cl
lea eax, [ebx + edi]
sub esp, 0
jo 0x738a87
lea edx, [esp + eax]
lea edx, [esi + edi]
not ax
lea edx, [eax + 0xe9]
mov dl, 0x94
jmp 0x7387d6
rdtsc
lea esp, [esp + 5]
lea esp, [esp + 3]
lea esp, [esp + 0x14]
jmp 0x738ad8
Function at 0x401087
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push edi
lea eax, [ebp - 0x118]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
push dword [ebp + 8]
call fcn.00401401
call fcn.0040dfdb
test eax, eax
je 0x4010d6
push 0x10
push 0x469ede
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4012b8
cmp dword [0x47e6d0], 0
push ebx
push esi
jne 0x401106
push 0xffffffffffffffff
push dword [0x47e6d8]
mov esi, 0x47fee8
push 1
call fcn.004063e5
mov al, byte [0x4745ac]
mov byte [0x47feea], al
mov ebx, 0x47e6e4
jmp 0x40115c
lea eax, [ebp - 2]
push eax
push 0x47e6d0
mov esi, 0x47e6e4
mov ebx, 0x47fee8
call fcn.004069b1
test al, al
jne 0x401131
mov dword [0x4745c4], 1
jmp 0x4012a9
mov al, byte [0x47fee8]
mov byte [0x47e6d4], al
mov al, byte [0x47fee9]
push 0x47e6cc
mov byte [ebp - 1], al
lea eax, [ebp - 0x220]
push eax
push edi
mov ebx, 0x47e6e4
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameA]
push dword [0x47e6d0]
push ebx
call fcn.00418e5f
test eax, eax
je 0x401192
mov edi, 0x47fee8
call fcn.00406538
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
mov dword [0x4745c4], 1
jmp 0x4012b6
cmp byte [ebp - 1], 1
jne 0x401244
cmp byte [0x47e6a5], 1
jne 0x401244
call fcn.0040d6d0
test al, al
jne 0x401244
push edi
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
cmp byte [ebp - 2], 0
je 0x40121d
mov edi, 0x469f48
push edi
lea esi, [ebp - 0x10]
call fcn.0040e021
push ebx
mov eax, esi
call fcn.0040e1f0
push edi
mov eax, esi
call fcn.0040e1f0
push 1
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x220]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp - 0x10]
call fcn.0044db10
pop ecx
jmp 0x40129f
push 1
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40129f
call fcn.004012bd
call fcn.00401390
cmp byte [0x47e6d4], 0
jne 0x401261
mov edi, 0x47ef28
call fcn.00409d4e
push 1
mov eax, 0x47e7f0
call fcn.00418fbf
cmp byte [0x47e6d4], 0
jne 0x40129f
mov edi, 0x47f6b4
mov esi, dword [edi]
test esi, esi
je 0x401294
push dword [esi + 8]
call fcn.0044db10
push esi
call fcn.0044db10
and dword [edi], 0
pop ecx
pop ecx
add edi, 4
cmp edi, 0x47fed0
jl 0x40127b
mov edi, 0x47fee8
call fcn.00406538
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x40231f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [ebx]
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x40234c
xor al, al
jmp 0x402360
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
jne 0x402366
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [edi + 0x101]
push eax
call fcn.0044daa6
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x4023b3
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x402393
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp + 8]
push ecx
call fcn.0040e132
mov bl, 1
push dword [ebp - 4]
call fcn.0044db10
pop ecx
mov al, bl
jmp 0x40235f
xor bl, bl
jmp 0x4023a6

Function at 0x403422
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp byte [esi + 8], 0
push edi
je 0x40345a
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp dword [esi + 0x30], eax
jne 0x403453
mov dword [esi + 0x3c], edi
xor eax, eax
jmp 0x40356b
mov dword [ebp - 4], 1
cmp byte [esi + 4], 0
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
push ebx
mov ebx, 0x100
je 0x403499
push ebx
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 8]
call edi
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
jne 0x403496
mov dword [ebp - 8], 1
inc dword [ebp - 4]
cmp byte [esi + 7], 0
je 0x403504
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40c]
push eax
push ebx
call edi
mov edi, dword [esi + 0x18]
lea eax, [ebp - 0x40c]
push eax
call fcn.0044e140
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
call fcn.0044e07f
add esp, 0x10
test eax, eax
jne 0x4034ff
inc dword [esi + 0x40]
push dword [esi + 0x40]
lea eax, [ebp - 0x40c]
push eax
push str._s_u
push eax
call fcn.0044e1cb
push dword [esi + 0x18]
lea eax, [ebp - 0x40c]
push eax
call fcn.0044dfd0
add esp, 0x18
test eax, eax
je 0x403560
inc dword [ebp - 4]
jmp 0x403507
mov ebx, dword [ebp + 8]
cmp byte [esi + 6], 0
je 0x403539
push 0x400
lea eax, [ebp - 0x40c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
je 0x403560
inc dword [ebp - 4]
cmp byte [esi + 5], 0
je 0x403558
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x403555
inc dword [esi + 0x40]
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x34]
jne 0x403555
inc dword [ebp - 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x403567
mov dword [esi + 0x3c], ebx
xor eax, eax
jmp 0x40356a
xor eax, eax
inc eax
pop ebx
pop edi
leave
ret 4
Function at 0x4036bd
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
jne 0x4036e8
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x403703
push 1
jmp 0x4036ea
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop ebp
ret 8

Function at 0x4037bd
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x469ede
call fcn.0040e132
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xe
push dword [ebp]
call ebx
mov esi, eax
test esi, esi
jne 0x4037ef
mov esi, 0x7fff
lea eax, [esi + 2]
push eax
call fcn.0044daa6
pop ecx
mov edi, eax
push edi
lea eax, [esi + 1]
push eax
push 0xd
push dword [ebp]
call ebx
test eax, eax
mov byte [edi + esi], 0
jle 0x40382b
mov eax, dword [esp + 0x18]
push edi
call fcn.0040e132
mov bl, 1
push edi
call fcn.0044db10
pop ecx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 8
xor bl, bl
jmp 0x40381b
Function at 0x4093e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [eax], bl
push esi
mov esi, ecx
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], ebx
jne 0x409406
xor al, al
jmp 0x409520
push eax
call fcn.0040d437
mov ecx, dword [ebp + 0x10]
mov byte [ecx], bl
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x10], eax
mov byte [edi], bl
mov byte [esi], bl
mov byte [ecx], bl
call fcn.0044e140
inc eax
push eax
call fcn.0044daa6
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + ebx]
cmp al, 0x2b
je 0x40944a
cmp al, 0x5e
je 0x409446
cmp al, 0x21
je 0x409446
cmp al, 0x23
jne 0x40946e
cmp al, 0x2b
jne 0x40944f
mov eax, dword [ebp + 0xc]
jmp 0x40945f
cmp al, 0x5e
jne 0x409458
mov byte [esi], 1
jmp 0x40946b
cmp al, 0x21
jne 0x409464
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40946b
cmp al, 0x23
jne 0x40946b
mov byte [edi], 1
inc ebx
jmp 0x409430
mov al, byte [ecx + ebx]
inc ebx
cmp al, 0x7b
mov byte [ebp - 0x18], al
mov dword [ebp - 0x14], ebx
jne 0x4094d0
mov ebx, dword [ebp - 8]
lea edx, [ebp - 0x14]
mov esi, ecx
add al, 2
call fcn.00409310
test eax, eax
jne 0x4094bc
mov esi, dword [ebp - 0xc]
push ebx
push dword [esi*4 + 0x4734a8]
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
je 0x4094ae
inc esi
cmp esi, 0x62
mov dword [ebp - 0xc], esi
jl 0x40948f
cmp esi, 0x62
je 0x4094bc
cmp byte [esi + 0x473630], 0
je 0x4094c2
mov byte [ebp - 1], 0
jmp 0x409502
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x409502
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [ebp + 8]
movsx eax, ax
test ax, 0x200
mov dword [ecx], eax
je 0x4094ea
mov byte [esi], 1
test ax, 0x400
je 0x4094f6
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test ax, 0x100
je 0x409502
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
and dword [eax], 0xff
call fcn.0044db10
push dword [ebp - 8]
call fcn.0044db10
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop esi
pop ebx
leave
ret 0xc
Function at 0x4095b9
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, eax
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x4095d5
push ebp
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4095ed
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebp
jne 0x4096bf
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push dword [esp + 0x28]
mov ebx, eax
mov dword [esp + 0x24], ebx
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [esp + 0x1c], eax
call esi
push 1
push edi
push ebx
call esi
push 1
push dword [esp + 0x14]
push edi
call esi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x4096a5
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
push ebp
push ebp
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push ebp
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push ebp
push dword [esp + 0x14]
push ebx
call esi
push ebp
push edi
push ebx
call esi
push ebp
push dword [esp + 0x14]
push edi
call esi
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4

Function at 0x40b298
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi]
test al, 3
je 0x40b318
push ebx
xor ebx, ebx
inc ebx
test bl, al
je 0x40b2c1
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call fcn.00450af4
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
pop ecx
pop ecx
jne 0x40b317
mov eax, dword [esi]
test al, 0x20
je 0x40b2dc
push dword [esi + 4]
push 2
push ebx
push 0x46a9cc
call fcn.00450cbe
mov dword [esi + 0xc], ebx
jmp 0x40b314
test al, 0x40
je 0x40b2f9
push dword [esi + 4]
push 2
push ebx
push 0x46a9d0
call fcn.00450cbe
mov dword [esi + 0xc], 2
jmp 0x40b314
test al, al
jns 0x40b317
push dword [esi + 4]
push 3
push ebx
push 0x46a9d4
call fcn.00450cbe
mov dword [esi + 0xc], 4
add esp, 0x10
pop ebx
leave
ret
Function at 0x40b34c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and dword [esi + 0xc], 0
push edi
push 0x46a9d8
push dword [ebp + 8]
mov byte [esi + 8], 0
call fcn.004509d5
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40b3d7
push ebx
push edi
push 3
lea eax, [ebp + 8]
push 1
push eax
call fcn.004510ca
push edi
mov ebx, eax
call fcn.00450db2
add esp, 0x14
push 2
pop eax
cmp ebx, eax
jb 0x40b3b4
cmp byte [ebp + 8], 0xff
jne 0x40b3a3
cmp byte [ebp + 9], 0xfe
jne 0x40b3b4
mov dword [esi + 0xc], 1
jmp 0x40b3d2
cmp byte [ebp + 8], 0xfe
jne 0x40b3b4
cmp byte [ebp + 9], 0xff
jne 0x40b3b4
mov dword [esi + 0xc], eax
jmp 0x40b3d2
cmp ebx, 3
jb 0x40b3d6
cmp byte [ebp + 8], 0xef
jne 0x40b3d6
cmp byte [ebp + 9], 0xbb
jne 0x40b3d6
cmp byte [ebp + 0xa], 0xbf
jne 0x40b3d6
mov dword [esi + 0xc], 4
mov byte [esi + 8], 1
pop ebx
pop edi
pop ebp
ret 4

Function at 0x40b49e
Capabilities:
Read file on windows

Disassembly:
test byte [esi], 4
push ebx
je 0x40b4ce
mov ebx, dword [edi]
push 0
push edi
push ebx
push dword [esp + 0x14]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x40b4f4
and dword [edi], eax
push 1
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
xor al, al
jmp 0x40b4f6
push dword [esi + 4]
push dword [edi]
push 1
push dword [esp + 0x14]
call fcn.004510ca
mov dword [edi], eax
push dword [esi + 4]
call fcn.00451114
add esp, 0x14
test eax, eax
je 0x40b4f4
and dword [edi], 0
jmp 0x40b4ca
mov al, 1
pop ebx
ret 4

Function at 0x40b7f3
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x5c], edi
jne 0x40b872
cmp edi, 4
jle 0x40b804
push 4
pop edi
push 4
pop eax
sub eax, edi
push eax
lea eax, [edi + esi + 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00451350
mov eax, dword [esi + 0x58]
sub eax, edi
lea eax, [eax + esi + 0x14]
push edi
push eax
mov eax, esi
sub eax, edi
add eax, 0x14
push eax
call fcn.0044fd80
push dword [esi + 4]
lea eax, [esi + 0x14]
push 0x40
push 1
push eax
mov dword [esi + 0x54], edi
call fcn.004510ca
and dword [esi + 0x5c], 0
add esp, 0x28
test eax, eax
mov dword [esi + 0x58], eax
jne 0x40b872
push dword [esi + 4]
call fcn.004510e5
test eax, eax
pop ecx
jne 0x40b86d
push dword [esi + 4]
call fcn.00451114
test eax, eax
pop ecx
jne 0x40b86d
pop edi
ret
or eax, 0xffffffff
pop edi
ret
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
pop edi
ret
Function at 0x40be12
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
mov edi, eax
xor esi, esi
cmp edi, ebx
mov byte [0x4745b2], bl
je 0x40be58
mov byte [0x4745b3], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x40be99
push ebx
push ebx
mov dword [ebp - 8], edi
call fcn.00451ef7
add esp, 0x18
mov esi, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, ebx
mov edi, eax
je 0x40be84
push 0xffffffffffffffff
push esi
mov byte [0x4745b3], bl
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4745b2], 1
jne 0x40be92
or eax, 0xffffffff
jmp 0x40be94
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c06e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x40c08e
xor al, al
jmp 0x40c191
push ebx
push edi
push esi
call fcn.0044daa6
pop ecx
push eax
push esi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoA
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.0044e140
add eax, 0x1a
push eax
call fcn.0044daa6
mov esi, 0x46a330
mov edi, eax
push esi
push edi
call fcn.0044d950
push esi
push ebx
call fcn.0044dfd0
add esp, 0x18
test eax, eax
je 0x40c158
push str.StringFileInfo_
push edi
call fcn.0044d960
push esi
push ebx
call fcn.0044e3a0
add esp, 0x10
test eax, eax
jne 0x40c14f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40c12f
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
push ebx
push 4
lea edx, [edi + 0x10]
pop ecx
call fcn.0040d8ba
shr ebx, 0x10
lea edx, [edi + 0x14]
push ebx
call fcn.0040d8ba
mov ebx, dword [ebp + 0x10]
add esp, 8
jmp 0x40c13c
push str.04090000
push edi
call fcn.0044d960
pop ecx
pop ecx
push esi
push edi
call fcn.0044d960
push ebx
push edi
call fcn.0044d960
add esp, 0x10
jmp 0x40c158
push ebx
push edi
call fcn.0044d960
pop ecx
pop ecx
push str.DefaultLangCodepage
push ebx
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
jne 0x40c194
mov esi, dword [ebp + 0xc]
push 8
lea eax, [edi + 0x10]
push eax
push esi
call fcn.004505f0
push dword [ebp - 4]
mov byte [esi + 8], 0
call fcn.0044db10
push edi
call fcn.0044db10
add esp, 0x14
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40c20a
push esi
push ebx
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
jne 0x40c1e1
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
push dword [ebp + 0xc]
call fcn.0044e1cb
add esp, 0x18
jmp 0x40c1f4
push 0x200
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.004505f0
add esp, 0xc
mov bl, 1
push dword [ebp - 4]
call fcn.0044db10
push edi
call fcn.0044db10
pop ecx
pop ecx
mov al, bl
jmp 0x40c18f
xor bl, bl
jmp 0x40c1f6
Function at 0x40c9f2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push dword [ebp + 8]
lea eax, [ebp - 0x230]
call fcn.0040c261
push dword [ebp + 0xc]
lea eax, [ebp - 0x128]
call fcn.0040c261
pop ecx
pop ecx
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x40ca6b
cmp byte [ebp + 0x10], al
je 0x40ca67
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
je 0x40ca63
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
mov al, 1
leave
ret
xor al, al
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
lea eax, [ebp - 0x230]
push eax
call esi
cmp eax, 0xffffffff
je 0x40ca84
test al, 0x10
jne 0x40ca8b
xor al, al
jmp 0x40cb42
push ebx
lea eax, [ebp - 0x128]
push eax
call esi
xor ebx, ebx
cmp eax, 0xffffffff
je 0x40caa5
test al, 0x10
je 0x40caa5
cmp byte [ebp + 0x10], bl
jmp 0x40cac6
lea eax, [ebp - 0x128]
push eax
call fcn.0040c959
test al, al
pop ecx
je 0x40cac8
lea eax, [ebp - 0x128]
push eax
call esi
cmp eax, 0xffffffff
je 0x40cac8
test al, 0x10
jne 0x40cacc
xor al, al
jmp 0x40cb41
lea eax, [ebp - 0x230]
push str..
push eax
call fcn.0044d960
lea eax, [ebp - 0x230]
push eax
call fcn.0044e140
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
push eax
call fcn.0044e140
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x14], eax
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
pop esi
leave
ret