joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a650
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5147c9
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00415660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00415660
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp + 8]
push eax
call fcn.00414f80
call fcn.00408c70
add esp, 0x18
mov byte [ebp - 0x8a], al
mov cl, byte [ebp - 0x8a]
mov byte [ebp - 0x89], cl
movzx edx, byte [ebp - 0x89]
test edx, edx
je 0x40a704
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00417930
jmp 0x40a86e
push 0x5276a4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x28]
call fcn.00418640
lea ecx, [ebp - 0x58]
call fcn.00417930
push 0
lea ecx, [ebp - 0x28]
call fcn.00420220
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xa0], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp + 8]
push eax
call fcn.00414f80
call fcn.00408c70
add esp, 0x18
mov byte [ebp - 0x8b], al
mov cl, byte [ebp - 0x8b]
mov byte [ebp - 0x89], cl
movzx edx, byte [ebp - 0x89]
test edx, edx
jne 0x40a81e
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00409090
add esp, 8
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x40]
call fcn.00418640
lea ecx, [ebp - 0x70]
call fcn.00417930
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea eax, [ebp - 0x40]
push eax
call fcn.00414f80
call fcn.0040a650
add esp, 0x18
push 0x5276a8
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x28]
call fcn.00418640
lea ecx, [ebp - 0x88]
call fcn.00417930
push 0
lea ecx, [ebp - 0x28]
call fcn.00420220
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40a847
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00417930
jmp 0x40a86e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00417930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
Function at 0x40a890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514800
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x578bd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp + 8]
call fcn.00422e00
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
lea ecx, [ebp + 8]
call fcn.00420220
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov eax, 0x614
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2a], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x26], edx
mov dword [ebp - 0x22], 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00417930
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40aad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514877
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5276b0
push 0x104
push 0x57ba50
call fcn.004dfe18
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004e0653
add esp, 8
lea ecx, [ebp - 0x230]
push ecx
call fcn.0040aa00
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00420220
push eax
call fcn.004e0829
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.00420220
push eax
push 0x5276b8
push 0x57bc78
call fcn.00421a10
add esp, 0xc
mov dword [ebp - 0x264], 0
push 0x5276d8
push str.prodid
lea edx, [ebp - 0x264]
push edx
call fcn.004ce8d8
add esp, 0xc
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x40ac7d
cmp dword [ebp - 0x264], 0
je 0x40ac7d
push 2
push 0
mov eax, dword [ebp - 0x264]
push eax
call fcn.004de521
add esp, 0xc
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004dec39
add esp, 4
mov dword [ebp - 0x26c], eax
mov edx, dword [ebp - 0x264]
push edx
call fcn.004df25d
add esp, 4
push 0x104
push 0
push 0x57ba50
call fcn.004ca660
add esp, 0xc
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
push 1
push 0x57ba50
call fcn.004de117
add esp, 0x10
mov edx, dword [ebp - 0x264]
push edx
call fcn.004dd867
add esp, 4
push 0x57ba50
lea ecx, [ebp - 0x248]
call fcn.00414970
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
call fcn.00420200
push eax
push str._prodid___S
push 0x57bc78
call fcn.00421a10
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00417910
jmp 0x40acd0
push 0x57ba50
lea ecx, [ebp - 0x260]
call fcn.00414970
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x27c]
call fcn.00420200
push eax
push str._Error_opening_prodid__assuming__ID___s__
push 0x57bc78
call fcn.00420cb0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00417910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00417930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
Function at 0x40d420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514d99
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.WM_TIMER
push 0x57bc78
call fcn.004216a0
add esp, 8
lea ecx, [ebp - 0x248]
call fcn.00415660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00415660
mov byte [ebp - 4], 1
push 0x528ba4
push 0x57ba50
call fcn.004dfe80
add esp, 8
test eax, eax
jne 0x40d4b6
push 0x528ba8
lea ecx, [ebp - 0x248]
call fcn.00418730
push str.SoftwareSteganosSOS
lea ecx, [ebp - 0x230]
call fcn.00418730
jmp 0x40d502
push 0x57bb98
lea ecx, [ebp - 0x248]
call fcn.004186b0
push str.TraceDestructor
push 0x57bb98
lea eax, [ebp - 0x260]
push eax
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00418640
lea ecx, [ebp - 0x260]
call fcn.00417930
mov dword [ebp - 0x264], 0
mov dx, word [0x528c24]
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004ca660
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 1
push 0x528c28
lea ecx, [ebp - 0x248]
call fcn.00420220
push eax
push 0x80000001
call fcn.00403e10
add esp, 0x14
lea edx, [ebp - 0x264]
push edx
push 4
push str.AutoDestroyOnBrowserExit
lea ecx, [ebp - 0x230]
call fcn.00420220
push eax
push 0x80000001
call fcn.00403e10
add esp, 0x14
cmp dword [ebp - 0x264], 0
je 0x40d663
push str.dwAutoDestroyOnBrowserClose__1.
push 0x57bc78
call fcn.004216a0
add esp, 8
call fcn.0040d310
movzx eax, al
test eax, eax
je 0x40d663
push 0x528cac
push 0x57ba50
call fcn.004dfe80
add esp, 8
test eax, eax
jne 0x40d614
push 0x528cb0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.004df719
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x528ce0
push 0x57bc78
call fcn.00421a10
add esp, 0xc
push 5
push 0
push str._erasecookies
lea eax, [ebp - 0x218]
push eax
push 0x528d2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d663
push str.TraceDestructor.exe
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.004df719
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push str.Starting_from_path:__S
push 0x57bc78
call fcn.00421a10
add esp, 0xc
push 5
push 0
push str._entry_browserclose
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00417930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
Function at 0x419c80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5159e1
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8a4], ecx
mov dword [ebp - 0x88c], 0
lea ecx, [ebp - 0x840]
call fcn.00415660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.00414ed0
mov byte [ebp - 4], 1
mov ax, word [0x5296d4]
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.004ca660
add esp, 0xc
push 0
push 0x104
lea ecx, [ebp - 0x840]
call fcn.00423210
push str._APPDATA_Steganos_
lea ecx, [ebp - 0x840]
call fcn.0041ffd0
push 0x104
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x840]
call fcn.00420220
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x810]
push ecx
call fcn.00404bb0
add esp, 8
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x828]
call fcn.00415150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x828]
call fcn.00420220
mov dword [ebp - 0x890], eax
lea ecx, [ebp - 0x828]
call fcn.004219d0
lea eax, [eax + eax - 2]
mov dword [ebp - 0x894], eax
mov ecx, dword [ebp - 0x890]
add ecx, dword [ebp - 0x894]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x419deb
lea ecx, [ebp - 0x828]
call fcn.004219d0
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0x828]
call fcn.00423d50
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x898]
push ecx
lea ecx, [ebp - 0x828]
call fcn.00418640
lea ecx, [ebp - 0x870]
call fcn.00417930
lea ecx, [ebp - 0x828]
call fcn.00420220
push eax
call fcn.00405740
add esp, 4
movzx edx, al
test edx, edx
jne 0x419e25
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8a8], esp
lea eax, [ebp - 0x810]
push eax
call fcn.00415150
call fcn.004058e0
add esp, 0x18
push str..log
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x858]
push edx
lea eax, [ebp - 0x888]
push eax
call fcn.0040e820
add esp, 0xc
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x8a0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040e7e0
add esp, 0xc
mov ecx, dword [ebp - 0x88c]
or ecx, 1
mov dword [ebp - 0x88c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x888]
call fcn.00417910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.00417910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00417930
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret 8

Function at 0x428e79
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
aas
cmp dh, byte [esi]
cmp al, byte [ecx + 0x50]
cmp dword [ebx + 0x4eb04c4], eax
dec esi
aaa
inc edi
cmp al, byte [ecx + 0x18133ea]
add byte [edx + 0x69], bl
xchg ebp, eax
push esp
invalid
Function at 0x42c5bf
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
push ecx
push edx
add esp, 4
call 0x42c5d4
add byte [ebx + 0x41], al
xor eax, dword [edi + 0x3a]
add esp, 4
pop ecx
mov dword [ebp - 0x1fa8], 0xffffffff
push edx
push eax
add esp, 4
add edx, 0x225a
pop edx
push edi
push edi
add esp, 4
sub edi, 0x15c7b
or edi, 0x1639d
and edi, 0xcec3
pop edi
push edi
add edi, 0x171a8
or edi, 0x678e
pop edi
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4cc], ecx
jmp 0x42c631

Function at 0x42c5d4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
push ecx
push edx
add esp, 4
call 0x42c5d4
add byte [ebx + 0x41], al
xor eax, dword [edi + 0x3a]
add esp, 4
pop ecx
mov dword [ebp - 0x1fa8], 0xffffffff
push edx
push eax
add esp, 4
add edx, 0x225a
pop edx
push edi
push edi
add esp, 4
sub edi, 0x15c7b
or edi, 0x1639d
and edi, 0xcec3
pop edi
push edi
add edi, 0x171a8
or edi, 0x678e
pop edi
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4cc], ecx
jmp 0x42c631
Function at 0x42c780
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
les eax, [ecx + eax*4]
rcr dword [edi - 0x17fffecf], 8
add byte [eax], al
add byte [eax], al
cmp edi, dword [0x4d50483e]
Function at 0x42e0bc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x704]
add edx, 1
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x704]
cmp ecx, dword [eax + 0x18]
jae 0x42e1fd
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c0]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x708], ecx
dec dword [ebx - 0x7036b]
dec dword [ebx - 0x18c37b]
dec dword [edi]
mov bh, 0xc
push eax
dec dword [ebx - 0x7036b]
dec dword [ebx - 0x18c37b]
dec dword [edi]
mov bh, 0xc
push eax
mov edx, dword [ebp - 0x18c8]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18cc], eax
mov dword [ebp - 0x184], 0
jmp 0x42e061
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
test eax, eax
je 0x42e113
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
test edx, edx
je 0x42e113
push eax
push eax
add esp, 4
sub eax, 0x4ebb
pop eax
push esi
and esi, 0x9c1f
sub esi, 0x978
jmp 0x42e0ac
pop esi
push esi
call 0x42e0bc
add byte [edx + 0x49], al
aas
aas
inc ecx
dec edi
dec ecx
aas
add esp, 4
pop esi
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
cmp ecx, eax
je 0x42e105
mov ecx, dword [ebp - 0x708]
add ecx, dword [ebp - 0x184]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x184]
movsx ecx, byte [ebp + eax - 0x804]
cmp edx, ecx
jne 0x42e10c
jmp 0x42e052
jmp 0x42e113
push esi
sub esi, 0x174e5
and esi, 0x15fdb
pop esi
push edi
push ebx
add esp, 4
sub edi, 0x1142a
xor edi, 0x13fbc
and edi, 0x51f
pop edi
push esi
push ecx
add esp, 4
xor esi, 0xfbef
pop esi
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
cmp eax, edx
jne 0x42e172
mov dword [ebp - 0xc40], 0
jmp 0x42e1e1
push ecx
push eax
add esp, 4
add ecx, 0x5642
sub ecx, 0x15fa5
and ecx, 0x3794
sub ecx, 0x14129
pop ecx
push eax
push esi
add esp, 4
or eax, 0x171b5
pop eax
push eax
and eax, 0x14a68
pop eax
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
or eax, 0x20
cmp ecx, eax
jge 0x42e1d7
mov dword [ebp - 0xc40], 0xffffffff
jmp 0x42e1e1
mov dword [ebp - 0xc40], 1
cmp dword [ebp - 0xc40], 0
jne 0x42e1f8
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x4e0], ecx
jmp 0x42e209
jmp 0x42dfe2
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x738], eax

Function at 0x42e3f9
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub esi, 0x94a9
call 0x42e410
Function at 0x454a50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51858d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov cl, bl
mov eax, dword [ebp + 8]
and cl, 1
mov byte [ebp - 0x31], cl
lea ecx, [ebp - 0x30]
push eax
shr ebx, 1
call fcn.00416dc0
mov dword [ebp - 4], 0
and bl, 1
je 0x454b06
lea eax, [ebp - 0x30]
push eax
call fcn.00449230
add esp, 4
test al, al
je 0x454b06
nop
mov esi, dword [ebp - 0x20]
cmp esi, 1
je 0x454b06
cmp esi, 3
jne 0x454ad5
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
je 0x454b0c
jmp 0x454aea
cmp esi, 0x31
jne 0x454aea
lea eax, [ebp - 0x30]
push eax
call fcn.00451de0
add esp, 4
test al, al
jne 0x454b06
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x30]
call fcn.00440ed0
lea eax, [ebp - 0x30]
push eax
call fcn.00449230
add esp, 4
test al, al
jne 0x454ab0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp ecx, 8
lea eax, [ebp - 0x30]
cmovae eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x454b25
xor bl, bl
jmp 0x454b2c
test al, 0x10
jne 0x454b2c
mov bl, byte [ebp - 0x31]
lea ecx, [ebp - 0x30]
call fcn.00418510
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret

Function at 0x45aba0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x84]
call fcn.0047d700
lea ecx, [esi + 0xec]
call fcn.0047d700
lea ecx, [esi + 0x50]
call fcn.00480700
test al, al
je 0x45abda
cmp dword [esi + 0xb8], 0
lea ecx, [esi + 0xb8]
je 0x45abda
pop esi
jmp fcn.00480700
pop esi
ret

Function at 0x462b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
movzx ecx, word [edx]
test cx, cx
je 0x462b73
push esi
mov esi, ecx
movzx ecx, si
lea edx, [edx + 2]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [edx]
mov esi, ecx
test cx, cx
jne 0x462b53
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop ebp
ret
Function at 0x46d130
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x46d145
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
jne 0x46d15e
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46d18c
push edi
push eax
lea ecx, [ebp - 8]
call fcn.0044e380
cmp dword [esi + 0x14], 8
jb 0x46d177
mov esi, dword [esi]
mov eax, dword [eax + 4]
push edi
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 8]
call fcn.0043d600
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46e0b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cdcb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x578bd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi], vtable.wxStringTokenizer.0
xor eax, eax
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], eax
mov dword [ebp - 0x14], esi
call fcn.0043fb80
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.0043fb80
mov dword [esi], eax
push dword [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
mov dword [edi + 0x38], 0
push dword [ebp + 8]
call fcn.0046e4f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4757a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51614d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
lea eax, [esi + 0x30]
push eax
lea ecx, [esi + 8]
call fcn.00475c90
mov eax, dword [ebp + 0x10]
mov edx, 0x5296d4
test eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
cmovne edx, eax
mov dword [ebp - 0x1c], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x30], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475810
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00442200
push dword [ebp - 0x18]
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x47588e
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x475884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4758a9
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
call fcn.004ce51f
int3