joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40702c
Capabilities:
Read .ini file

Disassembly:
jmp 0x5813c0
sub esp, 0x100
push 0xff
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push 0x5c
push ecx
call fcn.0060d5b0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x118]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5813f3
push esi
push edi
lea edi, [esp + 8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x581403
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x110]
push 0xff
mov ecx, eax
mov eax, dword [esp + 0x11c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x11c]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
add esp, 0x100
ret

Function at 0x40714e
Capabilities:
Read file on windows

Disassembly:
jmp 0x4256f0
sub esp, 0x48
mov eax, dword [0x7b4d44]
push esi
mov esi, ecx
movzx ecx, word [eax + 0x129]
push edi
push ecx
lea edx, [esp + 0x14]
push str.._data_aiconfig__d.dat
push edx
call fcn.0060a295
push 0x1c64
lea edi, [esi + 0xec]
push 0
push edi
call fcn.00609d70
push 0x644a5c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0060a24e
mov eax, dword [esp + 0x2c]
add esp, 0x24
test eax, eax
je 0x4257b2
push eax
push 1
push 0x1c64
push edi
call fcn.0060a958
mov edx, dword [esp + 0x18]
push edx
call fcn.00609f36
add esp, 0x14
call fcn.00402365
mov eax, dword [eax + 0x228]
imul eax, eax, 0x64
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jns 0x425780
fadd dword [0x6449c4]
fstp dword [esi + 0xe0]
call fcn.00402365
mov ecx, dword [eax + 0x22c]
imul ecx, ecx, 0x64
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
test ecx, ecx
jns 0x4257a6
fadd dword [0x6449c4]
pop edi
fstp dword [esi + 0xe8]
pop esi
add esp, 0x48
ret
mov ecx, esi
call fcn.00402a04
pop edi
pop esi
add esp, 0x48
ret
Function at 0x4079b4
Capabilities:
Print debug messages

Disassembly:
jmp 0x5c9460
jmp 0x5cf0b0
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x5c946f
xor eax, eax
ret 8
jmp 0x40e8b3
mov edx, dword [esp + 4]
fld dword [edx]
sub esp, 8
fld qword [0x64e790]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x5cf1b4
fldz
fcom dword [edx]
fnstsw ax
test ah, 0x41
je 0x5cf1b2
fld dword [edx + 8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x5cf1b4
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
je 0x5cf1b6
push esi
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x14]
fld dword [esi + 8]
fld qword [0x64cf00]
movzx eax, word [esp + 0x10]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fxch st(1)
fistp qword [esp + 4]
mov eax, dword [esp + 4]
push eax
fldcw word [esp + 0x14]
fld dword [esi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
fldcw word [esp + 0x18]
fld dword [edx + 8]
fdiv st(1)
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
push eax
fldcw word [esp + 0x1c]
fdivr dword [edx]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
fldcw word [esp + 0x20]
call fcn.00408d23
pop esi
add esp, 8
ret 8
fstp st(0)
fstp st(0)
push str._____________________________.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 8
ret 8

Function at 0x4079c8
Capabilities:
Write file on windows

Disassembly:
jmp 0x55d090
mov ecx, dword [0x7b4d44]
sub esp, 0x14
test ecx, ecx
je 0x55d124
push esi
call fcn.00402072
fld dword [0x7eb1b8]
mov edx, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x7b4d44]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push edx
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x55d123
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0x6060801
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x1c]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x407b30
Capabilities:
Read file on windows

Disassembly:
jmp 0x57a3b0
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x658338
push eax
mov esi, ecx
xor bl, bl
call fcn.0060a237
mov edi, eax
add esp, 8
test edi, edi
je 0x57a47d
push edi
push 0x118
lea ecx, [esi + 0x14]
push 1
push ecx
call fcn.0060a958
add esp, 0x10
cmp eax, 0x118
jne 0x57a44b
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
lea ecx, [eax + edx*2]
cmp dword [esi + 0x120], ecx
jne 0x57a44b
mov edx, dword [esi + 0x124]
push edx
call fcn.00608f1a
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x57a44b
push ebp
mov ebp, dword [esi + 0x124]
push edi
push ebp
push 1
push eax
call fcn.0060a958
add esp, 0x10
cmp ebp, eax
jne 0x57a44a
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
mov bl, 1
pop ebp
push edi
call fcn.00609f36
add esp, 4
test bl, bl
jne 0x57a46f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x57a46f
push eax
call fcn.0060a4fb
add esp, 4
mov dword [esi + 0x10], 0
pop edi
mov byte [esi + 0x128], bl
pop esi
mov al, bl
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4

