joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40319e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
inc eax
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax

Function at 0x406d7c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x40c050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x40c5e0]
test eax, eax
jne 0x406e39
push 0x11c
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00402e34
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
mov dword [ebp - 0x328], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406e2b
cmp dword [ebp - 0x318], 2
jne 0x406e21
cmp dword [ebp - 0x324], 6
jae 0x406e21
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x40c058]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x406e2b
push 0
push 8
lea eax, [ebp - 0x20c]
push eax
call fcn.004085fb
mov dword [0x40c5e0], eax
cmp eax, dword [0x40c058]
jne 0x406e2b
push eax
call fcn.0040844e
jmp 0x406e2b
mov eax, dword [0x40c058]
mov dword [0x40c5e0], eax
mov eax, dword [0x40c5e0]
test eax, eax
jne 0x406e39
mov eax, dword [0x40c058]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016b1
leave
ret

Function at 0x4074ae
Capabilities:
Accept command line arguments
Persist via active setup registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x40c050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x2e
pop ecx
mov esi, 0x4075c8
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc8]
push eax
push 1
movsw word es:[edi], word [esi]
xor edi, edi
push edi
lea eax, [ebp - 0xc0]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40759e
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push edi
push ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], edi
call fcn.00402e34
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push ebx
lea eax, [ebp - 0xc4]
push eax
push edi
push 0x4075b4
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407592
cmp dword [ebp - 0xc4], 1
je 0x407554
cmp dword [ebp - 0xc4], 2
jne 0x407592
mov eax, dword [ebp - 0xcc]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
lea eax, [ebp - 0xd0]
push eax
push ebx
mov dword [ebp - 0xd0], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, edi
je 0x407592
push dword [esi]
push dword [ebp + 0xc]
push ebx
call fcn.004020e3
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004016b1
leave
ret 8
Function at 0x407ec1
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x40c050]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x40c5f8], edi
jne 0x407fdd
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call fcn.00402e34
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x407f28
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x40c5f8], edi
pop esi
je 0x407fb0
dec eax
jne 0x407fdd
cmp dword [ebp - 0x11c], 5
jne 0x407f9d
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x407f91
dec eax
je 0x407f7e
dec eax
je 0x407f64
mov dword [0x40c5f8], 0x14
jmp 0x407fdd
cmp word [ebp - 0xc], 1
jb 0x407f75
mov dword [0x40c5f8], 0x10
or dword [0x40c5f8], 4
jmp 0x407fdd
cmp word [ebp - 0xc], 2
jb 0x407f75
mov dword [0x40c5f8], 8
jmp 0x407f75
mov dword [0x40c5f8], 4
jmp 0x407fdd
cmp dword [ebp - 0x11c], 4
ja 0x407fef
mov dword [0x40c5f8], 2
cmp dword [ebp - 0x11c], 4
jne 0x407fdd
cmp dword [ebp - 0x118], edi
je 0x407fd3
cmp dword [ebp - 0x118], 0xa
je 0x407fd3
cmp dword [ebp - 0x118], 0x5a
jne 0x407fdd
mov dword [0x40c5f8], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x40c5f8]
xor ecx, ebp
pop edi
call fcn.004016b1
leave
ret
mov dword [0x40c5f8], 0x20
jmp 0x407fdd

Function at 0x408000
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x40c050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x408054
push 3
lea eax, [ebp - 0x44]
push 0x408064
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.004016b1
leave
ret

Function at 0x40806f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x40c050]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x40c5fc]
jne 0x40810a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x408200
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408109
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x4082b8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x408109
push 3
push dword [esi*8 + 0x408120]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x4080fb
inc esi
cmp esi, 0x1c
jae 0x408109
jmp 0x4080da
mov ax, word [esi*8 + 0x408124]
mov word [0x40c5fc], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x40c5fc]
xor ecx, ebp
call fcn.004016b1
leave
ret
Function at 0xf19d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb10000]
push edi
or ebp, 0xffffffff
jmp 0xf19d92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf19d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf19d88
mov eax, 1
add ebx, ebx
jne 0xf19dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf19da0
jne 0xf19dbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf19da0
xor ecx, ecx
sub eax, 3
jb 0xf19dd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf19e42
mov ebp, eax
add ebx, ebx
jne 0xf19ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xf19de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xf19e0c
inc ecx
add ebx, ebx
jne 0xf19df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf19ded
jne 0xf19e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf19ded
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf19e2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf19e1d
jmp 0xf19d8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf19e2c
add edi, ecx
jmp 0xf19d8e
pop esi
mov edi, esi
mov ecx, 0x7ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf19e4a
cmp byte [edi], 7
jne 0xf19e4a
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 0xf19e4f
lea edi, [esi + 0xb17000]
mov eax, dword [edi]
or eax, eax
je 0xf19ebe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1d5c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb1d614]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf19e7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb1d61c]
or eax, eax
je 0xf19eb8
mov dword [ebx], eax
add ebx, 4
jmp 0xf19e99
call dword [esi + 0xb1d618]
mov ebp, dword [esi + 0xb1d620]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0xf19ef2
sub esp, 0xffffff80
jmp 0x409116
Function at 0x401278
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffff8
mov eax, dword [0x41e258]
test eax, eax
je 0x4012f1
xor edx, edx
xor ecx, ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [esp + 4]
mov ecx, dword [0x41e190]
push eax
lea edx, [esp + 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ebx, eax
push 0x41ced8
mov eax, dword [0x41d2f0]
push eax
call sub.USER32.DLL_GetWindowRect
test ebx, ebx
jne 0x4012f1
push 0x10
push 0x41ced8
push 3
push 0
push 0x4191a0
mov edx, dword [esp + 0x14]
push edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov ecx, dword [esp]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
pop ecx
pop edx
pop ebx
ret

Function at 0x401f14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
mov dword [ebp - 0xc], ecx
push eax
push edx
push 0
push 0xf003f
push 0
push 0
mov ecx, dword [0x41e190]
push 0
push ecx
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x401f77
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov edx, dword [0x41e2bc]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret

Function at 0x401fb0
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffff4
xor eax, eax
xor edx, edx
mov dword [esp], 4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea ecx, [esp + 4]
mov eax, dword [0x41e190]
push ecx
push 1
push 0
push eax
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402008
push esp
lea edx, [esp + 0xc]
push edx
push 0
push 0
mov ecx, dword [0x41e2bc]
push ecx
mov eax, dword [esp + 0x18]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
mov edx, dword [esp + 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [esp + 8]
add esp, 0xc
ret
Function at 0x407c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
jp 0x407c58
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x407c6c
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x407c74
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004077d6
insd dword es:[edi], dx
adc byte [edx - 0x38], ch
lea eax, [ebp - 0x84]
push eax
call fcn.004077e6
push eax
push esi
push dword [ebp + 8]
call fcn.0040779b
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x407fcf
jp 0x407c58
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00407747
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x407d46
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00407747
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x407d13
call fcn.004077d6
add byte [esi + 0x54], 0xd9
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x407fc5
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x407d7b
cmp dword [eax + 0xc], ebx
je 0x407e1e
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.004077d6
jl 0x407d87
rcr cl, 0x39
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
call fcn.004077d6
xor byte [eax - 0x7b], ah
ret
Function at 0x407e80
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x407e8a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x407e85
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x407e6f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x407e77
cmp edx, ebx
jne 0x407fc5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x407e46
add eax, dword [eax + 4]
jmp 0x407e33
mov dword [ebp + 0xc], ebx
jmp 0x407e95
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x407ead
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x407ecb
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]
mov edi, dword [eax + 0x24]
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 0x407f29
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 0x407f10
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x407f19
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x407f23
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x407f05
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x407e8f
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 0x407f76
dec eax
je 0x407f6d
sub eax, 3
je 0x407f64
mov dword [ebp - 4], 0x40
jmp 0x407f93
mov dword [ebp - 4], 4
jmp 0x407f79
mov dword [ebp - 4], 0x20
jmp 0x407f79
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 0x407fc5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x407f45
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.00407fd6
add edi, esi
call fcn.004077d6
dec esp
leave
mov edx, 0x1475ffd7
push 1
push esi
call edi
mov eax, esi
jmp 0x407fd1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4122cc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x4161b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x416212
call fcn.00416160
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00412774
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00412774
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x416270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x41bce4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x41634a
cmp dword [0x41bce0], 0
jne 0x41634a
cmp dword [0x41be00], 0
je 0x416304
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00416060
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4162ea
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00416060
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4162ea
lea ebx, [ebp - 0x84]
jmp 0x4162eb
inc ebx
call fcn.0041622c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x416385
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x41bce8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00412774
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x41bceb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x416385
cmp dword [0x41bce0], 0
je 0x416364
cmp dword [0x41bce0], 0xffffffff
je 0x416385
push esi
call dword [0x41bce0]
pop ecx
mov eax, dword [0x41bce4]
test eax, eax
je 0x416385
cmp dword [0x41bce4], 0xffffffff
je 0x416385
cmp byte [eax], 0
je 0x416385
push esi
push eax
call fcn.004161b0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416d90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
cmp edi, 1
jne 0x416e16
mov eax, dword [0x41eb1c]
inc dword [0x41eb1c]
test eax, eax
jne 0x416e16
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x41eaec], eax
mov edx, dword [ebp + 0x10]
mov dword [0x41911f], edx
mov ecx, dword [esi + 0x44]
push ecx
call fcn.004138a0
pop ecx
cmp dword [0x41bd48], 0
je 0x416e01
call fcn.00416c48
mov ebx, eax
test eax, eax
je 0x416e01
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x416e01
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], esi
jmp 0x416e16
xor eax, eax
lea edx, [ebp - 8]
push 0
push edx
mov dword [0x41bd48], eax
call fcn.00416c50
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esi + 0x18]
push edx
call fcn.00416f24
mov ebx, eax
test edi, edi
jne 0x416e85
test edi, edi
jne 0x416e56
dec dword [0x41eb1c]
jne 0x416e56
cmp dword [0x41eaec], 0
je 0x416e56
mov eax, dword [0x41eaec]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsA
xor edx, edx
mov dword [0x41eaec], edx
cmp dword [0x41eb1c], 0
jne 0x416e85
cmp dword [0x41bd48], 0
jne 0x416e85
cmp dword [0x41bd38], 0
je 0x416e77
call dword [0x41bd38]
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00416c50
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x42bfdc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042bdb8
xor eax, eax
push ebp
push 0x42c034
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c03b
mov eax, dword [ebp - 4]
call fcn.0042bd8c
ret

Function at 0x42c044
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042bdb8
xor edx, edx
push ebp
push 0x42c099
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c0a0
mov eax, dword [ebp - 4]
call fcn.0042bd8c
ret

Function at 0x42c110
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042bdb8
xor eax, eax
push ebp
push 0x42c185
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042bd70
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041d8ac
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42c16f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c18c
mov eax, dword [ebp - 4]
call fcn.0042bd8c
ret

Function at 0x42c194
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042bdb8
xor eax, eax
push ebp
push 0x42c209
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042bd70
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42c1f3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c210
mov eax, dword [ebp - 4]
call fcn.0042bd8c
ret

Function at 0x42e378
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84