joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e6d0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x54
push ebx
push esi
push edi
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
cmp eax, 0x80000000
jb 0x40e751
call esi
cmp al, 4
jae 0x40e751
push str.elmid32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x20
mov edi, eax
ja 0x40e713
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret
push str.MyDiskID
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e73d
mov ecx, dword [esp + 0x68]
push ecx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [esp + 0x1c], 0
push 0
call edi
mov dword [esp + 0x10], eax
add eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call edi
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40e798
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret
mov ebx, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp byte [ebx], 0
je 0x40e808
push ebx
call edi
cmp eax, 3
jne 0x40e7d8
lea eax, [esp + 0x44]
push 0x20
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
push eax
push 0x20
push ecx
push ebx
call ebp
cmp eax, 1
je 0x40e7e8
push 0
push ebx
call fcn.004140a0
add esp, 8
lea ebx, [eax + 1]
jmp 0x40e7a6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push eax
push str._08lx
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x24], 1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x18]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x40fbc0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push str.Cannot_process_negative_number___error_detected_in__s_n
push 0x423800
call fcn.00413c99
add esp, 0xc
push 1
call fcn.004147e7
nop
nop
fld qword [esp + 4]
fcomp qword [0x41f240]
fnstsw ax
test ah, 1
je 0x40fbff
push 0x422e34
call fcn.0040fbc0
add esp, 4
ret
fld qword [esp + 4]
fcomp qword [0x41f240]
push ebx
mov ebx, dword [esp + 0x10]
push edi
xor edi, edi
fnstsw ax
test ah, 0x41
jne 0x40fc5f
push esi
mov esi, ebx
fld qword [esp + 0x10]
fld qword [0x41f238]
call fcn.004148ca
call fcn.004137d8
fld qword [esp + 0x10]
fmul qword [0x41f230]
sub esp, 8
mov dword [esi], eax
inc edi
add esi, 4
fstp qword [esp]
call fcn.00413ade
fst qword [esp + 0x18]
fcomp qword [0x41f240]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x40fc1b
pop esi
mov dword [ebx + 0xa0], edi
pop edi
pop ebx
ret

Function at 0x40ffd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push str.Maximum_magnitude_exceeded___error_detected_in__s_n
push 0x423800
call fcn.00413c99
add esp, 0xc
push 1
call fcn.004147e7
nop
nop

Function at 0x410210
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jg 0x410232
push 0x423800
push str.Cannot_divide_by_zero_or_negative_n
call fcn.004148f2
add esp, 8
push 1
call fcn.004147e7
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor edx, edx
mov ebp, dword [ebx + 0xa0]
lea eax, [ebp - 1]
test eax, eax
jl 0x410281
push esi
mov esi, dword [esp + 0x20]
sub ebx, esi
lea ecx, [esi + eax*4]
inc eax
mov dword [esp + 0x14], eax
lea eax, [edx + edx*4]
mov edx, dword [ebx + ecx]
sub ecx, 4
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov eax, esi
cdq
idiv edi
mov dword [ecx + 4], eax
mov eax, esi
cdq
idiv edi
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x410256
pop esi
test ebp, ebp
jle 0x41029a
mov eax, dword [esp + 0x1c]
lea eax, [eax + ebp*4 - 4]
cmp dword [eax], 0
jne 0x41029a
dec ebp
sub eax, 4
test ebp, ebp
jg 0x41028d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xa0], ebp
pop ebp
pop ebx
mov dword [eax], edx
pop edi
ret
Function at 0x4102b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xa8
push ebp
mov ebp, dword [esp + 0xb8]
test ebp, ebp
push edi
jge 0x4102dc
push 0x423800
push str.In_shortprod__e_is_less_than_0_n
call fcn.004148f2
add esp, 8
push 1
call fcn.004147e7
mov edi, dword [esp + 0xb4]
push edi
call fcn.0040fb10
add esp, 4
test eax, eax
jne 0x4103b3
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4103b3
push ebx
mov ebx, dword [edi + 0xa0]
push esi
lea esi, [ebx + ebp]
mov dword [esp + 0x10], esi
lea eax, [esi + 1]
cmp eax, 0x28
jle 0x410327
push str.shortprod
call fcn.0040ffd0
add esp, 4
test ebp, ebp
jle 0x41033c
mov ecx, ebp
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xbc]
xor ecx, ecx
test ebx, ebx
jle 0x410381
mov esi, edi
lea edi, [esp + ebp*4 + 0x14]
mov edx, dword [esp + 0xc0]
mov ebp, 0x3e8
imul edx, dword [esi]
add ecx, edx
add esi, 4
mov eax, ecx
add edi, 4
cdq
idiv ebp
mov eax, 0x10624dd3
mov dword [edi - 4], edx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
dec ebx
mov ecx, edx
jne 0x410348
mov esi, dword [esp + 0x10]
mov eax, esi
pop esi
test ecx, ecx
pop ebx
jle 0x41038e
mov dword [esp + eax*4 + 0xc], ecx
inc eax
mov edx, dword [esp + 0xc0]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0xb4], eax
call fcn.0040fb30
add esp, 8
pop edi
pop ebp
add esp, 0xa8
ret
mov eax, dword [esp + 0xc0]
push eax
call fcn.0040fb00
add esp, 4
pop edi
pop ebp
add esp, 0xa8
ret
Function at 0x411040
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
cmp dword [esi + 0x4504], 0
je 0x41109e
mov ecx, dword [esp + 0x1c]
cmp esi, 0xffffbaf8
je 0x4110a2
test ecx, ecx
je 0x4110a2
lea eax, [esi + 0x4508]
mov dl, byte [eax]
cmp byte [ecx], dl
jne 0x4110a2
mov edi, ecx
mov dl, byte [eax]
cmp dl, byte [edi]
jne 0x411091
or dl, dl
je 0x41108d
mov dl, byte [eax + 1]
cmp dl, byte [edi + 1]
jne 0x411091
add eax, 2
add edi, 2
or dl, dl
jne 0x411071
xor eax, eax
jmp 0x411096
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4110a2
xor eax, eax
jmp 0x4110a7
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x4110bb
cmp dword [esi + 0x460c], edi
je 0x411160
test eax, eax
je 0x4110d4
push pe_nt_image_headers32
lea eax, [esi + 0x4508]
push ecx
push eax
call fcn.0040cec0
add esp, 0xc
mov ecx, 0xffffffff
sub eax, eax
mov dword [esi + 0x460c], edi
lea edi, [esi + 0x4508]
repne scasb al, byte es:[edi]
lea eax, [esp + 0xc]
xor edi, edi
not ecx
dec ecx
mov dword [eax], edi
mov dword [eax + 4], edi
test ecx, ecx
jle 0x41111a
lea eax, [edi + 2]
inc edi
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
mov dl, byte [edi + esi + 0x4507]
xor byte [esp + eax + 0xc], dl
cmp edi, ecx
jl 0x4110fb
xor eax, eax
lea ecx, [eax*8]
mov edx, dword [esi + 0x460c]
sar edx, cl
xor byte [esp + eax + 0xc], dl
inc eax
cmp eax, 4
jl 0x41111c
xor edi, edi
lea ecx, [esp + edi + 0xc]
xor eax, eax
mov al, byte [ecx]
mov ebx, 0xfb
inc edi
lea eax, [eax + eax*2]
cdq
idiv ebx
mov byte [ecx], dl
cmp edi, 8
jl 0x411137
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00412a50
add esp, 8
mov dword [esi + 0x4504], 1
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x412a50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [esp + 0x10]
push ebp
cmp dword [esi + 0x3cfc], ebx
jle 0x412ac4
lea ebp, [esi + 0x2bfc]
mov edi, dword [esp + 0x18]
push 8
push ebp
push edi
call fcn.00412e20
add esp, 0xc
test eax, eax
jne 0x412a8d
add ebp, 0x110
inc ebx
cmp dword [esi + 0x3cfc], ebx
jg 0x412a6c
jmp 0x412ac8
mov eax, ebx
shl eax, 4
add eax, ebx
shl eax, 4
lea edx, [eax + esi + 0x2c04]
pop ebp
mov dword [esi + 0x2bf0], edx
lea ecx, [eax + esi]
pop edi
lea eax, [ecx + 0x2c0c]
add ecx, 0x2c8c
mov dword [esi + 0x2bf4], eax
mov dword [esi + 0x2bf8], ecx
pop esi
pop ebx
ret
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x3cfc]
inc eax
mov dword [esi + 0x3cfc], eax
cmp eax, 0x10
jle 0x412ae4
mov dword [esi + 0x3cfc], 0x10
mov eax, dword [esi + 0x3cfc]
dec eax
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edi]
shl ecx, 4
add ecx, esi
lea edx, [ecx + 0x2bfc]
mov dword [edx], eax
lea eax, [ecx + 0x2c0c]
mov ebx, dword [edi + 4]
add ecx, 0x2c8c
mov dword [edx + 4], ebx
lea edx, [ecx - 0x88]
xor ebx, ebx
mov dword [esi + 0x2bf0], edx
mov dword [esi + 0x2bf4], eax
mov dword [esi + 0x2bf8], ecx
mov eax, dword [esi + 0x2bf0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, ebx
mov ebp, 3
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
mov cl, byte [edi + eax]
mov eax, ebx
cdq
idiv ebp
and cl, 0xfe
inc ebx
mov al, byte [edi + edx]
mov edx, dword [esi + 0x2bf0]
shr al, 1
xor cl, al
cmp ebx, 8
mov byte [edx + ebx - 1], cl
jl 0x412b38
push 0
mov eax, dword [esi + 0x2bf4]
push edi
push eax
call fcn.00412ce0
add esp, 0xc
mov eax, dword [esi + 0x2bf8]
push 1
push edi
push eax
call fcn.00412ce0
add esp, 0xc
cmp dword [esi + 0x3d00], 0
je 0x412bae
push esi
call fcn.00412bc0
mov dword [esi + 0x3d00], 0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x412bc0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x2c
xor eax, eax
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov dl, byte [ecx + 0x423450]
sub edx, eax
cmp edx, 1
je 0x412be2
inc ecx
cmp ecx, 0x20
jl 0x412bcb
jmp 0x412be6
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x412bc9
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add ecx, dword [esp + 0x10]
and edi, 1
shl edi, 4
mov dword [eax + ecx*4 + 0x3d04], 0
mov ecx, dword [esp + 0x10]
xor ebx, ebx
and ecx, 0x1e
shr ecx, 1
or edi, ecx
mov ecx, dword [esp + 0x10]
and ecx, 0x20
or edi, ecx
xor edx, edx
mov ecx, dword [esp + 0x14]
mov esi, 8
mov dl, byte [edi + ecx + 0x423470]
mov cl, bl
sar esi, cl
test esi, edx
je 0x412c72
mov edx, dword [esp + 0x14]
mov esi, 1
mov ebp, dword [esp + 0x18]
add ebp, ebx
add edx, dword [esp + 0x10]
mov cl, 0x1f
sub cl, byte [esp + ebp + 0x1c]
shl esi, cl
or dword [eax + edx*4 + 0x3d04], esi
inc ebx
cmp ebx, 4
jl 0x412c36
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x40
jl 0x412c02
add dword [esp + 0x18], 4
add dword [esp + 0x14], 0x40
cmp dword [esp + 0x14], 0x200
jl 0x412bfa
xor edi, edi
add eax, 0x3d04
mov edx, 8
mov esi, 0x40
mov ecx, dword [eax]
inc edi
mov ebx, ecx
add ecx, ecx
shr ebx, 0x1f
or ebx, ecx
cmp edi, 4
mov dword [eax], ebx
jne 0x412cc5
xor edi, edi
add eax, 4
dec esi
jne 0x412cb0
dec edx
jne 0x412cab
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x412ce0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x78
xor ecx, ecx
push ebx
push esi
push edi
push ebp
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx + 0x423670]
dec edx
mov esi, edx
and edx, 7
sar esi, 3
mov bl, byte [esi + eax]
and ebx, dword [edx*4 + 0x4236e8]
cmp ebx, 1
sbb dl, dl
inc ecx
inc dl
cmp ecx, 0x38
mov byte [esp + ecx + 0x17], dl
jl 0x412ced
xor esi, esi
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x10]
xor edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [esp + 0x94], 0
mov eax, esi
je 0x412d4a
mov eax, 0xf
sub eax, esi
xor edx, edx
cmp edi, 0x1c
mov dl, byte [eax + 0x4236a8]
lea eax, [edx + edi]
mov edx, 0x38
jge 0x412d64
mov edx, 0x1c
cmp edx, eax
jg 0x412d6b
sub eax, 0x1c
mov al, byte [esp + eax + 0x18]
inc edi
cmp edi, 0x38
mov byte [esp + edi + 0x4f], al
jl 0x412d37
xor edi, edi
xor eax, eax
mov al, byte [edi + 0x4236b8]
cmp byte [esp + eax + 0x4f], 0
je 0x412dae
mov ebx, 6
mov eax, edi
cdq
idiv ebx
mov ebp, 6
lea ebx, [esp + eax + 0x10]
mov eax, edi
cdq
idiv ebp
mov eax, dword [edx*4 + 0x4236e8]
sar eax, 2
or byte [ebx], al
inc edi
cmp edi, 0x30
jl 0x412d7b
xor eax, eax
xor edx, edx
mov al, byte [esp + 0x10]
mov dl, byte [esp + 0x14]
shl eax, 0x10
or eax, edx
xor edx, edx
shl eax, 8
mov dl, byte [esp + 0x12]
shl edx, 0x10
or eax, edx
xor edx, edx
mov dl, byte [esp + 0x16]
or eax, edx
xor edx, edx
mov dl, byte [esp + 0x15]
mov dword [ecx], eax
xor eax, eax
mov al, byte [esp + 0x11]
shl eax, 0x10
or eax, edx
xor edx, edx
shl eax, 8
mov dl, byte [esp + 0x13]
shl edx, 0x10
add ecx, 8
or eax, edx
inc esi
xor edx, edx
mov dl, byte [esp + 0x17]
or eax, edx
cmp esi, 0x10
mov dword [ecx - 4], eax
jl 0x412d24
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x78
ret

Function at 0x412e50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
cdq
push ebx
xor eax, edx
push esi
sub eax, edx
push edi
and eax, 0
push ebp
xor eax, edx
sub eax, edx
je 0x412e76
mov eax, 0xffffffe2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 0x2bf0]
cmp dword [esp + 0x30], ebx
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jle 0x412ef4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x2bf4]
push edx
push ebp
call fcn.00411fc0
add esp, 0xc
xor ecx, ecx
lea edx, [ebx + ecx]
inc ecx
mov al, byte [edx + esi]
xor al, byte [esp + ecx + 0x1e]
cmp ecx, 1
mov byte [edx + edi], al
jl 0x412ec3
mov ecx, 6
mov al, byte [esp + ecx + 0x10]
mov byte [esp + ecx + 0x11], al
dec ecx
jns 0x412edb
mov al, byte [edi + ebx]
inc ebx
mov byte [esp + 0x10], al
cmp ebx, dword [esp + 0x30]
jl 0x412e9e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x412f00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
cdq
push ebx
xor eax, edx
push esi
sub eax, edx
push edi
and eax, 0
push ebp
xor eax, edx
sub eax, edx
je 0x412f26
mov eax, 0xffffffce
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 0x2bf0]
cmp dword [esp + 0x30], ebx
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jle 0x412fa4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x2bf4]
push edx
push ebp
call fcn.00411fc0
add esp, 0xc
xor ecx, ecx
lea edx, [ebx + ecx]
inc ecx
mov al, byte [edx + esi]
xor al, byte [esp + ecx + 0x1e]
cmp ecx, 1
mov byte [edx + edi], al
jl 0x412f73
mov ecx, 6
mov al, byte [esp + ecx + 0x10]
mov byte [esp + ecx + 0x11], al
dec ecx
jns 0x412f8b
mov al, byte [esi + ebx]
inc ebx
mov byte [esp + 0x10], al
cmp ebx, dword [esp + 0x30]
jl 0x412f4e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x416105
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x423db0
cmp edx, dword [eax]
je 0x416127
add eax, 8
inc ecx
cmp eax, 0x423e40
jl 0x416118
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x423db0]
jne 0x416255
mov eax, dword [0x427bf4]
cmp eax, 1
je 0x41622f
test eax, eax
jne 0x416158
cmp dword [0x423a44], 1
je 0x41622f
cmp edx, 0xfc
je 0x416255
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41618f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00413200
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00413040
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4161d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00413040
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41f5dc
push edi
call fcn.00413f90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00413200
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00413210
lea eax, [ebp - 0xa0]
push 0x421374
push eax
call fcn.00413210
push dword [esi + 0x423db4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00413210
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041af80
add esp, 0x2c
pop edi
jmp 0x416255
lea eax, [ebp + 8]
lea esi, [esi + 0x423db4]
push 0
push eax
push dword [esi]
call fcn.00413040
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 0x41e074
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e094
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00418bc9
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41e0b5
test byte [esp + 8], 2
je 0x41e0b5
mov dword [0x427c60], 0xd
mov dword [0x427c64], 5
jmp 0x41e090
xor eax, eax
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x50b26b61
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7ff65e42
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405a19
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425dac]
jne 0x405a23
repz ret
jmp fcn.0040900c

Function at 0x40883c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402b72
and dword [ebp - 4], 0
cmp dword [0x42a65c], 0
mov ebx, eax
jne 0x4088ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40899e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40899e
push eax
call fcn.00402b00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a65c], eax
call esi
push eax
call fcn.00402b00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a660], eax
call esi
push eax
call fcn.00402b00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a664], eax
call esi
push eax
call fcn.00402b00
pop ecx
mov dword [0x42a66c], eax
test eax, eax
je 0x4088ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402b00
pop ecx
mov dword [0x42a668], eax
mov eax, dword [0x42a668]
cmp eax, ebx
je 0x408945
cmp dword [0x42a66c], ebx
je 0x408945
push eax
call fcn.00402b7b
push dword [0x42a66c]
mov esi, eax
call fcn.00402b7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408945
test edi, edi
je 0x408945
call esi
test eax, eax
je 0x40893c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40893c
test byte [ebp - 0xc], 1
jne 0x408945
or dword [ebp + 0x10], 0x200000
jmp 0x40897e
mov eax, dword [0x42a660]
cmp eax, ebx
je 0x40897e
push eax
call fcn.00402b7b
pop ecx
test eax, eax
je 0x40897e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40897e
mov eax, dword [0x42a664]
cmp eax, ebx
je 0x40897e
push eax
call fcn.00402b7b
pop ecx
test eax, eax
je 0x40897e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a65c]
call fcn.00402b7b
pop ecx
test eax, eax
je 0x40899e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4089a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b004]
jne 0x4010e8
repz ret
jmp fcn.004013c2

Function at 0x405e5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402b03
and dword [ebp - 0x14], 0
cmp dword [0x43d9d4], 0
mov dword [ebp - 0x18], eax
jne 0x405f0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405fb6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405fb6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43d9d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43d9d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43d9dc], eax
call edi
push eax
call esi
mov dword [0x43d9e4], eax
test eax, eax
je 0x405f0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43d9e0], eax
mov eax, dword [0x43d9e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405f67
cmp dword [0x43d9e4], ecx
je 0x405f67
push eax
call esi
push dword [0x43d9e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405f67
test ebx, ebx
je 0x405f67
call edi
test eax, eax
je 0x405f5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405f5e
test byte [ebp - 8], 1
jne 0x405f67
or dword [ebp + 0x10], 0x200000
jmp 0x405f9a
mov eax, dword [0x43d9d8]
cmp eax, dword [ebp - 0x18]
je 0x405f9a
push eax
call esi
test eax, eax
je 0x405f9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405f9a
mov eax, dword [0x43d9dc]
cmp eax, dword [ebp - 0x18]
je 0x405f9a
push eax
call esi
test eax, eax
je 0x405f9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43d9d4]
call esi
test eax, eax
je 0x405fb6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405fb8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010de
leave
ret
Function at 0x430eb0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push esi
xor esi, esi
mov dword [esp + 4], eax
test edi, edi
jle 0x430f4a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp edi, 0x2d
jne 0x430f05
push 0
push 0
call ebx
push str.supinigelugewa
push str.gafivatagelotogomawurorakeno
push str.woxilekedebivekahefilokapunutew
push str.zalofejeworurucigakabeyew
call ebp
call fcn.00430e00
mov ecx, dword [esp + 0xc]
xor byte [ecx + esi], al
cmp edi, 0xf
jne 0x430f43
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
inc esi
cmp esi, edi
jl 0x430ee4
pop ebp
pop ebx
pop esi
cmp edi, 0x2d
jne 0x430f64
mov dword [0x43e6c8], 0xa62e7790
mov dword [0x43e6cc], 0xffffffff
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004010de
add esp, 0x808
ret