joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cd8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffab8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44cf29
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x534]
lea eax, [ebp - 0xc]
mov ecx, 0x3ff
call fcn.004040d4
push 0x3ff
lea eax, [ebp - 0x534]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x538]
mov eax, dword [ebp - 0xc]
call fcn.00407abc
mov edx, dword [ebp - 0x538]
lea eax, [ebp - 0xc]
mov ecx, 0x44cf40
call fcn.004042f0
xor edx, edx
mov eax, 0xf
call fcn.0044ca84
mov ebx, eax
lea edx, [ebp - 0x134]
mov eax, ebx
call fcn.0044caa4
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x44cee0
lea eax, [ebp - 0x53c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404254
mov eax, dword [ebp - 0x53c]
push eax
lea edx, [ebp - 0x540]
xor eax, eax
call fcn.004029e4
mov edx, dword [ebp - 0x540]
pop eax
call fcn.004043f0
jne 0x44ce8d
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 8], esi
push esi
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
jmp 0x44cecd
lea eax, [ebp - 0x548]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404254
mov eax, dword [ebp - 0x548]
lea edx, [ebp - 0x544]
call fcn.00407abc
mov eax, dword [ebp - 0x544]
mov edx, dword [ebp - 0xc]
call fcn.004043f0
jne 0x44cecd
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x134]
mov eax, ebx
call fcn.0044cac4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x44ce3d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x44cf03
push 0x40
push 0x44cf50
push 0x44cf60
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cf30
lea eax, [ebp - 0x548]
mov edx, 5
call fcn.00404008
lea eax, [ebp - 0xc]
call fcn.00403fe4
ret
Function at 0x44d338
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, 0x44d130
call fcn.00405e24
xor eax, eax
push ebp
push 0x44d51f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, fcn.0044cd88
mov dword [0x450664], eax
mov eax, 1
call fcn.0044cd88
push 0x44d530
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0x44d540
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450cbc], eax
call sub.kernel32.dll_GetCurrentProcessId
mov ebx, eax
push 0x44d554
push 0x44d560
call sub.user32.dll_FindWindowA
mov esi, eax
test esi, esi
ja 0x44d47b
mov eax, 0x450c40
mov edx, 0x44
call fcn.004068c4
mov dword [0x450c40], 0x44
mov dword [0x450c84], 0xc
xor eax, eax
mov dword [0x450c88], eax
mov dword [0x450c8c], 0xffffffff
mov dword [0x450c90], 0xc
xor eax, eax
mov dword [0x450c94], eax
mov dword [0x450c98], 0xffffffff
push 0x450c9c
push 0x450c40
push 0
push 0
push 0x4000000
push 0
push 0x450c90
push 0x450c84
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.00407da4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov dx, 0x14
call fcn.0044cc84
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x44d578
call fcn.004042f0
mov eax, dword [ebp - 0x40]
call fcn.004044a4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
push 0xbb8
call sub.kernel32.dll_Sleep_1
jmp 0x44d4ed
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.00407da4
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov dx, 0x14
call fcn.0044cc84
mov eax, dword [ebp - 0x4c]
call fcn.004042a4
mov edi, eax
inc edi
mov dword [0x450cb4], edi
mov eax, edi
call main
mov dword [0x450cb8], eax
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.00407da4
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov dx, 0x14
call fcn.0044cc84
mov eax, dword [ebp - 0x54]
call fcn.004044a4
mov edx, eax
mov eax, dword [0x450cb8]
call fcn.004083c8
push 0x450cb0
push 0
push 0x4a
push esi
call sub.user32.dll_SendMessageA
push 0x450c34
push 0
push 0
push 0x44cf70
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d526
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00404008
ret
Function at 0x1e7a2610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call ecx
bound edi, qword [eax + 0x43]
lea eax, [ebp - 0x40]
push eax
call fcn.1e7a2264
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2219
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1e7a2254
rcr ch, 0x85
wait
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1e7a2264
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2219
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1e7a2264
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1e7a2219
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e7a2264
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2219
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a2254
into
cmp esi, edx
jno 0x1e7a265f
popfd
jl 0x1e7a26d9
invalid
invalid
Function at 0x1e7a2940
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a292b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a2949
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
test bh, al
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
test bh, al
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e7a29a7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a298e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a2997
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a29a1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e7a2983
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1e7a290d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1e7a29f4
dec eax
je 0x1e7a29eb
sub eax, 3
je 0x1e7a29e2
mov dword [ebp - 4], 0x40
jmp 0x1e7a2a11
mov dword [ebp - 4], 4
jmp 0x1e7a29f7
mov dword [ebp - 4], 0x20
jmp 0x1e7a29f7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1e7a2a43
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1e7a29c3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1e7a2254
and al, 0x79
mov eax, 0x1475ff7d
push 1
push esi
call edi
mov eax, esi
jmp 0x1e7a2a4f
push 0x8000
push ebx
push esi
call dword [ebp - 8]

Function at 0x1e7a3140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1e7a2232
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
invalid
invalid
xchg esi, eax
cld
invalid

Function at 0x1e7a31d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor dh, al
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
invalid

Function at 0x1e7a4250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 1], al
mov ch, 0x60
cld
invalid
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x10051066
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3eae2a42
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4105bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4105f3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4105cd
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x4105c8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x410624
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x410606
pop edi
not eax
pop esi
ret 0xc

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 0x401108
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push dword [0x404020]
call dword [sym.imp.USER32.dll_LoadStringA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401143
mov esi, 0x4033c4
movsw word es:[edi], word [esi]
mov eax, ebx
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401157
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401167
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x108]
push eax
and ecx, 3
push 0x4033c8
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x401234
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.00401fa0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0xf90], eax
mov eax, dword [ebp + 0xf9c]
mov ecx, dword [ebp + 0xfa0]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
push esi
mov ebx, 0x80
push ebx
push 3
push esi
push esi
push 0x80000000
push eax
mov dword [ebp - 0x74], ecx
call edi
push esi
push ebx
push 2
push esi
push esi
push 0x40000000
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x74], eax
mov ebx, 0x1000
jmp 0x4012bd
cmp dword [ebp - 0x7c], esi
jbe 0x4012d0
push esi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x4012a3
push dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x74]
call esi
mov ecx, dword [ebp + 0xf90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401f8e
add ebp, 0xf94
leave
ret
Function at 0x4012f8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push esi
mov dword [ebp - 8], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
push dword [ebp - 4]
push esi
push 0x1f4
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
jne 0x401375
push 0x76
call fcn.004010bd
push dword [ebp - 4]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40138e
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
cmp dword [ebp + 0xc], esi
je 0x40142b
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push esi
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 4]
mov dword [ebp + 0xc], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
push dword [ebp + 0xc]
push esi
push 0x190
push 3
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
jne 0x401415
push 0x73
call fcn.004010bd
push dword [ebp + 0xc]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401467
push 0xe
mov edi, 0x190
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 8]
push esi
push edi
push 3
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
je 0x40140e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40146c
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1d8]
sub esp, 0x258
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x1d4], eax
mov eax, dword [ebp + 0x1e8]
push ebx
mov ebx, dword [ebp + 0x1e4]
push esi
push edi
mov edi, dword [ebp + 0x1e0]
xor esi, esi
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
push edi
lea eax, [ebp + 0xd0]
push str._s_s.tlb
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4014dc
push 0x71
call fcn.004010bd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
lea eax, [ebp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push esi
mov dword [ebp - 0x7c], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
push esi
push 1
push str.TYPELIB
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
jne 0x40154f
push 0x72
jmp 0x4014d7
push dword [ebp - 0x74]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x1d4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401f8e
add ebp, 0x1d8
leave
ret
Function at 0x401f8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401f98
repz ret
jmp fcn.004022aa
Function at 0x101717d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c0fa0]
jne 0x101717e2
repz ret
jmp fcn.101728dc

Function at 0x10173aab
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.10170d04
and dword [ebp - 4], 0
cmp dword [0x101c2fc4], 0
mov ebx, eax
jne 0x10173b5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10173c0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10173c0d
push eax
call fcn.10170c92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c2fc4], eax
call esi
push eax
call fcn.10170c92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c2fc8], eax
call esi
push eax
call fcn.10170c92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c2fcc], eax
call esi
push eax
call fcn.10170c92
pop ecx
mov dword [0x101c2fd4], eax
test eax, eax
je 0x10173b5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10170c92
pop ecx
mov dword [0x101c2fd0], eax
mov eax, dword [0x101c2fd0]
cmp eax, ebx
je 0x10173bb4
cmp dword [0x101c2fd4], ebx
je 0x10173bb4
push eax
call fcn.10170d0d
push dword [0x101c2fd4]
mov esi, eax
call fcn.10170d0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10173bb4
test edi, edi
je 0x10173bb4
call esi
test eax, eax
je 0x10173bab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10173bab
test byte [ebp - 0xc], 1
jne 0x10173bb4
or dword [ebp + 0x10], 0x200000
jmp 0x10173bed
mov eax, dword [0x101c2fc8]
cmp eax, ebx
je 0x10173bed
push eax
call fcn.10170d0d
pop ecx
test eax, eax
je 0x10173bed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10173bed
mov eax, dword [0x101c2fcc]
cmp eax, ebx
je 0x10173bed
push eax
call fcn.10170d0d
pop ecx
test eax, eax
je 0x10173bed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c2fc4]
call fcn.10170d0d
pop ecx
test eax, eax
je 0x10173c0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10173c0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret