joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e70c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4bb8f0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47e74c
cmp byte [ebx], 0xa
jne 0x47e74c
or byte [edi + eax + 0x28], 4
jmp 0x47e751
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x47e850
mov dl, byte [eax]
cmp dl, 0x1a
je 0x47e833
inc eax
cmp dl, 0xd
je 0x47e77d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x47e7a3
cmp eax, ecx
jae 0x47e7b1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x47e765
jmp 0x47e850
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47e82e
cmp dword [ebp - 0x10], 0
je 0x47e82e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4bb8f0]
test byte [eax + edi + 0x28], 0x48
je 0x47e808
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47e7f3
mov byte [esi], dl
jmp 0x47e804
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4bb8f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x47e850
cmp byte [ebp - 1], 0xa
jne 0x47e817
cmp esi, ebx
jne 0x47e817
mov byte [esi], 0xa
jmp 0x47e84f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00472c77
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x47e850
mov byte [esi], 0xd
jmp 0x47e84f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4bb8f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47e84d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47e850
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47e859
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4bb8f0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47e89f
cmp word [ebx], dx
jne 0x47e89f
or byte [eax + edi + 0x28], 4
jmp 0x47e8a4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x47ea07
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x47e9e7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x47e8e5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x47e91b
cmp eax, edx
jae 0x47e929
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x47e8c0
jmp 0x47ea07
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47e9e2
cmp dword [ebp - 0x18], 0
je 0x47e9e2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4bb8f0]
test byte [eax + edi + 0x28], 0x48
je 0x47e9b8
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x47e97c
mov word [esi], cx
jmp 0x47e9b3
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4bb8f0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4bb8f0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4bb8f0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x47ea07
pop eax
cmp word [ebp - 4], ax
jne 0x47e9c8
cmp esi, ebx
jne 0x47e9c8
mov word [esi], ax
jmp 0x47ea04
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00472c77
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x47ea07
push 0xd
pop eax
jmp 0x47e9c3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4bb8f0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x47ea01
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x47ea07
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47fdc5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b0364]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x47fe10
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0047ff60
test al, al
jne 0x47fe0a
sub edx, 2
cmp edx, edi
jne 0x47fdf0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x47fe32
lea eax, [edi + 2]
cmp edx, eax
je 0x47fe32
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0047fd11
add esp, 0x10
jmp 0x47ff2c
push esi
lea ecx, [ebp - 0x255]
call fcn.0047ff60
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47fe75
push dword [ebp - 0x25c]
jmp 0x47fe22
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x47feb2
cmp word [ebp - 0x226], 0
je 0x47fed3
cmp word [ebp - 0x226], ax
jne 0x47feb2
cmp word [ebp - 0x224], 0
je 0x47fed3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0047fd11
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x47ff1f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47fe8c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x47ff07
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x47ff2c
push 0x47fb41
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00485c40
add esp, 0x10
jmp 0x47fefc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bcea
leave
ret

Function at 0x480842
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x480853
pop esi
ret
push ebx
push edi
push esi
call fcn.0048080b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00478e28
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48087b
push ebx
push esi
push edi
call fcn.0045df50
add esp, 0xc
push 0
call fcn.00478dee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x480c4b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00480890
Function at 0x482ccf
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00478b03
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x482d3e
cmp esi, dword [ebp - 4]
je 0x482d39
cmp dword [ebp + 0xc], 0
je 0x482d39
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x482d16
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00482821
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x482d40
xor eax, eax
inc eax
jmp 0x482d40
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x482da5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b0364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00478b03
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00478b03
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x482e1c
cmp word [ecx], dx
je 0x482e1c
mov eax, dword [0x49f834]
push edi
dec eax
push eax
push 0x49f720
call fcn.00482d44
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x482e8f
cmp word [eax], dx
je 0x482e8f
mov eax, dword [edi]
test eax, eax
je 0x482e40
cmp word [eax], dx
je 0x482e40
lea eax, [ebp - 0x10]
push eax
call fcn.00482727
jmp 0x482e49
lea eax, [ebp - 0x10]
push eax
call fcn.004827c2
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x482eb9
mov eax, dword [0x49f71c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x49f410
call fcn.00482d44
add esp, 0xc
test al, al
je 0x482eb9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x482e84
cmp word [eax], di
je 0x482e84
lea eax, [ebp - 0x10]
push eax
call fcn.00482727
pop ecx
jmp 0x482ebb
lea eax, [ebp - 0x10]
push eax
call fcn.004827c2
jmp 0x482e81
mov eax, dword [edi]
test eax, eax
je 0x482ea6
cmp word [eax], dx
je 0x482ea6
lea eax, [ebp - 0x10]
push eax
call fcn.004826dc
pop ecx
jmp 0x482eb9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x482f84
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00482bc9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x482f84
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x482f84
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x482f84
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x482f11
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0047abcc
test ebx, ebx
je 0x482f7f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0047abcc
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x482f84
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x482f84
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00468d93
add esp, 0x10
xor eax, eax
inc eax
jmp 0x482f86
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bcea
leave
ret
Function at 0x84752d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x8472a2
or edi, edx
sub edi, edx
call fcn.0084757d
and edi, edi
sub edx, 0x11273b7f
xor dword [ecx], eax
mov edx, edi
sub edx, 1
sub edx, 1
inc ecx
sub edi, 0xf582eff3
mov edi, edi
mov edi, 0xf2747863
cmp ecx, esi
jne fcn.0084752d
mov edi, 0xe5bd740f
add edi, 0x9842aebd
add edi, edi
ret
Function at 0x10d88058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10d881a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10d8807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d8806a
add dl, dl
jne 0x10d88089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d880dc
xor eax, eax
add dl, dl
jne 0x10d88096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d8817d
add dl, dl
jne 0x10d880a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d880b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d880bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d880c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10d880d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10d88075
mov eax, 1
add dl, dl
jne 0x10d880ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d880f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d880e1
sub eax, ebx
mov ebx, 1
jne 0x10d88128
mov ecx, 1
add dl, dl
jne 0x10d8810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10d88119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d88105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d88075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10d8813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10d8814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d88136
cmp eax, 0x7d00
jae 0x10d8816d
cmp eax, 0x500
jb 0x10d88168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d88075
cmp eax, 0x7f
ja 0x10d88170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d88075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10d8819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10d88075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402981
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429130]
jne 0x40298b
repz ret
jmp fcn.0040405b

Function at 0x406d0c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4293e8]
je 0x406d27
inc edi
cmp edi, 0x17
jb 0x406d18
cmp edi, 0x17
jae 0x406ea7
push ebp
push 3
call fcn.00411edc
cmp eax, 1
pop ecx
je 0x406e73
push 3
call fcn.00411edc
test eax, eax
pop ecx
jne 0x406d5b
cmp dword [0x429110], 1
je 0x406e73
cmp ebx, 0xfc
je 0x406ea6
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42a6e8
push ebp
call fcn.00403f68
add esp, 0xc
test eax, eax
je 0x406d91
push esi
push esi
push esi
push esi
push esi
call fcn.0040543f
add esp, 0x14
push 0x104
mov esi, 0x42a701
push esi
push 0
mov byte [0x42a805], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406dd5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00403f68
add esp, 0xc
test eax, eax
je 0x406dd5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040543f
add esp, 0x14
push esi
call fcn.00403540
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x406e1a
push esi
call fcn.00403540
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42a9fc
push 0x4248fc
sub ecx, eax
push ecx
push eax
call fcn.00411e29
add esp, 0x14
test eax, eax
je 0x406e1a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040543f
add esp, 0x14
jmp 0x406e1c
xor esi, esi
push 0x4248f8
push ebx
push ebp
call fcn.00411db8
add esp, 0xc
test eax, eax
je 0x406e3c
push esi
push esi
push esi
push esi
push esi
call fcn.0040543f
add esp, 0x14
push dword [edi*8 + 0x4293ec]
push ebx
push ebp
call fcn.00411db8
add esp, 0xc
test eax, eax
je 0x406e5e
push esi
push esi
push esi
push esi
push esi
call fcn.0040543f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00411bfb
add esp, 0xc
jmp 0x406ea6
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x406ea6
cmp ebp, 0xffffffff
je 0x406ea6
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4293ec]
push dword [esi]
call fcn.00403540
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x411bfb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404239
xor ebx, ebx
cmp dword [0x42abbc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x411cd1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x411db1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x411db1
push eax
call fcn.004041cb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42abbc], eax
call esi
push eax
call fcn.004041cb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42abc0], eax
call esi
push eax
call fcn.004041cb
mov dword [0x42abc4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404a80
test eax, eax
pop ecx
pop ecx
je 0x411c9f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040543f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x411cd1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004041cb
cmp eax, ebx
pop ecx
mov dword [0x42abcc], eax
je 0x411cd1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004041cb
pop ecx
mov dword [0x42abc8], eax
mov eax, dword [0x42abc8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x411d56
cmp dword [0x42abcc], ecx
je 0x411d56
push eax
call fcn.00404242
push dword [0x42abcc]
mov esi, eax
call fcn.00404242
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x411d56
cmp edi, ebx
je 0x411d56
call esi
cmp eax, ebx
je 0x411d23
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411d23
test byte [ebp - 0x18], 1
jne 0x411d56
lea eax, [ebp - 0x10]
push eax
call fcn.00404b2f
test eax, eax
pop ecx
je 0x411d3e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040543f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x411d4d
or dword [ebp + 0x10], 0x200000
jmp 0x411d91
or dword [ebp + 0x10], 0x40000
jmp 0x411d91
mov eax, dword [0x42abc0]
cmp eax, dword [ebp - 8]
je 0x411d91
push eax
call fcn.00404242
cmp eax, ebx
pop ecx
je 0x411d91
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x411d91
mov eax, dword [0x42abc4]
cmp eax, dword [ebp - 8]
je 0x411d91
push eax
call fcn.00404242
cmp eax, ebx
pop ecx
je 0x411d91
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42abbc]
call fcn.00404242
cmp eax, ebx
pop ecx
je 0x411db1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411db3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41cd32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 8], eax
call fcn.0041cb08
insb byte es:[edi], dx
jecxz 0x41cd3e
cmpsd dword [esi], dword es:[edi]
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x41cd62
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x41cd5c
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x41cd4d
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
faddp st(6)
inc ebp
mov cl, 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0041cb08
insd dword es:[edi], dx
movsd dword es:[edi], dword [esi]
add ch, byte [0x50a8458d]
call fcn.0041cb18
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041cacd
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41cdf6
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041cb08
invalid

Function at 0x41d378
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, 0x56fffffc
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
call fcn.0041cb18
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041cacd
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
invalid
invalid
Function at 0x41b769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41f190
cmp edx, dword [eax]
je 0x41b78b
add eax, 8
inc ecx
cmp eax, 0x41f220
jl 0x41b77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41f190]
jne 0x41b8b9
mov eax, dword [0x41fbb0]
cmp eax, 1
je 0x41b893
test eax, eax
jne 0x41b7bc
cmp dword [0x41f0e4], 1
je 0x41b893
cmp edx, 0xfc
je 0x41b8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041c670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41e45c
push edi
call fcn.0041cf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041c670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041c680
lea eax, [ebp - 0xa0]
push 0x41e43c
push eax
call fcn.0041c680
push dword [esi + 0x41f194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041ce75
add esp, 0x2c
pop edi
jmp 0x41b8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x41f194]
push 0
push eax
push dword [esi]
call fcn.0041c490
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219