joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b004
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b01b
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192fc
mov eax, dword [0x450fc0]
cmp word [eax + 2], 0
jne 0x44b043
mov eax, dword [0x450fc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c76c
mov eax, dword [0x451068]
cmp word [eax + 2], 0
jne 0x44b05d
mov eax, dword [0x451068]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c964
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411560]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411560]
call fcn.004031f4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b4d0]
call fcn.00421118
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b1e4
mov eax, dword [0x450ee4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004214e8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44cf04
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x450ee4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c148
test eax, eax
je 0x44b152
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c170
test eax, eax
je 0x44b166
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
mov eax, dword [0x450dd8]
cmp byte [eax], 0
jne 0x44b19a
mov eax, ebx
call fcn.0044b30c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044d0e0
mov eax, ebx
call fcn.0044daa4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b1da
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b58c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb0]
cmp dword [eax + 0x30], 0
je 0x44b636
cmp dword [ebx + 0x94], 0
jne 0x44b630
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b51c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b630
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44b5f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b630
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004138c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b605
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c198
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c1cd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040404c
jmp 0x44c1da
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d2bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d2fd
mov eax, esi
call fcn.00433bf8
test al, al
je 0x44d2fd
mov eax, dword [ebx + 0x84]
call fcn.00433998
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d2fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433998
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44e1b4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov esi, edx
mov ebx, eax
push 0x13
lea eax, [esp + 4]
push eax
push ebx
push 0x800
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jg 0x44e1d7
mov byte [esp], 0
mov eax, esi
mov edx, esp
mov ecx, 0x15
call fcn.004041cc
add esp, 0x18
pop esi
pop ebx
ret
Function at 0x44f1d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040440c
xor eax, eax
push ebp
push 0x44f278
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x44f209
mov eax, dword [ebp - 4]
call fcn.004081dc
test al, al
jne 0x44f239
push 0x30
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042d2d4
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
mov eax, dword [0x452c08]
call fcn.0040441c
mov edx, eax
mov eax, dword [0x45104c]
mov eax, dword [eax]
pop ecx
call fcn.0044c7fc
jmp 0x44f25a
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040441c
push eax
push 0x44f284
mov eax, ebx
call fcn.00433998
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f27f
lea eax, [ebp - 8]
call fcn.00403f5c
lea eax, [ebp - 4]
call fcn.00403f5c
ret
Function at 0x4013e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x144
mov eax, dword [0x425f60]
xor eax, esp
mov dword [esp + 0x140], eax
fldz
xor eax, eax
mov word [esp], ax
fstp dword [esp + 0xc]
fldz
push ebx
push esi
fstp qword [esp + 0x18]
xor ecx, ecx
mov word [esp + 8], cx
push 0x104
mov dword [esp + 0x10], eax
call fcn.0040afaa
fld qword [0x425d00]
fld1
mov ebx, eax
fadd st(1), st(0)
add esp, 4
fxch st(1)
fstp qword [0x425d00]
mov edx, dword [0x423b40]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld qword [0x425d00]
fsub qword [0x41f378]
fld qword [esp + 0x18]
faddp st(2)
fsub dword [0x4235f4]
fcompp
fnstsw ax
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
test ah, 0x41
jp 0x40147b
mov eax, dword [0x4258cc]
imul eax, eax, 0x53bb2b90
mov dword [0x4258cc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov cx, word [esp + 8]
movsx edx, cx
sub edx, 0x4a96c693
mov dword [esp + 0x10], edx
mov esi, eax
mov dword [esp + 0x18], esi
fild dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
test esi, esi
je 0x4015e8
dec dword [esp + 8]
movzx eax, word [esp + 8]
movzx ecx, word [esp + 8]
lea edx, [eax + ecx + 0x5724c47c]
lea eax, [esp + 0x20]
push eax
push esi
mov word [esp + 0x10], dx
mov dword [esp + 0x28], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4015e1
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, ebx
lea ecx, [esp + 0x4c]
sub edi, ecx
lea eax, [esp + 0x4c]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x401500
push ebx
call fcn.0041e173
mov ecx, dword [esp + 0x15c]
add esp, 4
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401540
test dl, dl
je 0x40153c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401540
add eax, 2
add ecx, 2
test dl, dl
jne 0x401520
xor eax, eax
jmp 0x401545
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4015be
cmp dword [esp + 0x15c], eax
je 0x4015db
mov edx, dword [esp + 0x30]
push edx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
fld qword [0x4257e8]
fmul qword [0x41f370]
mov esi, eax
fstp qword [0x4257e8]
test esi, esi
je 0x40158c
inc dword [esp + 0x14]
push 0xffffffffffffffff
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, word [esp + 0x10]
movsx ecx, ax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld qword [str.Bi._]
fsub qword [0x41f368]
fsub qword [0x41f360]
fsubp st(1)
call fcn.0040aeb0
mov esi, dword [esp + 0x20]
mov word [esp + 0x10], ax
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x30], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4014f5
jmp 0x4015df
inc dword [esp + 0x14]
pop edi
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0040b3e5
mov ecx, dword [esp + 0x14c]
mov eax, dword [esp + 0x10]
add esp, 4
pop esi
pop ebx
xor ecx, esp
call fcn.0040b473
add esp, 0x144
ret
Function at 0x401d80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
fldz
push esi
xor esi, esi
mov dword [esp + 4], esi
fstp dword [esp + 8]
fldz
fstp qword [esp + 0x10]
fld qword [0x425de8]
mov ax, word [0x425d5c]
mov edx, dword [esp + 4]
movsx ecx, ax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
fsubp st(1)
fild dword [esp + 0xc]
fadd qword [esp + 0x10]
fcompp
fnstsw ax
fld qword [esp + 0x10]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [esp + 0x10]
test ah, 1
jne 0x401e09
mov eax, dword [0x4258b8]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x425d9c]
fsubr dword [esp + 0xc]
call fcn.0040aeb0
mov dword [0x4258b8], eax
fld dword [0x425d9c]
fsub st(1)
fstp dword [0x425d9c]
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x2c], esi
dec dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, 0x26d1ffdf
sub edx, ecx
cmp edx, 0x6e48d79
jle 0x401e6d
fld qword [0x425da8]
fadd st(1)
fstp qword [0x425da8]
mov eax, dword [0x42357c]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fld dword [esp + 8]
fsub qword [0x425da8]
fsub qword [0x41f3f0]
fsubp st(1)
call fcn.0040aeb0
mov dword [0x42357c], eax
fsubr dword [esp + 8]
fstp dword [esp + 8]
jmp 0x401e6f
fstp st(0)
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x74]
mov word [esp + 0x5e], cx
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push 8
push esi
push esi
mov edx, 1
mov word [esp + 0x74], dx
mov edx, dword [esp + 0x90]
push esi
push edx
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add esp, 0x68
ret
Function at 0x403680
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
fldz
push ebp
fstp dword [esp + 4]
xor eax, eax
fldz
push 0x2e
fstp qword [esp + 8]
push 0x42314c
mov word [esp + 0xc], ax
call fcn.004012d0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov ebp, eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40372e
push esi
push edi
push 0x34
push 0x425920
call fcn.004012d0
fld qword [0x425828]
fadd qword [0x41f500]
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, edx
fstp qword [0x425828]
add esp, 8
lea edi, [eax + 1]
jmp 0x4036f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4036f0
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
push 0x34
fstp qword [esp + 0x10]
push 0
push esi
mov dword [esp + 0x18], 0
call fcn.0040b4d0
push esi
call fcn.0040b3e5
add esp, 0x10
pop edi
pop esi
fldz
push 0x2e
push 0
fstp qword [esp + 0xc]
push ebp
mov dword [esp + 0x10], 0
call fcn.0040b4d0
push ebp
call fcn.0040b3e5
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 0xc
ret

Function at 0x4039a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fstp qword [esp + 0xc]
push edi
push 3
mov dword [esp + 0x10], 0
push 0x425b80
mov dword [esp + 0x18], 0
call fcn.004012d0
mov ebx, dword [esp + 0x24]
mov edi, eax
push edi
push ebx
call fcn.0040baca
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4039f9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
call fcn.0040baca
mov esi, eax
add esp, 8
test esi, esi
je 0x403a28
push esi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040bc43
push esi
call fcn.0040b670
mov ecx, dword [0x42357c]
mov eax, 0xa58a5e3
sub eax, ecx
add dword [esp + 0x20], eax
add esp, 0x14
inc dword [0x42357c]
fldz
xor eax, eax
mov word [edi], ax
fstp qword [esp + 0x10]
push edi
mov dword [esp + 0x14], 0
mov byte [edi + 2], al
call fcn.0040b3e5
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x40a500
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
fldz
push ebx
fst dword [esp + 0xc]
xor eax, eax
push ebp
mov word [esp + 0xc], ax
xor ecx, ecx
xor ebp, ebp
mov word [esp + 8], cx
mov dword [esp + 0x10], ebp
fstp dword [esp + 0x10]
fldz
push esi
xor esi, esi
fstp qword [esp + 0x18]
push edi
mov dword [0x42776c], ebp
lea ebx, [eax + 1]
cmp dword [0x4257a8], ebp
je 0x40a561
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
push ebp
push esi
push 0x402fa0
push ebp
push ebp
mov dword [esi*4 + 0x4272a8], ebp
call edi
add esi, ebx
cmp esi, dword [0x4257a8]
jne 0x40a544
fld qword [esp + 0x1c]
movzx edx, word [esp + 0x14]
movsx eax, dx
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
fild dword [esp + 0x18]
fsubp st(1)
fstp qword [esp + 0x20]
fld qword [0x425d60]
fsub qword [0x41fa10]
fstp qword [0x425d60]
mov cx, word [0x425d5c]
movzx edx, word [esp + 0x14]
movsx eax, cx
sub edx, eax
movzx eax, word [0x423584]
lea ecx, [edx + eax + 0xe301a39]
mov word [esp + 0x14], cx
add word [0x425d5c], bx
add word [0x423584], bx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
fld dword [0x425d24]
mov esi, 0x4257ac
fld dword [0x423130]
fsubr qword [0x41fa08]
fsub qword [0x41fa00]
fsubp st(1)
fstp dword [0x425d24]
fld qword [0x425dc8]
fsub qword [0x41f9f8]
fsub qword [0x41f9f0]
fcomp qword [0x41f9e8]
fnstsw ax
test ah, 0x41
jp 0x40a63d
fld dword [0x423aa0]
fsub qword [0x41f340]
fstp dword [0x423aa0]
fld qword [0x423a80]
fsub dword [0x423aa0]
fmul qword [0x423550]
fstp qword [0x423550]
cmp esi, 0x4257b4
je 0x40a68a
movzx edx, word [esi]
mov eax, dword [edx*4 + 0x4272a8]
push eax
call ebx
movzx ecx, word [esi]
cmp dword [ecx*4 + 0x4272a8], ebp
je 0x40a682
mov edi, edi
fld dword [0x423b48]
push 0xa
fmul qword [0x41f9e0]
fstp dword [0x423b48]
call edi
movzx edx, word [esi]
cmp dword [edx*4 + 0x4272a8], ebp
jne 0x40a660
add esi, 2
jmp 0x40a5f4
fld dword [esp + 0x18]
fsub qword [0x41f9d8]
fadd qword [0x425828]
fstp qword [0x425828]
inc edx
add ch, bl
sbb eax, 0x425828
dec word [0x4235b4]
mov ax, word [0x4235b4]
movsx ecx, ax
add ecx, 0x3baaf9b5
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
inc edx
add byte [esi - 0x5f], ah
mov ah, 0x35
inc edx
add byte [edi], cl
mov edi, 0xb5c181c8
stc
stosb byte es:[edi], al
cmp ecx, dword [ecx - 0x24e7dbb4]
inc esp
and al, 0x18
fadd qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fstp qword [esp + 0x1c]
call dword [0x42776c]
pop ds
loope 0x40a6a0
xchg esi, eax
lodsb al, byte [esi]
stosd dword es:[edi], eax
or dword [edx], esp
or eax, 0x43a132a0
mov ah, 0x41
or ah, dh
imul edi, eax, 0x5c
jno 0x40a6a5
movsb byte es:[edi], byte [esi]
mul byte [edi - 0x69]
mov ah, byte [ebx]
imul ebp, dword [esi + 0x1d], 0x56eb6749
jl 0x40a698
test al, 0xf3
pop si
and eax, 0x51386ba1
or ch, ch
cwde
movsb byte es:[edi], byte [esi]
pop esp
scasb al, byte es:[edi]
mov dl, 0x8e
test byte [edi - 0x60dc4f5f], 0x50
cmp byte [ecx + 0x17], cl
add al, 0xa4
jl 0x40a6e7
hlt

Function at 0x40b473
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425f60]
jne 0x40b47d
repz ret
jmp fcn.0040f641
Function at 0x416554
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.00411c68
and dword [ebp - 4], 0
cmp dword [0x4281d4], 0
mov ebx, eax
jne 0x416605
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4166b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420ab8
push edi
call esi
test eax, eax
je 0x4166b6
push eax
call fcn.00411bf6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4281d4], eax
call esi
push eax
call fcn.00411bf6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4281d8], eax
call esi
push eax
call fcn.00411bf6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4281dc], eax
call esi
push eax
call fcn.00411bf6
pop ecx
mov dword [0x4281e4], eax
test eax, eax
je 0x416605
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411bf6
pop ecx
mov dword [0x4281e0], eax
mov eax, dword [0x4281e0]
cmp eax, ebx
je 0x41665d
cmp dword [0x4281e4], ebx
je 0x41665d
push eax
call fcn.00411c71
push dword [0x4281e4]
mov esi, eax
call fcn.00411c71
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41665d
test edi, edi
je 0x41665d
call esi
test eax, eax
je 0x416654
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416654
test byte [ebp - 0xc], 1
jne 0x41665d
or dword [ebp + 0x10], 0x200000
jmp 0x416696
mov eax, dword [0x4281d8]
cmp eax, ebx
je 0x416696
push eax
call fcn.00411c71
pop ecx
test eax, eax
je 0x416696
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416696
mov eax, dword [0x4281dc]
cmp eax, ebx
je 0x416696
push eax
call fcn.00411c71
pop ecx
test eax, eax
je 0x416696
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4281d4]
call fcn.00411c71
pop ecx
test eax, eax
je 0x4166b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4166b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401031
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x403030], eax
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x403034], eax
push 0xa
push dword [0x403034]
push 0
push dword [0x403030]
call 0x401031
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x401118
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x403030]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 6
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.pediy.com
push 0x7f00
push 0
call sub.USER32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Portable_Executable_File_Format_PE_
push str.pediy.com
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
push 1
push dword [ebp - 0x50]
call sub.USER32.dll_ShowWindow
push dword [ebp - 0x50]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_GetMessageA
or eax, eax
je 0x401111
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_DispatchMessageA
jmp 0x4010ea
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4182d8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4182dc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], 0x9e3779b9
mov dword [ebp - 0x34], eax
call fcn.00401200
add dword [ebp - 0x10], 0x23f
cmp dword [0xae0144], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x834]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov eax, dword [0x4182e4]
mov edi, dword [str._o__]
push 0x20
pop edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, edi
cmp dword [0xae0144], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xae0140]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xae0144], 0x3eb
mov dword [0xae0140], eax
mov eax, dword [0xae0098]
cmove eax, dword [ebp - 0xc]
mov dword [0xae0098], eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x14], 0
mov dword [0xae013c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add eax, ebx
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x14], eax
cmp dword [0xae0144], 0xb03
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jne 0x401362
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x10], eax
dec edx
mov dword [ebp - 0x20], edx
jne 0x401277
mov edi, dword [ebp - 0x30]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret