joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423176
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x423199
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x42319c
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x4231af
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x4231b6
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x1002c988]
mov ecx, dword [0x1002c984]
test eax, eax
jne 0x4231d0
test ecx, ecx
je 0x4231e5
mov eax, ecx
mov dword [0x1002c988], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4231e5
cmp edx, dword [ebp - 4]
jb 0x4231e5
cmp edx, dword [ebp - 8]
jbe 0x4232b6
mov eax, ecx
test ecx, ecx
jmp 0x423209
test eax, eax
je 0x423204
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x423204
cmp ecx, dword [ebp - 4]
jb 0x423204
cmp ecx, dword [ebp - 8]
jbe 0x4232b6
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1002c988], eax
jne 0x4231eb
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x42334b
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x423236
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [0x1002220c]
test eax, eax
je 0x42334b
cmp dword [ebp - 0x30], ebx
jne 0x423255
cmp dword [ebp - 0x34], ebx
jae 0x423268
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x423224
jmp 0x42334b
push 0x40
push 0x3000
push ebx
push edi
call dword [0x10022204]
mov dword [0x1002c988], eax
test eax, eax
je 0x42334b
mov ecx, dword [0x1002c984]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x1002c984], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x4232a8
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x423350
cmp esi, dword [ebp - 8]
ja 0x423350
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.0042c5a0
add esp, 0xc
mov eax, esi
jmp 0x423352
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x4232f7
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [0x1002220c]
test eax, eax
je 0x423350
cmp dword [ebp - 0x14], ebx
jne 0x423342
cmp dword [ebp - 0x18], ebx
jb 0x423342
movzx ecx, si
test ecx, ecx
je 0x423326
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [0x10022204]
mov dword [0x1002c988], eax
test eax, eax
jne 0x423284
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x4232e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423378
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10027640
call fcn.0042ccd4
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [0x1002220c]
test eax, eax
je 0x4233d3
and dword [ebp - 4], 0
mov ecx, 0x5a4d
mov eax, dword [ebp - 0x30]
cmp word [eax], cx
jne 0x4233cc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4233cc
cmp word [ecx + 0x14], 0
je 0x4233cc
mov dword [ebp - 4], 0xfffffffe
jmp 0x4233d5
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.0042cd19
ret
Function at 0x403b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 8], 0
je 0x403baf
push edi
xor edi, edi
test ebx, ebx
je 0x403b70
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403b80
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov al, byte [ecx + edx]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403b51
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403b70
mov eax, dword [ebp - 4]
test eax, eax
je 0x403b70
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403b59
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e270
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403b4a
Function at 0x40d7a0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00402190
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x42e141
mov ebx, 1
mov byte [ebp - 1], al
mov esi, 0x4a90e8
cmp dword [0x4a7f54], ebx
je 0x42e15a
push 0x4a7f54
lea ecx, [ebp - 1]
mov eax, 0x4a7f6c
call fcn.0040f1d0
test al, al
je 0x42e180
mov al, byte [0x4a90e8]
mov bl, byte [0x4a90e9]
push 0x4a7f50
lea ecx, [ebp - 0x438]
push ecx
push 0x104
push 0x4a7f6c
mov byte [0x4a7f58], al
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, dword [0x4a7f54]
push edx
push 0x4a7f6c
call fcn.004016a0
test eax, eax
jne 0x42e192
cmp bl, 1
je 0x42e1b8
call fcn.004103e0
call fcn.00410350
cmp byte [0x4a7f58], 0
jne 0x40d872
mov esi, 0x4a8710
call fcn.0040e2c0
push 1
mov ecx, 0x4a8178
call fcn.00409430
cmp byte [0x4a7f58], 0
jne 0x40d891
mov ecx, 0x4a8710
call fcn.00401240
mov ebx, 0x4a90e8
call fcn.004010c0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 0x484c94
push str.It_is_a_violation_of_the_AutoIt_EULA_to_attempt_to_reverse_engineer_this_program.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d8a8
push 0xffffffffffffffff
push ebx
mov ebx, dword [0x4a7f5c]
mov byte [ebp - 2], 0
call fcn.00403c80
mov cl, byte [0x4974e8]
mov bl, byte [ebp - 2]
mov byte [0x4a90eb], cl
jmp 0x40d833
lea edx, [ebp - 0x228]
mov dword [0x4974f4], ebx
push edx
jmp 0x40d8a2
mov ebx, 0x4a90e8
call fcn.004010c0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4974f4], 1
jmp 0x40d8a8
call fcn.00432fd3
test al, al
jne 0x40d855
push 0x104
lea ecx, [ebp - 0x438]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 1], 0
je 0x42e236
mov edi, 0x484cf4
lea esi, [ebp - 0x14]
call fcn.00401d10
mov edi, 0x4a7f6c
mov eax, esi
call fcn.00401de0
mov edi, 0x484cf4
mov eax, esi
call fcn.00401de0
mov eax, dword [ebp - 0x14]
push 1
lea edx, [ebp - 0x228]
push edx
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0x484cf8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.00402480
jmp 0x40d891
push 1
lea edx, [ebp - 0x228]
push edx
push edi
lea eax, [ebp - 0x438]
push eax
push 0x484cf8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d891
Function at 0x40e6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00403580
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427101
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push ebx
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
push str.Include
push edx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42718b
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004114f7
add esp, 4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004364cb
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
push edi
push 0
push 0
push str.Include
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427181
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov ebx, edi
mov eax, esi
call fcn.00402390
mov bl, 1
lea edx, [ebp - 0x10]
push edx
call fcn.004364a4
pop edi
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f010
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], 5
mov dword [esi + 4], 5
mov word [esi + 8], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov word [esi + 0x18], bx
push ebx
mov dword [esi + 0x1a], ebx
mov word [esi + 0x1e], bx
push 0x5b
mov dword [esi + 0xc], 4
call edi
push ebx
push 0x10
mov byte [esi + 0x29], al
call edi
push ebx
push 0xa0
mov byte [esi + 0x26], al
call edi
push ebx
push 0xa1
mov byte [esi + 0x27], al
call edi
push ebx
push 0x11
mov byte [esi + 0x28], al
call edi
push ebx
push 0x12
mov byte [esi + 0x24], al
call edi
pop edi
mov byte [esi + 0x25], al
pop ebx
ret

Function at 0x40f490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484e64
call fcn.0040fe20
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413570
push esi
call fcn.004110fc
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f700
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f540
xor ebx, ebx
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 0x18]
inc eax
add ecx, edx
cmp eax, 0x10
jl 0x40f4e4
mov eax, dword [ebp + 8]
push 0x488100
push eax
mov dword [edi + 8], ecx
call fcn.004148e2
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427a1d
push edi
call fcn.0040fe90
cmp eax, ebx
je 0x427a27
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414966
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f52c
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414c24
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044af66
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x427a53
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00414f02
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f52c

Function at 0x40f700
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412e60
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x40fe90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422160
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
jmp 0x40feb0
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40feb0
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00413570
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410d80
add esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [ebp - 0x10020]
push 1
push ecx
call fcn.00414c24
add esp, 0x10
cmp eax, 0x18
jl 0x40ff62
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40ff47
xor edx, edx
lea ebx, [ebx]
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x425c1f
cmp ecx, 0x14
je 0x425c8e
inc edx
cmp edx, esi
jl 0x40ff20
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx]
push 1
lea edx, [ecx + edi - 0x14]
push 0xffffffffffffffec
push eax
mov dword [ebp - 0xc], edx
call fcn.00414ff1
add esp, 0xc
jmp 0x40fef1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
jne 0x425c70
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
jne 0x425c76
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425c7e
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
jne 0x425c86
add ecx, 5
cmp ecx, 0x14
jl 0x40ff22
jmp 0x40ff36
inc ecx
jmp 0x40ff36
add ecx, 2
jmp 0x40ff36
add ecx, 3
jmp 0x40ff36
add ecx, 4
jmp 0x40ff36
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.00414ff1
mov ecx, dword [esi]
push ecx
push 4
lea edx, [ebp - 8]
push 1
push edx
call fcn.00414c24
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.00414c50
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40ff67

Function at 0x410350
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x497520]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x497520]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x497518], eax
call esi
mov edx, dword [0x497518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x497514], eax
call esi
mov eax, dword [0x497518]
push 0
push eax
call esi
pop esi
ret
Function at 0x4106e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push ecx
xor eax, eax
push 1
push eax
mov word [esi], ax
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425d87
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push eax
mov eax, dword [ebp - 8]
push edx
add edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410753
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jae 0x425d8d
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push eax
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [edi + esi - 2], dx
jmp 0x41073f

Function at 0x41a128
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490d40]
jne 0x41a132
repz ret
jmp fcn.00421e26
Function at 0x41ffbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041779f
and dword [ebp - 0x14], 0
cmp dword [0x497154], 0
mov dword [ebp - 0x18], eax
jne 0x42006f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420117
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4843b0
push ebx
call edi
test eax, eax
je 0x420117
mov esi, dword [section..data]
push eax
call esi
push 0x4843a0
push ebx
mov dword [0x497154], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x497158], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49715c], eax
call edi
push eax
call esi
mov dword [0x497164], eax
test eax, eax
je 0x42006f
push 0x484358
push ebx
call edi
push eax
call esi
mov dword [0x497160], eax
mov eax, dword [0x497160]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x490004]
cmp eax, ecx
je 0x4200c8
cmp dword [0x497164], ecx
je 0x4200c8
push eax
call esi
push dword [0x497164]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4200c8
test ebx, ebx
je 0x4200c8
call edi
test eax, eax
je 0x4200bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4200bf
test byte [ebp - 8], 1
jne 0x4200c8
or dword [ebp + 0x10], 0x200000
jmp 0x4200fb
mov eax, dword [0x497158]
cmp eax, dword [ebp - 0x18]
je 0x4200fb
push eax
call esi
test eax, eax
je 0x4200fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4200fb
mov eax, dword [0x49715c]
cmp eax, dword [ebp - 0x18]
je 0x4200fb
push eax
call esi
test eax, eax
je 0x4200fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x497154]
call esi
test eax, eax
je 0x420117
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420119
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a128
leave
ret
Function at 0x43000a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
cmp word [eax], 0
push ebx
push esi
push edi
je 0x43012b
push 0
push 0
push 3
push 0
push 0
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x430048
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43003d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 8]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0x4829f8
push 0
push 0
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43003d
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
mov eax, dword [ebp + 0x14]
jne 0x430104
cmp dword [eax], 0
jne 0x430104
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x430132
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x430143
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push 0
mov dword [esi + 0x60], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430165
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [ebp + 8]
test eax, 0x80000
je 0x430185
and eax, 0xfff7ffff
mov edx, dword [0x4a8684]
push 0
push edx
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4301f0
cmp byte [ebp + 0x30], 0
je 0x4301d5
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x190], 0
jl 0x4301f0
cmp byte [edi + 0x19c], 0
je 0x4301f0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x2c
Function at 0x430a7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0x44
push 0
push 0x4a9568
call fcn.00412e60
push 0x10
push 0
push 0x4a9554
call fcn.00412e60
mov ecx, dword [ebp + 8]
add esp, 0x18
push 0x4a9554
push 0x4a9568
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a9568], 0x44
mov dword [0x4a9594], 1
mov word [0x4a9598], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x430af0
mov edx, dword [0x4a9554]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x431329
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp eax, ecx
push edi
mov edi, dword [esi + 0xc]
setl byte [ebp + 0x13]
cmp edi, edx
setl byte [ebp - 1]
cmp byte [ebp + 0x13], 0
je 0x431357
mov dword [esi], eax
mov dword [esi + 8], ecx
cmp byte [ebp - 1], 0
je 0x431363
mov dword [esi + 4], edi
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x104]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004312dd
mov eax, dword [ebp - 0x18]
add dword [esi], eax
add dword [esi + 8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add dword [esi + 0xc], ecx
mov ebx, dword [esi + 0xc]
sub eax, dword [esi]
add dword [esi + 4], ecx
sub ebx, dword [esi + 4]
inc eax
push 0
mov dword [ebp + 0xc], eax
inc ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp + 0xc]
push ebx
mov edi, eax
push ecx
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 8]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dl, byte [ebp - 1]
mov dword [ebp - 0x10], eax
mov ecx, ebx
test dl, dl
je 0x4313d9
neg ecx
cmp byte [ebp + 0x13], 0
mov eax, dword [ebp + 0xc]
je 0x4313e4
neg eax
test dl, dl
je 0x4313ed
mov edx, dword [esi + 0xc]
jmp 0x4313f0
mov edx, dword [esi + 4]
cmp byte [ebp + 0x13], 0
mov dword [ebp + 8], edx
je 0x43140f
mov esi, dword [esi + 8]
jmp 0x431411
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004110fc
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push ebx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
push 0
mov ecx, ebx
neg ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push 0
push esi
push edi
mov dword [ebp - 0x44], 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0x200001
mov dword [ebp - 0x34], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
call fcn.004114f7
add esp, 4
push 0
lea ecx, [ebp - 0x44]
push ecx
push eax
push ebx
push 0
push esi
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [ebp - 0x10]
push edx
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
test ebx, ebx
pop ebx
je 0x4313fe
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0x10