Function at 0x4080df
Capabilities:
Read file on windows

Disassembly:
jmp 0x529750
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x529783
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x5297c8
cmp dword [esp + 0x10], 0x61208
jne 0x5297c8
push 0
lea edx, [esp + 0x10]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x5297d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esp + 0xc], 0xac
push esi
ja 0x5297c9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x408279
Capabilities:
Create directory

Disassembly:
jmp 0x58d410
sub esp, 0x20c
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x58d44e
push 0x7c9
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
add esp, 0xc
xor eax, eax
pop esi
add esp, 0x20c
ret
mov eax, dword [0x7e88c0]
mov dword [esp + 4], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x659518
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x58d444
cmp dword [esi + 0xc], 0
jne 0x58d4b5
push str.bdcap32.dll
mov ecx, esi
call fcn.00404e7b
test eax, eax
jns 0x58d499
push 0x7ca
jmp 0x58d42a
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
cmp dword [esi + 0xc], 0
je 0x58d578
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.004103ca
push 0
mov ecx, 0x7ebc78
call fcn.00404ac0
push eax
lea edx, [esp + 0xc]
push str._sScreenShot
push edx
call fcn.0060a295
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x58d50f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x58d50f
push 0x7cc
jmp 0x58d42a
push 0x104
lea ecx, [esp + 0x110]
push ecx
push 0x65976c
push str.Capture
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0041140a
lea eax, [esp + 0x10c]
push eax
push 0x7cd
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
mov ecx, dword [esp + 0x14]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [esp + 0x118]
push edx
push esi
call fcn.00407cfc
test eax, eax
js 0x58d444
mov eax, 1
pop esi
add esp, 0x20c
ret
Function at 0x408e9f
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x42fc60
mov eax, dword [esp + 4]
push 0
push eax
push 0x403b89
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x7a39fc], eax
ret 4

Function at 0x409827
Capabilities:
Write file on windows

Disassembly:
jmp 0x5242f0
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x52431f
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x520
lea edx, [edi + 0x524]
push edx
push esi
call ebx
test eax, eax
jne 0x52434f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xc0
add edi, 0xb04
push edi
push esi
call ebx
push esi
test eax, eax
je 0x524341
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x4099cb
Capabilities:
Get file size

Disassembly:
jmp 0x596450
mov eax, dword [esp + 0xc]
sub esp, 0x29c
cmp dword [0x7c8af0], 0
je 0x5964ac
mov ecx, dword [esp + 0x2a4]
mov edx, dword [esp + 0x2a0]
push eax
push ecx
push edx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x7c89f0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x7c89f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x5965dc
int3
mov ecx, dword [esp + 0x2a0]
lea edx, [esp + 0x114]
test eax, eax
je 0x5964d8
push eax
mov eax, dword [esp + 0x2a8]
push eax
push ecx
push str._s_line:_d__msg:_s_
push edx
call fcn.0060a295
add esp, 0x14
jmp 0x5964ef
mov eax, dword [esp + 0x2a4]
push eax
push ecx
push str._s_line:_d_
push edx
call fcn.0060a295
add esp, 0x10
push 0xff
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.00609d70
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0xa]
movzx eax, word [esp + 6]
movzx ecx, word [esp + 4]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str.._Log_Assert__4d_02d_02d.txt
push edx
call fcn.0060a295
add esp, 0x14
cmp dword [0x7c8e04], 0
jne 0x5965dc
push esi
push edi
push 0
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5965ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x1c]
push 0x659e38
push edx
call fcn.0060a237
mov esi, eax
add esp, 8
test esi, esi
je 0x5965da
call fcn.0040de40
push eax
lea eax, [esp + 0x120]
push eax
push str._stime:_s_n
push esi
call fcn.0060b581
push esi
call fcn.00609f36
add esp, 0x14
pop edi
pop esi
add esp, 0x29c
ret
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 8]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x596569
mov dword [0x7c8e04], 1
pop edi
pop esi
add esp, 0x29c
ret
Function at 0x409d86
Capabilities:
Write file on windows

Disassembly:
jmp 0x529800
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x529866
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x40a137
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
jmp 0x430000
sub esp, 0x358
push ebx
push ebp
push 0x104
lea eax, [esp + 0x260]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x25c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x430028
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x644e6c]
mov dword [eax], ecx
mov cl, byte [0x644e70]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x644e04
push edx
mov byte [eax + 8], cl
call fcn.0060a237
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x430079
push eax
call fcn.00609f36
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 0x358
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x160]
push eax
push 0x104
call edi
lea eax, [esp + 0x160]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x430098
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x644e58]
mov dword [eax], ecx
mov ecx, dword [0x644e5c]
mov dword [eax + 4], edx
mov edx, dword [0x644e60]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
jmp 0x4300e0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.0060b581
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.0060b581
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4300e0
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x430155
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.0060b581
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.0060b581
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430181
push ebx
call fcn.00609f36
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x358
ret
Function at 0x40a993
Capabilities:
Create directory

Disassembly:
jmp 0x55dfa0
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push esi
mov esi, ecx
test ebx, ebx
je 0x55e07b
push ebp
push edi
push 0
mov ecx, 0x7ebc78
call fcn.00404ac0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x7ebc78
call fcn.00404ac0
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x55e047
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7ebc78
call fcn.00404ac0
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040d198
test bl, 2
je 0x55e079
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7ebc78
call fcn.00404ac0
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004079c8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x104
ret 4
Function at 0x40b2f3
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x449590
sub esp, 0x128
push ebx
push esi
mov esi, dword [esp + 0x134]
xor ebx, ebx
cmp esi, ebx
je 0x449747
cmp byte [esi], bl
je 0x449747
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x449747
mov edx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x449602
mov dword [esp + 0x10], 0x64
push edi
xor edi, edi
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x14], ebx
jbe 0x44972c
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ebx, [ebx]
xor eax, eax
push edi
push str._04u
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], al
lea eax, [esp + 0x28]
push 5
push eax
call fcn.0040209f
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4496fc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x44969f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4496fc
push esi
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4496bc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4496fc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push str.Characteristics
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], 4
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x449723
mov esi, dword [esp + 0x13c]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x449620
mov edx, dword [esp + 0x14]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
add esp, 0x128
ret 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
pop ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
add esp, 0x128
ret 4
pop esi
xor eax, eax
pop ebx
add esp, 0x128
ret 4
Function at 0x40bbae
Capabilities:
Print debug messages

Disassembly:
jmp 0x5c23b0
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x5c23dd
mov ecx, esi
call fcn.004087dd
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x40d413
Capabilities:
Hide graphical window

Disassembly:
jmp 0x430200
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x7a5ea8
call fcn.0040318e
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x7a34dc], ebp
call ebx
mov edi, eax
push 7
add edi, edi
call ebx
mov esi, eax
push 4
add esi, esi
call ebx
lea ecx, [esi + eax]
mov esi, dword [0x7e2f84]
xor edx, edx
mov eax, esi
div dword [0x7e2510]
mov eax, dword [0x7e2514]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x43025d
cmp dword [edx], esi
je 0x4302a1
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x430252
push 0
push ebp
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push 0x80000000
push 0x2ca0000
push 0x7a34e0
push 0x7a36f8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x7a34c8], esi
test esi, esi
jne 0x4302bd
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x43025d
mov eax, dword [edx + 8]
push 0
push ebp
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x430272
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x7a3b44
call fcn.0040ebec
cmp dword [0x7b7288], 0
push 0
mov ecx, 0x7a3b44
push 0
jne 0x43030e
push 1
call fcn.0040aac4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.0040aac4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x40de63
Capabilities:
Write file on windows

Disassembly:
jmp 0x58de70
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x58dec3
mov eax, dword [esp + 8]
push 0x6597ec
push eax
call fcn.0060a237
mov esi, eax
add esp, 8
test esi, esi
je 0x58def9
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x58dea0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58dea0
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.0060a101
push esi
call fcn.00609f36
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x58def9
mov ecx, dword [esp + 8]
push 0x6597e8
push ecx
call fcn.0060a237
mov esi, eax
add esp, 8
test esi, esi
je 0x58def9
mov edx, dword [esp + 0xc]
push edx
push 0x6597e4
push esi
call fcn.0060b581
push esi
call fcn.00609f36
add esp, 0x10
xor eax, eax
pop esi
ret 0xc