joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7001ace2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
push edi
shr eax, 1
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x104]
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov edi, dword [ebp + 0x10]
jne 0x7001ad4b
mov eax, dword [esi]
shr eax, 1
push eax
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
lea ecx, [eax + eax]
mov dword [esi], ecx
jne 0x7001ad49
cmp byte [ebp - 0x104], bl
je 0x7001ad49
mov eax, 0xea
jmp 0x7001ad52
xor eax, eax
cmp eax, 0xea
jne 0x7001ad61
mov esi, dword [esi]
cmp esi, ebx
je 0x7001ad6f
shr esi, 1
mov word [edi + esi*2 - 2], bx
jmp 0x7001ad6f
cmp eax, ebx
je 0x7001ad6f
cmp eax, 2
mov word [edi], bx
jne 0x7001ad6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7001ad76
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x7001ad92
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x7001ad94
xor eax, eax
cmp eax, esi
je 0x7001add8
push esi
push esi
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
je 0x7001add1
inc eax
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x7001adeb
mov eax, 0x3f5
jmp 0x7001adeb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, 2
jne 0x7001adeb
xor eax, eax
pop esi
leave
ret 0xc

Function at 0x7001adf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x7000156c
push 0x80000002
call esi
test eax, eax
jne 0x7001ae79
cmp dword [ebp + 8], ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 4
je 0x7001ae48
lea eax, [ebp + 8]
push eax
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x7001ae48
push dword [ebp - 4]
call edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7001ae68
cmp dword [ebp - 8], 4
je 0x7001ae6e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0xc]
pop edi
jmp 0x7001ae7c
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
leave
ret 0xc
Function at 0x7001ae82
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x7001af1e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x7001af1e
lea eax, [ebp + 0xc]
push eax
push 0x10008
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x7001af23
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, edi
jne 0x7001aef9
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call fcn.7001ae82
mov esi, eax
jmp 0x7001af01
cmp esi, 0x103
je 0x7001af07
cmp esi, edi
je 0x7001aec0
jmp 0x7001af13
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x7001af23
mov esi, 0x3f2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x7001bbec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
call fcn.7000dd82
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x4c]
xor edx, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x70027d48]
inc edx
xor edi, edi
cmp eax, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ebx
lea esi, [eax + 0xc]
je 0x7001bcf9
cmp esi, ebx
je 0x7001bc7a
cmp dword [esi + 0x3c], ebx
je 0x7001bc7a
cmp edi, dword [eax]
jge 0x7001bc7a
cmp byte [esi + 4], 0x14
jb 0x7001bc6a
test byte [esi + 6], 1
je 0x7001bc6a
mov ecx, dword [esi + 0x38]
cmp ecx, 0x10
mov dword [ebp - 4], ecx
jge 0x7001bc60
lea eax, [ebp + ecx*4 - 0x4c]
cmp dword [eax], edx
je 0x7001bc60
push ecx
mov dword [eax], edx
call fcn.7001b8b2
test eax, eax
jge 0x7001bc6a
mov dword [ebp - 8], ebx
jmp 0x7001bc6a
mov dword [esi + 0x38], 0x11
mov dword [ebp - 0xc], edx
mov eax, dword [0x70027d48]
xor edx, edx
inc edi
add esi, 0x40
inc edx
cmp eax, ebx
jne 0x7001bc23
cmp dword [ebp - 0xc], ebx
je 0x7001bcf9
xor edi, edi
cmp dword [eax], ebx
jle 0x7001bcf9
lea esi, [eax + 0x44]
jmp 0x7001bc8d
xor edx, edx
inc edx
cmp byte [esi - 0x34], 0x14
jb 0x7001bcec
test byte [esi - 0x32], 1
je 0x7001bcec
mov eax, dword [esi]
cmp eax, 0x11
mov dword [ebp - 4], eax
jne 0x7001bcec
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + eax*4 - 0x4c], ebx
je 0x7001bcb7
inc eax
cmp eax, 0x10
mov dword [ebp - 4], eax
jl 0x7001bca8
cmp eax, 0x10
jge 0x7001bcec
push 4
mov dword [ebp + eax*4 - 0x4c], edx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push 3
push ebx
push 0x70001ab8
push dword [esi - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x7001bce9
push dword [ebp - 4]
call fcn.7001b8b2
test eax, eax
jge 0x7001bcec
mov dword [ebp - 8], ebx
mov eax, dword [0x70027d48]
inc edi
add esi, 0x40
cmp edi, dword [eax]
jl 0x7001bc8a
push ebx
push ebx
call fcn.7000dd90
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7001bf7b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [ebp - 4], esi
jne 0x7001bf9d
mov eax, 0x80004005
jmp 0x7001c113
push edi
push esi
push esi
call fcn.7000dd82
push dword [ebp + 8]
call fcn.7001160a
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x7001c0e3
lea esi, [eax + 0x38]
mov edi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
mov dword [esi], ebx
push edi
mov dword [ebp - 8], edi
xor ebx, ebx
call fcn.7001b80d
test eax, eax
mov dword [ebp + 8], eax
jl 0x7001bff0
lea eax, [ebp - 0x1c]
push eax
call fcn.7001160a
mov ebx, eax
test ebx, ebx
je 0x7001c079
mov dword [ebx + 0x38], edi
jmp 0x7001c079
and dword [ebp - 0x4b0], 0
xor eax, eax
mov dword [ebp - 0x4b4], 0x498
push 0x1b
lea edi, [ebp - 0x4ac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x7f
xor edx, edx
mov dword [ebp - 0x4a0], edx
lea edi, [ebp - 0x49c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x430], 0x2710
mov word [ebp - 0x42c], dx
pop ecx
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7f
xor eax, eax
mov word [ebp - 0x22c], dx
pop ecx
lea edi, [ebp - 0x22a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1f
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4a0]
push eax
push dword [ebp - 8]
call fcn.70018e2e
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
push 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 3
push 0
mov edi, 0x70001ab8
push edi
push dword [eax + 0x10]
call esi
test eax, eax
jne 0x7001c0ae
push dword [ebp + 0xc]
call fcn.7001b8b2
test eax, eax
mov dword [ebp + 8], eax
jl 0x7001c0ae
mov dword [ebp - 4], 1
test ebx, ebx
je 0x7001c0cb
cmp ebx, dword [ebp - 0xc]
je 0x7001c0ea
push 4
lea eax, [ebx + 0x38]
push eax
push 3
push 0
push edi
push dword [ebx + 0x10]
call esi
test eax, eax
jne 0x7001c0ea
push dword [ebp - 8]
call fcn.7001b8b2
test eax, eax
mov dword [ebp + 8], eax
jl 0x7001c0f5
mov dword [ebp - 4], 1
jmp 0x7001c0ea
mov dword [ebp + 8], 0x80004005
cmp dword [ebp + 8], 0
jl 0x7001c0f5
call fcn.7001bbec
xor esi, esi
cmp dword [ebp - 4], esi
pop edi
je 0x7001c109
mov eax, dword [0x70025240]
cmp eax, esi
je 0x7001c109
push esi
call eax
push esi
push esi
call fcn.7000dd90
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 8

Function at 0x7001c84b
Capabilities:
Delete registry value
Set registry value

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
je 0x7001c87d
push 0x220
push dword [esp + 0x10]
push 3
push esi
push 0x70002184
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
jmp 0x7001c88c
push 0x70002184
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, esi
pop esi
ret 8
Function at 0x7001c957
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x88
push ebx
push esi
push edi
push 0x20
xor eax, eax
pop ecx
lea edi, [ebp - 0x14]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
mov dword [ebp + 0x70], ebx
je 0x7001ca23
cmp dword [edi], ebx
mov dword [ebp + 0x7c], ebx
jle 0x7001ca23
lea esi, [edi + 0x20]
or dword [esi], 0xffffffff
lea eax, [ebp + 0x6c]
push eax
push esi
push ebx
push ebx
push 0x7000218c
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7001c9c3
mov ecx, dword [esi]
lea eax, [ebp + ecx*4 - 0x14]
cmp dword [eax], ebx
jne 0x7001c9c0
cmp ecx, 0x20
jg 0x7001c9c0
mov dword [eax], 1
jmp 0x7001c9ca
or dword [esi], 0xffffffff
mov dword [ebp + 0x70], 1
inc dword [ebp + 0x7c]
mov eax, dword [ebp + 0x7c]
add esi, 0x30
cmp eax, dword [edi]
jl 0x7001c98d
cmp dword [ebp + 0x70], ebx
je 0x7001ca23
cmp dword [edi], 0
jle 0x7001ca23
lea esi, [edi + 0x20]
cmp dword [esi], 0xffffffff
jne 0x7001ca1b
xor ecx, ecx
mov dword [esi], ecx
mov eax, dword [esi]
cmp dword [ebp + eax*4 - 0x14], ecx
je 0x7001c9fd
inc eax
cmp eax, 0x20
mov dword [esi], eax
jl 0x7001c9ed
mov eax, dword [esi]
push 4
push esi
push 3
push ecx
push 0x7000218c
push dword [esi + 8]
mov dword [ebp + eax*4 - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ebx
add esi, 0x30
cmp ebx, dword [edi]
jl 0x7001c9e4
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x7001d12a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
xor esi, esi
push esi
push esi
call fcn.7000dd82
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 8], esi
mov edi, eax
je 0x7001d14d
call fcn.7001c94c
push dword [ebp + 8]
call fcn.70011ebe
cmp dword [0x700251c8], esi
mov eax, dword [0x70025390]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
je 0x7001d231
cmp dword [ebp + 8], esi
jne 0x7001d189
mov ecx, dword [0x70025398]
cmp ecx, esi
je 0x7001d189
sub edi, ecx
cmp edi, 0x4e20
jbe 0x7001d231
push eax
call fcn.7001ca2f
push 0x12
push esi
push esi
push dword [0x70025394]
call dword [0x70025198]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x7001d231
cmp dword [0x70025390], esi
mov edi, 0x70025390
jne 0x7001d1d7
push edi
push 0x68
call fcn.7000dd31
cmp eax, esi
jl 0x7001d21d
mov eax, dword [0x70025390]
mov ecx, eax
mov dword [ebp - 4], ecx
mov dword [eax], esi
mov dword [ecx + 4], 2
push ebx
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [0x70025394]
mov dword [ebp - 0x24], 0x1c
push esi
push dword [ebp + 8]
call dword [0x700251a4]
test eax, eax
je 0x7001d209
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.7001cf06
jmp 0x7001d216
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x7001d21c
inc ebx
cmp ebx, 0x20
jl 0x7001d1da
pop ebx
push dword [ebp + 8]
call dword [0x7002519c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x70025398], eax
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x7001d23d
mov eax, dword [eax]
mov dword [ebp - 8], eax
push esi
call fcn.70011ebe
push esi
push esi
call fcn.7000dd90
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 4
Function at 0x70020995
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x700253e0
cmp edx, dword [eax]
je 0x700209b7
add eax, 8
inc ecx
cmp eax, 0x70025470
jl 0x700209a8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x700253e0]
jne 0x70020ae5
mov eax, dword [0x7002790c]
cmp eax, 1
je 0x70020abf
test eax, eax
jne 0x700209e8
cmp dword [0x70027910], 1
je 0x70020abf
cmp edx, 0xfc
je 0x70020ae5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x70020a1f
lea eax, [ebp - 0x1a4]
push 0x70003468
push eax
call fcn.70022190
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.70022280
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x70020a62
lea eax, [ebp - 0x1a4]
push eax
call fcn.70022280
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x70003464
push edi
call fcn.70022aa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x70003448
push eax
call fcn.70022190
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.700221a0
lea eax, [ebp - 0xa0]
push 0x70003444
push eax
call fcn.700221a0
push dword [esi + 0x700253e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.700221a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7000341c
push eax
call fcn.70022a15
add esp, 0x2c
pop edi
jmp 0x70020ae5
lea eax, [ebp + 8]
lea esi, [esi + 0x700253e4]
push 0
push eax
push dword [esi]
call fcn.70022280
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 0x10010f8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100125d
movzx eax, word [ebp - 0x48]
jmp 0x1001260
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100127d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001319
ret

Function at 0x438c82
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
add edi, edi
call fcn.00438cbd
sub edi, 0xf095b188
xor dword [esi], ebx
and edi, eax
inc esi
sub edi, edi
sub eax, 0x19438e41
inc eax
cmp esi, ecx
jne fcn.00438c82
or eax, edi
sub edi, 0x7a10fd20
ret
Function at 0x420d36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov eax, 0x7288
mov edx, 0xf467
mul edx
mov ecx, 0x22e9
sub eax, 0x5d22
and dword [0x42a53d], 0x9fe9
or dword [0x42a53d], ecx
mov dword [ebp - 0x10], 0xbc8a
shr dword [ebp - 0x10], 2
mov dword [ebp - 0x30], 0x56e
or dword [ebp - 0x10], 0x6b8a
add ecx, 0x1f4c
xor ecx, dword [ebp - 0x10]
sbb edx, 0xaad1
or edx, 0x4bd2
add edx, ecx
sbb edx, 0x9826
or dword [0x42a51d], 0xb893
xor dword [0x42a52d], eax
shr dword [ebp - 0x30], 7
or dword [ebp - 0x10], 0x130a
mul ecx
add ecx, dword [ebp - 0x30]
shr ecx, 5
sbb edx, eax
shl edx, 0x19
and dword [0x42a53d], 0xf5c7
mul ecx
add dword [0x42a525], eax
mov dword [ebp - 0x38], 0x37ea
shr dword [ebp - 0x30], 0xe
xor dword [ebp - 0x38], ecx
sbb ecx, 0x6a3
and edx, dword [ebp - 0x38]
or edx, 0xacad
xor edx, 0x677a
shl ecx, 5
sub eax, 0xcf6b
shl ecx, 0x18
xor dword [0x42a525], 0x6212
mul dword [0x42a52d]
sbb dword [ebp - 0xc], 0x3945
mul dword [ebp - 0x18]
add edx, 0x981a
xor edx, 0xc78c
adc eax, 0xdb40
shl ecx, 7
add eax, edx
xor ecx, 0x795
and dword [0x42a531], 0x3de7
or dword [0x42a521], 0x43bd
mov dword [ebp - 0x2c], 0x2bae
dec dword [0x42a541]
jne 0x420df8
shl edx, 8
add eax, 0x3570
sbb dword [0x42a52d], 0x1c2e
shr dword [0x42a52d], 0x16
and dword [ebp - 0x38], 0xb692
mov dword [ebp - 0x18], 0xaa28
mov dword [ebp - 0x20], 0xb710
mul dword [ebp - 0x38]
add ecx, dword [0x42a52d]
adc eax, dword [ebp - 0x30]
and eax, 0x31f
sub ecx, eax
xor eax, ecx
shl edx, 0x1f
mul dword [0x42a529]
or dword [0x42a525], 0xe237
shr dword [ebp - 0x10], 3
mov dword [ebp - 4], 0x875f
mul dword [ebp - 0x38]
shl edx, 0xa
adc edx, dword [ebp - 4]
sbb edx, 0x29e6
lea ecx, [0]
xor ecx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x4250df], 0
or dword [0x4250df], ecx
and dword [0x4250df], 0xffff0000
push dword [0x4250df]
pop ecx
shr ax, 0xd
shr ax, 3
not ax
xor ax, 0x4d5a
not ax
rol ax, 0xe
ror ax, 6
cmp ax, word [ecx]
je 0x420f21
push esi
mov esi, 0x10000
sub ecx, esi
pop esi
jb 0x420f0f
jae 0x420f0f
push ecx
pop dword [0x42a54d]
shl eax, 8
adc ecx, 0xf6a0
mul dword [0x42a539]
adc dword [0x42a529], 0x3464
sbb dword [ebp - 0x20], 0x1ab8
mov dword [ebp - 0xc], 0x6738
mul dword [ebp - 4]
sbb ecx, dword [0x42a525]
add edx, dword [ebp - 0x38]
xor ecx, 0x87c
and ecx, 0xc8c2
mul edx
shl ecx, 0xc
adc dword [0x42a535], 0x9de5
sub dword [0x42a529], edx
shl dword [ebp - 4], 0x1e
mov dword [ebp - 0x28], 0x3131
shr dword [ebp - 0xc], 0x11
adc ecx, dword [0x42a535]
shr edx, 0x1d
mov dword [0x425093], 0
add dword [0x425093], 0xc59a54ec
not dword [0x425093]
rol dword [0x425093], 0x14
push dword [0x425093]
push dword [0x42a54d]
call fcn.004011d2
mov dword [0x42a549], 0
xor dword [0x42a549], eax
lea eax, [0x42a651]
push eax
mov dword [0x4250bb], 0
add dword [0x4250bb], 0xe4162166
neg dword [0x4250bb]
xor dword [0x4250bb], 0x1be9de8f
push dword [0x4250bb]
push 0x421012
jmp dword [0x42a549]
Function at 0x40100a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x401210
push ecx
push ebx
push ebp
push esi
push edi
push 0x343
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [0x405994], eax
xor ebx, ebx
xor eax, eax
mov ecx, dword [0x405994]
mov byte [ecx + eax], al
inc eax
cmp eax, 0x343
jl 0x40122c
mov eax, dword [esp + 0x20]
mov byte [esp + 0x20], bl
xor esi, esi
mov byte [eax], bl
mov byte [eax + 1], bl
mov edi, dword [esp + 0x20]
mov ebp, dword [0x405994]
mov eax, dword [esp + 0x18]
and edi, 0xff
xor edx, edx
lea ecx, [ebx + ebp]
mov dl, byte [edi + eax]
xor eax, eax
mov al, byte [ecx]
add esi, edx
add eax, esi
mov esi, 0x343
cdq
idiv esi
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x10]
and esi, 0xff
lea edx, [esi + ebp]
push edx
push ecx
call fcn.00401560
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x1c]
inc ebx
cmp ebx, 0x343
mov byte [esp + 0x20], dl
jl 0x40124c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4017db
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
mov eax, dword [0x452cb0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x110]
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
mov esi, ebx
push 7
push str.dta_tcc
push ebx
movsx ebp, ax
call fcn.00418e90
add esp, 0xc
test eax, eax
je 0x401830
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00410b08
pop ecx
pop ecx
mov esi, eax
push 3
push 0x42936c
push ebx
call fcn.00417711
add esp, 0xc
test eax, eax
jne 0x401851
push ebp
push edi
push esi
call fcn.00401752
add esp, 0xc
jmp 0x4018c4
push 0x429264
push esi
call fcn.0040de24
movzx eax, ax
pop ecx
pop ecx
test ax, ax
jns 0x40186f
push ebp
push esi
push str.__Cant_open__s__msgnr___d
jmp 0x4018a6
movsx esi, ax
push 0
imul eax, ebp, 0x50
push 0x50
pop ecx
sub eax, ecx
push eax
push esi
call fcn.00416cd6
push 0x50
pop eax
push eax
push edi
push esi
call fcn.00416e6c
add esp, 0x18
mov word [0x49c242], ax
push 0x50
pop ecx
cmp ax, cx
je 0x4018b3
push ebp
push ebx
push str.__Msgfile__s__error_in_message._Msgnr___d.
push edi
call fcn.00415e8e
mov byte [edi + 0x4e], 0x33
add esp, 0x10
lea esi, [edi + 0x4e]
push esi
call fcn.004161cb
movzx eax, ax
pop ecx
mov byte [esi], 0
cwde
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004161e8
add esp, 0x104
ret

Function at 0x402d75
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
call fcn.0040323f
movzx eax, ax
pop ecx
test ax, ax
jns 0x402d8c
xor eax, eax
pop ecx
ret
push ebx
push ebp
push 0
movsx ebx, ax
push 0
push ebx
call fcn.00416cd6
push 4
pop ebp
push ebp
push 0x44005c
push ebx
call fcn.00416e6c
add esp, 0x18
mov word [0x49c242], ax
cmp ax, bp
je 0x402dc0
push 0xfffffffffffffffd
pop eax
jmp 0x402e61
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x402dd2
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x402de5
push 1
push dword [0x44005c]
call fcn.00404b3e
pop ecx
pop ecx
mov esi, eax
xor edi, edi
push esi
push dword [0x44005c]
call fcn.00404e49
push 0x4aa814
mov ebp, eax
call fcn.004161cb
add esp, 0xc
cmp edi, eax
jle 0x402e08
push 0xfffffffffffffff8
jmp 0x402e1c
push dword [0x44005c]
push esi
call fcn.00405077
pop ecx
pop ecx
test eax, eax
jns 0x402e1f
push 0xfffffffffffffff7
pop eax
jmp 0x402e5f
push 0x4aa814
call fcn.004161cb
inc eax
imul eax, ebp
push 0
add eax, edi
shl eax, 2
push eax
push ebx
call fcn.00416cd6
push 4
pop esi
push esi
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00416e6c
xor ecx, ecx
mov word [0x49c242], ax
add esp, 0x1c
cmp ax, si
cmove ecx, dword [esp + 0x10]
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret