joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea7d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4114b0
call fcn.0040ec9c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40eabd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40eabd
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40ead5
cmp eax, 0x20b
je 0x40eac2
mov dword [ebp - 0x1c], ebx
jmp 0x40eae9
cmp dword [ecx + 0x84], 0xe
jbe 0x40eabd
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x40eae3
cmp dword [ecx + 0x74], 0xe
jbe 0x40eabd
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x432550], 0xffffffff
or dword [0x432554], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x432508]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x432504]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x43254c], eax
call fcn.0040ee30
call fcn.0040eed0
cmp dword [0x41316c], ebx
jne 0x40eb49
push fcn.0040eed0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0040eebe
push 0x413020
push 0x41301c
call sub.MSVCR71.dll__initterm
push 0x40ee74
call fcn.0040ea6b
mov eax, dword [0x432500]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4324fc]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x40eb9d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x413018
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40ec1b
cmp al, bl
je 0x40ebc7
cmp dword [ebp - 0x20], ebx
jne 0x40ec1b
mov al, byte [esi]
cmp al, bl
je 0x40ebd7
cmp al, 0x20
ja 0x40ebd7
inc esi
mov dword [ebp - 0x24], esi
jmp 0x40ebc7
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x40ebf3
movzx eax, word [ebp - 0x54]
jmp 0x40ebf6
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.0040f006
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40ec13
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x40ec70
cmp al, 0x22
jne 0x40ec2a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x40ec3d
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x40ebb5
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040ecd7
ret
Function at 0x100137df
Capabilities:
Generate random numbers via winapi

Disassembly:
call fcn.100b0a27
sub byte [eax], al
add byte [eax - 0x64846fe], al
sub esp, dword [ebx + 0x14]
xchg esp, eax
or esi, dword [ebp + 0xd508a03]
sbb eax, 0x6e64b0a0
dec ebx
jae 0x1001385c
dec edi
lds esi, [edx - 0x7b1f398d]
out dx, al
out dx, eax
ljmp 0xfdb3
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x10120740], 1
je 0x10013871
mov esi, 0x8000ffff
jmp 0x10013899
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x10120730]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100138be
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.1005aa5d
mov esi, eax
test esi, esi
jge 0x100138be
mov eax, dword [0x1011faf4]
cmp eax, 0x1011faf4
je 0x100138be
test byte [eax + 0x3c], 2
je 0x100138be
push esi
push 0x100034d8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.1005aa5d
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1005aa5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1005aa6c
pop dword [ebp - 0x10]
mov eax, 0x575c4067
add eax, 0xb8a96a05
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x559c5
push 0
mov eax, 0x453ba597
sub eax, 0x353b94d3
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x3dcf
mov ebx, eax
mov esi, 0x10137800
add esi, dword [ebp - 0x10]
mov edi, 0x236c185
add edi, 0x11475557
sub dword [ebp - 4], 0xe4699441
mov edx, dword [esi]
xor dword [ebp - 0xc], 0x3f18eb38
xor edx, edi
mov dword [ebx], edx
add dword [ebp - 4], 0xcfa871b7
add ebx, 0x3211556
add ebx, 0xfcdeeaae
add esi, 0xa58e793c
sub esi, 0xa58e7938
loop 0x1005aabf
add eax, 0xea0f
xor ebx, ebx
add ebx, eax
add eax, 0xca768a29
sub eax, 0xca768a24
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, edi
je 0x40105c
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
mov esi, 0xf01ff
push 1
push 2
push 0x110
push esi
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x40105c
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, edi
je 0x40105c
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4010da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x40a020]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, 0x40aeb0
jl 0x401109
push dword [eax + 4]
push esi
call fcn.00401910
pop ecx
pop ecx
mov edi, 0x40ae78
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1f4
lea eax, [ebp - 0x1fc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.WinUpdate
mov ebx, 0x40ac80
push ebx
call fcn.00401910
push esi
push 0x40816c
call fcn.004018b9
add esp, 0x10
test eax, eax
je 0x401181
push esi
push 0x408168
call fcn.004018b9
pop ecx
pop ecx
test eax, eax
je 0x401181
push 0
push 0
push 0x4010c7
call fcn.0040166b
add esp, 0xc
push 0x40a004
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x401190
lea eax, [ebp - 0x1fc]
push ebx
push eax
call fcn.00401000
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401a08
leave
ret

Function at 0x401a08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a020]
jne 0x401a12
repz ret
jmp fcn.00403d57
Function at 0x404631
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.00401c0e
and dword [ebp - 4], 0
cmp dword [0x40bc08], 0
mov ebx, eax
jne 0x4046e2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404793
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404793
push eax
call fcn.00401b9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40bc08], eax
call esi
push eax
call fcn.00401b9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40bc0c], eax
call esi
push eax
call fcn.00401b9c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40bc10], eax
call esi
push eax
call fcn.00401b9c
pop ecx
mov dword [0x40bc18], eax
test eax, eax
je 0x4046e2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401b9c
pop ecx
mov dword [0x40bc14], eax
mov eax, dword [0x40bc14]
cmp eax, ebx
je 0x40473a
cmp dword [0x40bc18], ebx
je 0x40473a
push eax
call fcn.00401c17
push dword [0x40bc18]
mov esi, eax
call fcn.00401c17
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40473a
test edi, edi
je 0x40473a
call esi
test eax, eax
je 0x404731
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404731
test byte [ebp - 0xc], 1
jne 0x40473a
or dword [ebp + 0x10], 0x200000
jmp 0x404773
mov eax, dword [0x40bc0c]
cmp eax, ebx
je 0x404773
push eax
call fcn.00401c17
pop ecx
test eax, eax
je 0x404773
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404773
mov eax, dword [0x40bc10]
cmp eax, ebx
je 0x404773
push eax
call fcn.00401c17
pop ecx
test eax, eax
je 0x404773
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40bc08]
call fcn.00401c17
pop ecx
test eax, eax
je 0x404793
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404795
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1115443
Capabilities:
Check for software breakpoints

Disassembly:
dec edx
jmp 0x1117315
push ebp
mov ebp, esp
neg ax
bts dx, bx
add ch, 0xcb
sub esp, 0x50
push ebx
push esi
btc esi, 0x5d
movsx ecx, di
rdtsc
push edi
cmp esp, 0xf457406
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x38]
rcr ax, 0x36
mov eax, dword [edi + 0x10]
setae bh
bsf dx, si
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x20], eax
sal ah, 0x31
mov eax, dword [edi + 0x40]
mov ebx, dword [edi + 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x44]
sbb si, 0x6ce3
bt si, si
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
xor ax, bp
neg ecx
mov ecx, dword [edi + 8]
cwde
test bx, bp
bt eax, edx
mov dword [ebp - 0x2c], edx
bts eax, ebx
mov edx, 1
shl eax, 0x7a
shl edx, cl
mov ecx, dword [edi + 4]
rcl eax, cl
btc ax, sp
add eax, eax
mov eax, 1
stc
shl eax, cl
mov ecx, dword [edi + 0x14]
jmp 0xbc5502
mov dword [ebp - 0x34], ecx
cmovs cx, cx
mov cl, 0x39
mov ecx, dword [edi + 0x24]
dec eax
cmp ebx, 0x44dd3246
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
cmp dx, bx
test edx, 0x19f3484b
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
not eax
xor ax, 0x5aa3
mov eax, dword [edi + 0x2c]
test bx, si
test ebx, 0x2c993321
mov dword [ebp - 0x10], eax
sbb eax, edi
mov eax, dword [edi + 0x18]
test al, 0xa8
test edx, eax
cmc
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x30]
test ebx, edi
mov dword [ebp - 4], eax
bt eax, 0x4d
mov eax, dword [edi + 0x1c]
cmc
clc
mov dword [ebp - 0x14], ebx
test dx, 0x5e48
mov dword [ebp - 0x50], edx
stc
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], 0
shl cl, cl
rcr cx, 0xd8

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

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x401230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.Config
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0x558aac
mov ecx, dword [ebp - 4]
add ecx, 0x628
push ecx
call fcn.00488dd2
add esp, 0x10
mov edx, dword [ebp - 4]
add edx, 0x628
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40127f
mov eax, dword [ebp - 4]
add eax, 0x628
push eax
call fcn.0040cd80
add esp, 4
push 0x558ab8
mov ecx, dword [ebp - 4]
add ecx, 0x628
push ecx
call fcn.00488ed2
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4012a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5be094]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x214]
add eax, 0x10
push eax
push str._sUseData_
lea ecx, [ebp - 0x210]
push ecx
call fcn.00488dd2
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4012f7
lea eax, [ebp - 0x210]
push eax
call fcn.0040cd80
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
push str._sUseData.ini
mov edx, dword [ebp - 0x214]
add edx, 0x420
push edx
call fcn.00488dd2
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488ec3
mov esp, ebp
pop ebp
ret

Function at 0x4013b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5be094]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00488f20
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x401421
cmp dword [ebp - 0x120], 0
je 0x401411
cmp dword [ebp - 0x120], 1
jne 0x401421
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x401421
mov eax, 1
jmp 0x401423
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488ec3
mov esp, ebp
pop ebp
ret
Function at 0x401b70
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x1a
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x558cc0
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.00488ed2
add esp, 8
push 0x558cc4
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
call fcn.00488ed2
add esp, 8
push 0x558cd4
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call fcn.00488ed2
add esp, 8
push 0x558cd8
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.00488ed2
add esp, 8
push 0x558ce4
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
call fcn.00488ed2
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401c0e
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.0040cd80
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x402ec0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x5590a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x402ee6
xor eax, eax
jmp 0x402fac
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.IsWow64Process
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x559100
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x402f77
xor eax, eax
jmp 0x402fac
push 0x559158
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403370
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfac
mov eax, dword [0x5be094]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xfac], ecx
push 0x7d0
lea eax, [ebp - 0xfa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x559228
lea ecx, [ebp - 0xfa8]
push ecx
call fcn.00488ed2
add esp, 8
lea edx, [ebp - 0xfa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4033c4
xor eax, eax
jmp 0x4033c9
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488ec3
mov esp, ebp
pop ebp
ret
Function at 0x403910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54aab7
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x5be094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb90], ecx
push 0x104
lea eax, [ebp - 0x62c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x62c]
push ecx
call fcn.004456d0
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x93c], ax
push 0x206
push 0
lea ecx, [ebp - 0x93a]
push ecx
call fcn.00488f20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00488f20
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push 0x559344
lea edx, [ebp - 0x93c]
push edx
call fcn.00488dd2
add esp, 0xc
lea eax, [ebp - 0x93c]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x559360
push 0x559368
push 0x55937c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0xb4c], dx
push 0x206
push 0
lea eax, [ebp - 0xb4a]
push eax
call fcn.00488f20
add esp, 0xc
mov byte [ebp - 0x734], 0
push 0x103
push 0
lea ecx, [ebp - 0x733]
push ecx
call fcn.00488f20
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x55938c
push 0x559394
push 0x55939c
push 0x5593b0
lea eax, [ebp - 0xb4c]
push eax
call fcn.00488dd2
add esp, 0x18
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0xb4c]
push edx
call fcn.0040cee0
add esp, 8
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00488f20
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.00466e37
add esp, 4
mov dword [ebp - 0xb54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb54], 0
je 0x403ac2
mov ecx, dword [ebp - 0xb54]
call fcn.00406290
mov dword [ebp - 0xb94], eax
jmp 0x403acc
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [ebp - 0xb50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x403afb
xor eax, eax
jmp 0x403ba8
push 0x5593d0
lea ecx, [ebp - 0x62c]
push ecx
push 0x5593f0
lea edx, [ebp - 0x424]
push edx
call fcn.00488dd2
add esp, 0x10
push 0x5593fc
lea ecx, [ebp - 0xb70]
call fcn.004075e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004024d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb8c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00405fd0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8c]
call fcn.00402510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb70]
call fcn.00407660
cmp dword [ebp - 0x10], 0
jne 0x403b8f
xor eax, eax
jmp 0x403ba8
lea eax, [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488ec3
mov esp, ebp
pop ebp
ret
Function at 0x403bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ab03
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x5be094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb90], ecx
push 0x104
lea eax, [ebp - 0x62c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x62c]
push ecx
call fcn.004456d0
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x93c], ax
push 0x206
push 0
lea ecx, [ebp - 0x93a]
push ecx
call fcn.00488f20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00488f20
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push 0x559410
lea edx, [ebp - 0x93c]
push edx
call fcn.00488dd2
add esp, 0xc
lea eax, [ebp - 0x93c]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x55942c
push 0x559434
push 0x559448
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0xb4c], dx
push 0x206
push 0
lea eax, [ebp - 0xb4a]
push eax
call fcn.00488f20
add esp, 0xc
mov byte [ebp - 0x734], 0
push 0x103
push 0
lea ecx, [ebp - 0x733]
push ecx
call fcn.00488f20
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x559458
push 0x559460
push 0x559468
push 0x55947c
lea eax, [ebp - 0xb4c]
push eax
call fcn.00488dd2
add esp, 0x18
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0xb4c]
push edx
call fcn.0040cee0
add esp, 8
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00488f20
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.00466e37
add esp, 4
mov dword [ebp - 0xb54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb54], 0
je 0x403d82
mov ecx, dword [ebp - 0xb54]
call fcn.00406290
mov dword [ebp - 0xb94], eax
jmp 0x403d8c
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [ebp - 0xb50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x403dbb
xor eax, eax
jmp 0x403e68
push 0x559494
lea ecx, [ebp - 0x62c]
push ecx
push 0x5594b4
lea edx, [ebp - 0x424]
push edx
call fcn.00488dd2
add esp, 0x10
push 0x5594c0
lea ecx, [ebp - 0xb70]
call fcn.004075e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004024d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb8c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00405fd0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8c]
call fcn.00402510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb70]
call fcn.00407660
cmp dword [ebp - 0x10], 0
jne 0x403e4f
xor eax, eax
jmp 0x403e68
lea eax, [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488ec3
mov esp, ebp
pop ebp
ret