joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4036b0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040ea60
mov eax, dword [0x2c73be4]
mov ecx, dword [0x2c73b58]
shr eax, 3
test eax, eax
jbe 0x4037eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403700
cmp dword [0x2c73be4], 0x959
jne 0x4037cd
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d88
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402da8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402dec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402df4
push 0x402e0c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004034e0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x4061bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x519aa8]
jne 0x4061c5
repz ret
jmp fcn.0040a7bc

Function at 0x40ce8b
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.00407b1e
and dword [ebp - 4], 0
cmp dword [0x51d0d8], 0
mov ebx, eax
jne 0x40cf3c
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40cfed
push eax
call fcn.00407aac
mov dword [esp], 0x402c78
push edi
mov dword [0x51d0d8], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c64
push edi
mov dword [0x51d0dc], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c48
push edi
mov dword [0x51d0e0], eax
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x51d0e8], eax
test eax, eax
je 0x40cf3c
push 0x402c30
push edi
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x51d0e4], eax
mov eax, dword [0x51d0e4]
cmp eax, ebx
je 0x40cf94
cmp dword [0x51d0e8], ebx
je 0x40cf94
push eax
call fcn.00407b27
push dword [0x51d0e8]
mov esi, eax
call fcn.00407b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf94
test edi, edi
je 0x40cf94
call esi
test eax, eax
je 0x40cf8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf8b
test byte [ebp - 0xc], 1
jne 0x40cf94
or dword [ebp + 0x10], 0x200000
jmp 0x40cfcd
mov eax, dword [0x51d0dc]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cfcd
mov eax, dword [0x51d0e0]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51d0d8]
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4065d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d448]
jne 0x4065df
repz ret
jmp fcn.004085cb

Function at 0x407be3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d448]
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.004052df
and dword [ebp - 0x14], 0
cmp dword [0x42d9f0], 0
mov dword [ebp - 0x18], eax
jne 0x407c96
push 0x4021a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407d3e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402194
push ebx
call edi
test eax, eax
je 0x407d3e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402184
push ebx
mov dword [0x42d9f0], eax
call edi
push eax
call esi
push 0x402170
push ebx
mov dword [0x42d9f4], eax
call edi
push eax
call esi
push 0x402154
push ebx
mov dword [0x42d9f8], eax
call edi
push eax
call esi
mov dword [0x42da00], eax
test eax, eax
je 0x407c96
push 0x40213c
push ebx
call edi
push eax
call esi
mov dword [0x42d9fc], eax
mov eax, dword [0x42d9fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407cef
cmp dword [0x42da00], ecx
je 0x407cef
push eax
call esi
push dword [0x42da00]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407cef
test ebx, ebx
je 0x407cef
call edi
test eax, eax
je 0x407ce6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407ce6
test byte [ebp - 8], 1
jne 0x407cef
or dword [ebp + 0x10], 0x200000
jmp 0x407d22
mov eax, dword [0x42d9f4]
cmp eax, dword [ebp - 0x18]
je 0x407d22
push eax
call esi
test eax, eax
je 0x407d22
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407d22
mov eax, dword [0x42d9f8]
cmp eax, dword [ebp - 0x18]
je 0x407d22
push eax
call esi
test eax, eax
je 0x407d22
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42d9f0]
call esi
test eax, eax
je 0x407d3e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407d40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065d5
leave
ret
Function at 0x409ec0
Capabilities:
Copy file
Get uefi variable

Disassembly:
sub esp, 0x934
cmp dword [0x4a9560], 0x37
jne 0x409f45
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push 0x402a58
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
lea ecx, [esp + 0x138]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea edx, [esp]
push edx
push 0
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push 0
lea ecx, [esp + 0x538]
push ecx
push 0x402a6c
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x4a9564]
mov ecx, dword [0x4a8c44]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x934
ret
Function at 0x569a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x204000
lea edi, [esi - 0x113000]
push edi
jmp 0x569a8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x569a91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x569a80
mov eax, 1
add ebx, ebx
jne 0x569aa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x569ab4
jne 0x569ad3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x569ad3
dec eax
add ebx, ebx
jne 0x569ac0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x569a98
add ebx, ebx
jne 0x569acf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x569b25
xor ecx, ecx
sub eax, 3
jb 0x569aeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x569b5a
sar eax, 1
mov ebp, eax
jmp 0x569af6
add ebx, ebx
jne 0x569af6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x569ac4
inc ecx
add ebx, ebx
jne 0x569b04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x569ac4
add ebx, ebx
jne 0x569b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x569b06
jne 0x569b22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x569b06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x569b44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x569b36
jmp 0x569a86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x569b44
add edi, ecx
jmp 0x569a86
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x569b62
cmp byte [edi], 0x11
jne 0x569b62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x569b67
lea edi, [esi + 0x162000]
mov eax, dword [edi]
or eax, eax
je 0x569bdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1face8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fae64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x569b94
mov ecx, edi
jns 0x569bc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fae68]
or eax, eax
je 0x569bd9
mov dword [ebx], eax
add ebx, 4
jmp 0x569bb1
call dword [esi + 0x1fae78]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x569c10
cmp al, 0xef
ja 0x569c03
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x569be5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x569bf2
mov ebp, dword [esi + 0x1fae6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x569c44
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x42e006
Capabilities:
Encode data using xor

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

Function at 0x7ffe53dc
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
pushf
popf
inc esi
dec esi
pushf
popf
inc esi
dec esi
push bx
inc esp
inc esp
add al, 0
add al, 4
sub al, 4
push es
pop ds
push bx
inc esp
inc esp
push eax
pop eax
pushf
popf
inc esi
dec esi
xor eax, ecx
xor eax, ecx
push eax
pop eax
add al, 4
sub al, 4
push es
pop ds
pushf
popf
add al, 0
push bx
inc esp
inc esp
add al, 0
not eax
not eax
push es
pop ds
pushf
popf
push eax
pop eax
pushf
popf
call 0x7ffe5433
pop edx
add al, 0
stc
and al, 0xff
xor dx, dx
cld
add edx, 0xd5e0
xor ecx, ecx
clc
mov cl, 0x1e
add al, 4
sub al, 4
xor byte [ecx + edx], 3
loop 0x7ffe544c
clc
inc esi
dec esi
push dword fs:[0x24]
push eax
pop eax
stc
add al, 0
pop dword [edx + 0xa]
pushf
popf
push es
pop ds
and al, 0xff
mov cl, 0xff
and al, 0xff
push edx
loop 0x7ffe5470
not eax
not eax
push es
pop ds
mov dword [edx + 0x11], 0xffffacbb
push eax
pop eax
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
add al, 0
xor eax, ecx
xor eax, ecx
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
pushal
inc eax
popal
push 0
add al, 4
sub al, 4
cld
push es
pop ds
push 0
stc
and al, 0xff
push 0
and al, 0xff
lea esp, [esp]
push 0
and al, 0xff
stc
push 0x30
push 0x20
and al, 0xff
pushf
popf
add al, 0
push 0
not eax
not eax
push 0
add edx, 0xffff7f33
inc esi
dec esi
push edx
stc
and al, 0xff
push edx
xor eax, ecx
xor eax, ecx
add al, 0
and al, 0xff
push 0
inc esi
dec esi
push bx
inc esp
inc esp
stc
call dword [edx + 0x8210]
push bx
inc esp
inc esp
push eax
pop eax
push es
pop ds
add esp, 0x3f8
push eax
pop eax
push bx
inc esp
inc esp
xor eax, eax
and al, 0xff
push eax
pop eax
inc eax
push eax
pop eax
pushal
inc eax
popal
ret 0xc
Function at 0x40a91b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41db90]
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.00405b46
and dword [ebp - 0x14], 0
cmp dword [0x43da40], 0
mov dword [ebp - 0x18], eax
jne 0x40a9ce
push 0x40247c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aa76
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402470
push ebx
call edi
test eax, eax
je 0x40aa76
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402460
push ebx
mov dword [0x43da40], eax
call edi
push eax
call esi
push 0x40244c
push ebx
mov dword [0x43da44], eax
call edi
push eax
call esi
push 0x402430
push ebx
mov dword [0x43da48], eax
call edi
push eax
call esi
mov dword [0x43da50], eax
test eax, eax
je 0x40a9ce
push 0x402418
push ebx
call edi
push eax
call esi
mov dword [0x43da4c], eax
mov eax, dword [0x43da4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa27
cmp dword [0x43da50], ecx
je 0x40aa27
push eax
call esi
push dword [0x43da50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa27
test ebx, ebx
je 0x40aa27
call edi
test eax, eax
je 0x40aa1e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa1e
test byte [ebp - 8], 1
jne 0x40aa27
or dword [ebp + 0x10], 0x200000
jmp 0x40aa5a
mov eax, dword [0x43da44]
cmp eax, dword [ebp - 0x18]
je 0x40aa5a
push eax
call esi
test eax, eax
je 0x40aa5a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aa5a
mov eax, dword [0x43da48]
cmp eax, dword [ebp - 0x18]
je 0x40aa5a
push eax
call esi
test eax, eax
je 0x40aa5a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43da40]
call esi
test eax, eax
je 0x40aa76
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aa78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ac95
leave
ret

Function at 0x40ac95
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41db90]
jne 0x40ac9f
repz ret
jmp fcn.00413cb4
Function at 0x41b060
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b675a4], 0x37
jne 0x41b0c8
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x4035d8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b679b8]
mov eax, dword [0x2b67088]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x403850
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x49e414]
mov ecx, dword [0x474e84]
shr eax, 3
sub esp, 0x808
test eax, eax
je 0x4038ed
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x49e414], 0x5d
jne 0x4038d4
push 0x4030d4
push 0
push 0x403108
push 0x40314c
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0x403174
call ebx
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
call esi
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004033b0
add dword [esp + 0x10], 8
dec dword [esp + 0x14]
jne 0x403890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x4041e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
cmp dword [0x49e414], 0xc
jne 0x40422c
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp]
call fcn.0040428a
lea ecx, [esp]
call fcn.004042c6
push 0
push 0
call fcn.004044fb
add esp, 8
mov eax, dword [0x452394]
push 0x495e70
mov dword [0x49e414], eax
mov dword [0x495e70], 0x73006d
mov dword [0x495e74], 0x6d0069
mov dword [0x495e78], 0x330067
mov dword [0x495e7c], 0x2e0032
mov dword [0x495e80], 0x6c0064
mov dword [0x495e84], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.00403900
xor eax, eax
add esp, 0xc
ret 0x10

Function at 0x40730c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4425c8]
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.0040683a
and dword [ebp - 0x14], 0
cmp dword [0x452e7c], 0
mov dword [ebp - 0x18], eax
jne 0x4073bf
push 0x401d60
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407467
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d54
push ebx
call edi
test eax, eax
je 0x407467
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401d44
push ebx
mov dword [0x452e7c], eax
call edi
push eax
call esi
push 0x401d30
push ebx
mov dword [0x452e80], eax
call edi
push eax
call esi
push 0x401d14
push ebx
mov dword [0x452e84], eax
call edi
push eax
call esi
mov dword [0x452e8c], eax
test eax, eax
je 0x4073bf
push 0x401cfc
push ebx
call edi
push eax
call esi
mov dword [0x452e88], eax
mov eax, dword [0x452e88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407418
cmp dword [0x452e8c], ecx
je 0x407418
push eax
call esi
push dword [0x452e8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407418
test ebx, ebx
je 0x407418
call edi
test eax, eax
je 0x40740f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40740f
test byte [ebp - 8], 1
jne 0x407418
or dword [ebp + 0x10], 0x200000
jmp 0x40744b
mov eax, dword [0x452e80]
cmp eax, dword [ebp - 0x18]
je 0x40744b
push eax
call esi
test eax, eax
je 0x40744b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40744b
mov eax, dword [0x452e84]
cmp eax, dword [ebp - 0x18]
je 0x40744b
push eax
call esi
test eax, eax
je 0x40744b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x452e7c]
call esi
test eax, eax
je 0x407467
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407469
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407677
leave
ret

Function at 0x407677
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4425c8]
jne 0x407681
repz ret
jmp fcn.00409525
Function at 0x403693
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.00402571
and dword [ebp - 4], 0
cmp dword [0x40be68], 0
mov ebx, eax
jne 0x403744
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4037f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4037f5
push eax
call fcn.004024ff
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40be68], eax
call esi
push eax
call fcn.004024ff
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40be6c], eax
call esi
push eax
call fcn.004024ff
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40be70], eax
call esi
push eax
call fcn.004024ff
pop ecx
mov dword [0x40be78], eax
test eax, eax
je 0x403744
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ff
pop ecx
mov dword [0x40be74], eax
mov eax, dword [0x40be74]
cmp eax, ebx
je 0x40379c
cmp dword [0x40be78], ebx
je 0x40379c
push eax
call fcn.0040257a
push dword [0x40be78]
mov esi, eax
call fcn.0040257a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40379c
test edi, edi
je 0x40379c
call esi
test eax, eax
je 0x403793
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403793
test byte [ebp - 0xc], 1
jne 0x40379c
or dword [ebp + 0x10], 0x200000
jmp 0x4037d5
mov eax, dword [0x40be6c]
cmp eax, ebx
je 0x4037d5
push eax
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4037d5
mov eax, dword [0x40be70]
cmp eax, ebx
je 0x4037d5
push eax
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40be68]
call fcn.0040257a
pop ecx
test eax, eax
je 0x4037f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4037f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414470
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4144e8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4144c1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4144c1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4144d3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x41448b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret