joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009c128
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x100cfb48]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x1009c159
xor eax, eax
jmp 0x1009c2e2
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x100da280]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x1009c195
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.1009fdd3
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x1009c270
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x1009c2ae
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x1009c1f9
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x1009c1ea
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x1009c1ca
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1009c239
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x1009c242
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x1009c1bb
jmp 0x1009c244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x1009c2dd
cmp dword [ebp - 0x6c], edi
je 0x1009c2ae
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x1009c2a3
call fcn.100936dd
mov dword [eax], 9
call fcn.100936e6
mov dword [eax], esi
jmp 0x1009c2d8
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1009c298
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x1009c244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x1009c244
push dword [ebp - 0x6c]
call fcn.100936ef
pop ecx
jmp 0x1009c2d8
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1009c2c6
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x1009c2c6
xor eax, eax
jmp 0x1009c2e0
call fcn.100936dd
mov dword [eax], 0x1c
call fcn.100936e6
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x1009c2e0
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.1009ac0e
add ebp, 0x3a0
leave
ret
Function at 0x1009c993
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x1009c9ac
or eax, 0xffffffff
jmp 0x1009ca0d
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x1009ca09
push 0x3d
push esi
call fcn.1009eee3
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x1009ca09
cmp esi, eax
je 0x1009ca09
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x100d9870]
sete cl
cmp eax, dword [0x100d9874]
mov dword [ebp - 8], ecx
jne 0x1009c9ef
mov edi, eax
call fcn.1009c932
mov dword [0x100d9870], eax
cmp eax, ebx
jne 0x1009ca48
cmp dword [ebp + 0xc], ebx
je 0x1009ca11
cmp dword [0x100d9878], ebx
je 0x1009ca11
call fcn.10096e1b
test eax, eax
je 0x1009ca48
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x1009ca1a
xor eax, eax
jmp 0x1009ca0c
push 4
call fcn.100904c2
cmp eax, ebx
pop ecx
mov dword [0x100d9870], eax
je 0x1009ca09
mov dword [eax], ebx
cmp dword [0x100d9878], ebx
jne 0x1009ca48
push 4
call fcn.100904c2
cmp eax, ebx
pop ecx
mov dword [0x100d9878], eax
je 0x1009ca09
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x100d9870]
call fcn.1009c8e5
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x1009caa9
cmp dword [esi], ebx
je 0x1009caa9
lea esi, [esi + edi*4]
push dword [esi]
call fcn.100904d4
cmp dword [ebp - 8], ebx
pop ecx
jne 0x1009ca8c
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x1009caea
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x1009ca83
mov eax, edi
shl eax, 2
push eax
push dword [0x100d9870]
call fcn.100920dc
cmp eax, ebx
pop ecx
pop ecx
je 0x1009caea
jmp 0x1009cae5
cmp dword [ebp - 8], ebx
jne 0x1009cb55
cmp edi, ebx
jge 0x1009cab8
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x100d9870]
call fcn.100920dc
cmp eax, ebx
pop ecx
pop ecx
je 0x1009ca09
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x100d9870], eax
cmp dword [ebp + 0xc], ebx
je 0x1009cb3f
push dword [ebp - 4]
call fcn.10094710
inc eax
inc eax
push eax
call fcn.100904c2
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1009cb3f
push dword [ebp - 4]
push esi
call fcn.100947a0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x1009cb38
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.100904d4
pop ecx
cmp dword [ebp - 8], ebx
je 0x1009cb4d
push dword [ebp - 4]
call fcn.100904d4
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x1009ca0c
push dword [ebp - 4]
call fcn.100904d4
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x1009ca16
Function at 0x1009cc24
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x100d9d20], ebx
push esi
push edi
jne 0x1009cca4
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1009ccdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x100d9d20], eax
je 0x1009ccdf
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x100d9d24], eax
call esi
cmp dword [0x100d9850], 2
mov dword [0x100d9d28], eax
jne 0x1009cca4
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x100d9d30], eax
je 0x1009cca4
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x100d9d2c], eax
mov eax, dword [0x100d9d2c]
test eax, eax
je 0x1009cce9
call eax
test eax, eax
je 0x1009ccd0
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x100d9d30]
test eax, eax
je 0x1009ccd0
test byte [ebp - 8], 1
jne 0x1009cce9
cmp dword [0x100d985c], 4
jb 0x1009cce3
or byte [ebp + 0x12], 0x20
jmp 0x1009cd08
xor eax, eax
jmp 0x1009cd18
or byte [ebp + 0x12], 4
jmp 0x1009cd08
mov eax, dword [0x100d9d24]
test eax, eax
je 0x1009cd08
call eax
mov ebx, eax
test ebx, ebx
je 0x1009cd08
mov eax, dword [0x100d9d28]
test eax, eax
je 0x1009cd08
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x100d9d20]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009ff3f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.1009aba0
mov eax, dword [0x100cfb48]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.1009c009
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x100a0072
push 2
push esi
push dword [ebp + 8]
call fcn.1009c009
add esp, 0xc
cmp eax, ebx
je 0x100a0072
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x100a0012
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.10094310
push 0x8000
push dword [ebp + 8]
call fcn.100a0995
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x1009ffc8
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.1009c128
add esp, 0xc
cmp eax, 0xffffffff
je 0x1009ffe8
sub edi, eax
test edi, edi
jg 0x1009ffc0
jmp 0x100a0000
call fcn.100936e6
cmp dword [eax], 5
jne 0x1009fffd
call fcn.100936dd
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.100a0995
pop ecx
pop ecx
jmp 0x100a005a
jge 0x100a005a
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1009c009
push dword [ebp + 8]
call fcn.10093d27
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x100a005a
call fcn.100936dd
mov dword [eax], 0xd
call fcn.100936e6
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.1009c009
add esp, 0xc
mov eax, esi
pop edi
jmp 0x100a0074
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.1009ac0e
leave
ret
Function at 0x100a0117
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x100a02eb
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x100da280]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x100a02eb
test cl, 0x48
je 0x100a0182
cmp byte [eax + 5], 0xa
je 0x100a0182
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100a01d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x100a01bc
call fcn.100936dd
mov dword [eax], 9
call fcn.100936e6
mov dword [eax], esi
jmp 0x100a01cc
cmp eax, 0x6d
je 0x100a02eb
push eax
call fcn.100936ef
pop ecx
or eax, 0xffffffff
jmp 0x100a02ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x100a02e6
test eax, eax
je 0x100a01fb
cmp byte [ebx], 0xa
jne 0x100a01fb
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x100a0204
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x100a02e0
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x100a02d0
cmp al, 0xd
je 0x100a0236
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x100a02c2
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x100a0250
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x100a024b
add dword [ebp + 0x10], 2
jmp 0x100a02a4
mov dword [ebp + 0x10], eax
jmp 0x100a02be
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100a0278
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100a02be
cmp dword [ebp - 0xc], 0
je 0x100a02be
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x100a0299
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x100a02a4
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x100a02c1
cmp ebx, dword [ebp + 0xc]
jne 0x100a02a9
cmp byte [ebp - 1], 0xa
jne 0x100a02a9
mov byte [ebx], 0xa
jmp 0x100a02c1
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1009c009
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x100a02c2
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x100a021a
jmp 0x100a02e0
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x100a02e0
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x100a02ed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a0a98
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x100c4ed8
call fcn.1009637c
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x100d9dc0], edi
jne 0x100a0adc
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a0ac7
mov dword [0x100d9dc0], ebx
jmp 0x100a0adc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100a0adc
mov dword [0x100d9dc0], 2
mov eax, dword [0x100d9dc0]
cmp eax, ebx
jne 0x100a0afc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x100a0bbf
cmp eax, 2
je 0x100a0b05
cmp eax, edi
jne 0x100a0b2d
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x100a0b18
mov eax, dword [0x100d9d80]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x100a0b34
xor eax, eax
jmp 0x100a0bbf
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.1009aba0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x100a0b67
cmp esi, edi
jne 0x100a0b7d
push dword [ebp - 0x20]
call fcn.100904c2
pop ecx
mov esi, eax
cmp esi, edi
je 0x100a0b2d
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100a0bb0
cmp dword [ebp + 0x14], edi
jne 0x100a0b9a
push edi
push edi
jmp 0x100a0ba0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x100a0bbc
push esi
call fcn.100904d4
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.100963b7
ret
Function at 0x100a0bc8
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x100c4ee8
call fcn.1009637c
xor esi, esi
cmp dword [0x100d9dc4], esi
jne 0x100a0c0c
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a0bf7
mov dword [0x100d9dc4], edi
jmp 0x100a0c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100a0c0c
mov dword [0x100d9dc4], 2
mov eax, dword [0x100d9dc4]
cmp eax, 2
je 0x100a0ced
cmp eax, esi
je 0x100a0ced
cmp eax, 1
jne 0x100a0c51
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x100a0c3a
mov eax, dword [0x100d9d80]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x100a0c58
xor eax, eax
jmp 0x100a0cff
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.1009aba0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x100a0c8e
cmp edi, esi
jne 0x100a0ca9
lea eax, [ebx + ebx]
push eax
call fcn.100904c2
pop ecx
mov edi, eax
cmp edi, esi
je 0x100a0c51
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a0cdc
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100a0cc6
push esi
push esi
jmp 0x100a0ccc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x100a0ce8
push edi
call fcn.100904d4
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x100a0cff
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.100963b7
ret
Function at 0x401aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4049ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x405644
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x401b30
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x401af7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x401b21
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x401b36
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x401b36
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x405630
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x40561c
mov dword [esp + 0x1c], 0xffffffff
call fcn.00404282
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x403620
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [0x407024]
mov ecx, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00403540
mov edx, dword [0x407024]
mov edi, eax
mov eax, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
push edx
push eax
add edi, 0x7d709031
call fcn.00403540
mov ecx, dword [0x407024]
mov edx, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
mov ebx, eax
push ecx
push edx
add ebx, 0x7d70906d
call fcn.00403540
mov ecx, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
mov ebp, eax
mov eax, dword [0x407024]
add ebp, 0x7d70900d
push eax
push ecx
call fcn.00403540
mov edx, dword [0x407024]
add eax, 0x7d709011
mov dword [esp + 0x30], eax
mov eax, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
push edx
push eax
call fcn.00403540
mov ecx, dword [0x407024]
mov edx, dword [str.YZNVnRtCAeBwbzW8pzs26ed1d1hyn3aU4ldzX65e4c0atLGhQAzprMw1OeQpcOP6]
add eax, 0x7d709015
push ecx
push edx
mov dword [esp + 0x44], eax
call fcn.00403540
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
add eax, 0x7d709019
add esp, 0x30
mov ecx, dword [edi + esi]
mov dword [esp + 0x1c], 0
add ecx, ebx
mov ecx, dword [ecx + esi]
add ecx, esi
mov edi, dword [ecx + edx]
mov edx, dword [esp + 0x14]
mov ebx, dword [ecx + eax]
mov ebp, dword [ecx + ebp]
mov edx, dword [ecx + edx]
add edi, esi
add edx, esi
add ebx, esi
test ebp, ebp
jbe 0x403737
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x407024]
push ecx
mov eax, dword [eax]
add eax, esi
push eax
call fcn.00403540
mov ecx, dword [esp + 0x28]
add esp, 8
cmp eax, ecx
je 0x403737
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jb 0x4036ff
cmp dword [esp + 0x1c], ebp
jne 0x403747
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dx, word [ebx + eax*2]
mov eax, dword [edi + edx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x403770
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov eax, 0xe7dc
call fcn.00404460
push ebx
push ebp
push esi
push edi
push 0xe7ce
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, eax
lea eax, [esp + 0x20]
mov edi, ecx
add esp, 4
xor ebp, ebp
xor ebx, ebx
sub edi, eax
mov eax, ebx
lea esi, [esp + ebx + 0x1c]
cdq
idiv dword [esp + 0xe7fc]
mov eax, dword [esp + 0xe7f8]
mov byte [edi + esi], bl
inc ebx
cmp ebx, 0xe7ce
mov dl, byte [edx + eax]
mov byte [esi], dl
jl 0x40379a
lea eax, [esp + 0x1c]
mov esi, ecx
sub eax, ecx
mov dword [esp + 0x10], 0xe7ce
mov dword [esp + 0x14], eax
mov edi, 0xe7ce
jmp 0x4037df
mov eax, dword [esp + 0x14]
mov bl, byte [esi]
xor edx, edx
mov dl, byte [eax + esi]
mov eax, ebx
and eax, 0xff
add ebp, edx
add eax, ebp
mov ebp, 0xe7ce
cdq
idiv ebp
inc esi
mov ebp, edx
mov al, byte [ecx + ebp]
mov byte [ecx + ebp], bl
mov byte [esi - 1], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4037db
mov edx, dword [esp + 0xe7f4]
xor esi, esi
test edx, edx
jle 0x403895
mov ebx, dword [esp + 0xe800]
mov eax, dword [esp + 0xe7f0]
sub eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
mov edi, 0xe7ce
cdq
idiv edi
xor eax, eax
mov ebp, 0xe7ce
mov edi, edx
mov al, byte [edi + ecx]
add eax, esi
mov esi, 0xe7ce
cdq
idiv esi
mov esi, edx
mov dl, byte [edi + ecx]
mov al, byte [esi + ecx]
mov byte [esi + ecx], dl
mov byte [esp + 0x14], al
mov byte [edi + ecx], al
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [esi + ecx]
and edx, 0xff
add eax, edx
cdq
idiv ebp
mov al, byte [edx + ecx]
mov edx, dword [esp + 0x18]
xor al, byte [edx + ebx]
inc ebx
mov byte [ebx - 1], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x403835
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe7dc
ret
Function at 0x401858
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40186a
mov eax, dword [0x56709f]
shl eax, 2
mov dword [0x5670a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00558744
pop edx
call fcn.00558344
call fcn.00558c60
push 0
call fcn.00559fe0
pop ecx
push 0x567048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x5670a7], eax
push 0
jmp fcn.00562a30
Function at 0x403630
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
mov eax, dword [ebp + 0xc]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x40364f
xor eax, eax
jmp 0x4036bf
push 0x224
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.00558f57
add esp, 0xc
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push ecx
push ebx
call sub.KERNEL32.DLL_Module32First
test eax, eax
jne 0x403684
xor eax, eax
jmp 0x4036bf
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x204]
push ecx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
jne 0x4036a6
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x208]
jmp 0x4036bf
lea edx, [ebp - 0x224]
push edx
push ebx
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x403684
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret