joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ea0
Capabilities:
Create directory

Disassembly:
jmp 0x58b1e0
sub esp, 0x480
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x47c], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x58b23a
push 0x7c9
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 0x1d
push 0x7b3388
call fcn.004018f2
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.00606374
add esp, 0x480
ret
mov eax, dword [0x7e48a0]
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 0x655460
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x58b222
cmp dword [esi + 0xc], 0
jne 0x58b2a1
push str.bdcap32.dll
mov ecx, esi
call fcn.00404b15
test eax, eax
jns 0x58b285
push 0x7ca
jmp 0x58b208
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 0x58b3b1
lea ecx, [esp + 0x18]
call fcn.004084ef
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.0040feca
push 0
mov ecx, 0x7e7c58
call fcn.0040476e
push eax
lea edx, [esp + 0x27c]
push str._sScreenShot
push edx
call fcn.00606889
add esp, 0xc
push 0
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x58b30a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x58b30a
push 0x7cc
jmp 0x58b208
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x12]
push 0x65562c
push edx
movzx edx, word [esp + 0x18]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
push str.Capture
lea eax, [esp + 0x29c]
push eax
push str._s_s__d__02d__02d__02d__02d__02d__03d._s
lea ecx, [esp + 0x3a8]
push 0x104
push ecx
call fcn.00606929
add esp, 0x34
lea edx, [esp + 0x37c]
push edx
push 0x7cd
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 0x1d
push 0x7b3388
call fcn.004018f2
mov eax, dword [esp + 0x14]
add esp, 0x10
push eax
push 4
push 0
lea ecx, [esp + 0x388]
push ecx
push esi
call fcn.00407748
test eax, eax
js 0x58b222
mov ecx, dword [esp + 0x480]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00606374
add esp, 0x480
ret
Function at 0x40861b
Capabilities:
Write file on windows

Disassembly:
jmp 0x57c4b0
sub esp, 0x30
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x57c640
cmp byte [esi + 0x49], 0
je 0x57c640
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x57c4f5
xor al, al
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00606374
add esp, 0x30
ret
push ebx
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.0040f6a5
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.00408409
push ebp
lea ebx, [esi + 0x4c]
push edi
lea ecx, [esp + 0x20]
call fcn.00405ae2
cmp dword [esp + 0x34], 0x10
mov ebp, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x20]
jae 0x57c533
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040cc3e
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
add edi, ebp
push edi
push eax
push ebx
call edx
sub eax, 0
je 0x57c58d
dec eax
je 0x57c591
sub eax, 2
push 0
lea ecx, [esp + 0x24]
push 1
je 0x57c626
call fcn.0040f6a5
pop edi
pop ebp
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00606374
add esp, 0x30
ret
mov byte [esi + 0x49], 0
mov eax, dword [esp + 0x20]
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
jae 0x57c5a4
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040cc3e
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x10]
je 0x57c5f2
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x57c5cb
lea eax, [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0040cc3e
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 0x18]
push eax
push edi
push 1
push ecx
call fcn.006066f5
add esp, 0x10
cmp edi, eax
jne 0x57c611
cmp byte [esi + 0x49], 0
je 0x57c61e
test edi, edi
jne 0x57c515
push edi
push 8
lea ecx, [esp + 0x28]
call fcn.004069d8
jmp 0x57c515
push 0
push 1
lea ecx, [esp + 0x28]
jmp 0x57c573
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.0040f6a5
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00606374
add esp, 0x30
ret
mov ecx, dword [esp + 0x30]
pop esi
xor ecx, esp
mov al, 1
call fcn.00606374
add esp, 0x30
ret
Function at 0x40879c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x428440
sub esp, 0x4c
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0x54]
push ebp
push edi
mov edi, ecx
push eax
mov ecx, 0x7b0c90
mov dword [esp + 0x10], eax
call fcn.00401d89
mov ebp, eax
mov dword [esp + 8], ebp
test ebp, ebp
je 0x42862c
push ebx
xor ebx, ebx
push esi
jmp 0x428480
mov ecx, dword [edi + 0x218]
movzx esi, bx
push esi
call fcn.00409d5e
test eax, eax
je 0x4284cc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
call eax
cmp word [esp + 0x14], ax
jne 0x4284cc
mov ecx, dword [edi + 0x218]
push esi
call fcn.00409d5e
mov esi, eax
test esi, esi
je 0x4284cc
mov ecx, dword [edi + 0x218]
push esi
call fcn.0040e74b
push esi
mov ecx, 0x7b0258
call fcn.0040c801
inc ebx
cmp ebx, 5
jl 0x428480
mov ebx, dword [ebp + 0x538]
test ebx, ebx
je 0x4285f8
mov ebp, dword [esp + 0x60]
mov ecx, dword [edi + 0x218]
push ebp
call fcn.00409d5e
mov esi, eax
test esi, esi
je 0x42850d
mov ecx, dword [edi + 0x218]
push esi
call fcn.0040e74b
push esi
mov ecx, 0x7b0258
call fcn.0040c801
push 0x53c
call fcn.00606266
add esp, 4
test eax, eax
je 0x428529
mov ecx, eax
call fcn.00408530
mov esi, eax
jmp 0x42852b
xor esi, esi
lea ecx, [esp + 0x38]
call fcn.0040a0e7
lea ecx, [esp + 0x18]
call fcn.0040a0e7
mov edx, dword [ebx + 0x33]
push 2
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x7b00a0
call fcn.0040489a
mov ecx, dword [ebx + 0x37]
push 2
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, 0x7b00a0
call fcn.0040489a
mov edx, dword [esi]
mov edx, dword [edx + 0xb4]
lea eax, [ebp + 0x109a0]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x40]
push eax
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x220]
add eax, 0x4b8
mov dword [esi + 0x220], ecx
push eax
mov ecx, esi
call fcn.00409520
mov edx, 0x8e
mov dword [esi + 0x538], ebx
mov word [esi + 0xc], dx
mov ecx, dword [0x7b0270]
push esi
call fcn.005ffe40
mov ecx, dword [edi + 0x218]
push esi
push ebp
call fcn.0040ab73
lea ecx, [esp + 0x18]
call fcn.004087bf
lea ecx, [esp + 0x38]
call fcn.004087bf
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00606374
add esp, 0x4c
ret 8
push 0x9ac
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 0x1d
push 0x7b3388
call fcn.004018f2
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00606374
add esp, 0x4c
ret 8
push 0x9ac
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 0x1d
push 0x7b3388
call fcn.004018f2
mov ecx, dword [esp + 0x5c]
add esp, 0xc
pop edi
pop ebp
xor ecx, esp
call fcn.00606374
add esp, 0x4c
ret 8
Function at 0x408fb2
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x42c9c0
mov eax, dword [esp + 4]
push 0
push eax
push 0x403927
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x79f9dc], eax
ret 4

Function at 0x4098a9
Capabilities:
Write file on windows

Disassembly:
jmp 0x522c40
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 0x522c6f
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 0x522c9f
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 0x522c91
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x409a25
Capabilities:
Get file size

Disassembly:
jmp 0x593ef0
sub esp, 0x2a0
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x29c], eax
cmp dword [0x7c4ad0], 0
mov ecx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x2ac]
je 0x593f6b
push eax
mov eax, dword [esp + 0x2ac]
push eax
push ecx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x7c49d0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x7c49d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x5940ae
int3
mov edx, dword [esp + 0x2a8]
test eax, eax
je 0x593f90
push eax
push edx
push ecx
lea eax, [esp + 0x1a8]
push str._s_line:_d__msg:_s_
push eax
call fcn.00606889
add esp, 0x14
jmp 0x593fa7
push edx
push ecx
lea eax, [esp + 0x1a4]
push str._s_line:_d_
push eax
call fcn.00606889
add esp, 0x10
push 0xff
lea ecx, [esp + 0xa1]
push 0
push ecx
mov byte [esp + 0xa8], 0
call fcn.006061b0
add esp, 0xc
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0xa]
movzx ecx, word [esp + 6]
movzx edx, word [esp + 4]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.00606889
add esp, 0x14
cmp dword [0x7c4b70], 0
jne 0x5940ae
push esi
push edi
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x59407e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xa4]
push 0x655d28
push eax
call fcn.0060682b
mov esi, eax
add esp, 8
test esi, esi
je 0x5940ac
call fcn.0040db2a
push eax
lea ecx, [esp + 0x1a8]
push ecx
push str._stime:_s_n
push esi
call fcn.00607991
push esi
call fcn.0060652a
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00606374
add esp, 0x2a0
ret
lea edx, [esp + 8]
push edx
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 0x59402a
mov dword [0x7c4b70], 1
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00606374
add esp, 0x2a0
ret
Function at 0x409dbd
Capabilities:
Write file on windows

Disassembly:
jmp 0x527b80
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 0x527be6
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 0x40a119
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
jmp 0x42cdb0
sub esp, 0x35c
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x358], eax
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 0x42cde6
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x640ac8]
mov dword [eax], ecx
mov cl, byte [0x640acc]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x640a60
push edx
mov byte [eax + 8], cl
call fcn.0060682b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42ce45
push eax
call fcn.0060652a
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.00606374
add esp, 0x35c
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 0x42ce64
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x640ab4]
mov dword [eax], ecx
mov ecx, dword [0x640ab8]
mov dword [eax + 4], edx
mov edx, dword [0x640abc]
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
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.00607991
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.00607991
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42cea4
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42cf20
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 esp, [esp]
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.00607991
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.00607991
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42cf50
push ebx
call fcn.0060652a
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00606374
add esp, 0x35c
ret
Function at 0x40a911
Capabilities:
Create directory

Disassembly:
jmp 0x55d2f0
sub esp, 0x108
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x55d3d9
push ebp
push edi
push 0
mov ecx, 0x7e7c58
call fcn.0040476e
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, 0x7e7c58
call fcn.0040476e
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 0x55d3a5
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7e7c58
call fcn.0040476e
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.0040cf3b
test bl, 2
je 0x55d3d7
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7e7c58
call fcn.0040476e
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.00407441
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.00606374
add esp, 0x108
ret 4

Function at 0x40adee
Capabilities:
Delete file

Disassembly:
jmp 0x4cf570
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x4cf5bd
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [0x7b1f50]
push edi
mov dword [esi + 0x238], eax
call fcn.004102ad
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.00402d38
pop edi
push ebx
mov ecx, esi
call fcn.0040f187
pop esi
pop ebx
ret 8
call fcn.004102ad
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.0040f187
pop esi
pop ebx
ret 8
Function at 0x40b1db
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x446e90
sub esp, 0x130
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov esi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x447042
cmp byte [esi], bl
je 0x447042
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x447042
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x446f14
mov dword [esp + 0xc], 0x64
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x10], ebx
jbe 0x447030
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea esp, [esp]
xor eax, eax
push edi
push str._04u
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x38]
push 5
push eax
call fcn.00401faa
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x447009
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x446faf
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447009
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x446fcc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447009
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Characteristics
push edx
mov dword [esp + 0x3c], 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 0x447027
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x446f30
mov edx, dword [esp + 0x18]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x447044
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
pop ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x447044
xor eax, eax
mov ecx, dword [esp + 0x134]
pop esi
pop ebx
xor ecx, esp
call fcn.00606374
add esp, 0x130
ret 4
Function at 0x40ba23
Capabilities:
Print debug messages

Disassembly:
jmp 0x5be030
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 0x5be05d
mov ecx, esi
call fcn.004088f0
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 0x40d19d
Capabilities:
Hide graphical window

Disassembly:
jmp 0x42cfe0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x7a1e88
call fcn.00402fcc
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x79f9d0], 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 [0x7def64]
xor edx, edx
mov eax, esi
div dword [0x7de4f0]
mov eax, dword [0x7de4f4]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x42d03d
cmp dword [edx], esi
je 0x42d081
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x42d032
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 0x79f7d0
push 0x79f5d0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x79f9d4], esi
test esi, esi
jne 0x42d09d
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x42d03d
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 0x42d052
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, 0x79fb24
call fcn.0040e836
cmp dword [0x7b3268], 0
push 0
mov ecx, 0x79fb24
push 0
jne 0x42d0ee
push 1
call fcn.0040aa2e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.0040aa2e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x40db48
Capabilities:
Write file on windows

Disassembly:
jmp 0x58c020
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x58c073
mov eax, dword [esp + 8]
push 0x6556d4
push eax
call fcn.0060682b
mov esi, eax
add esp, 8
test esi, esi
je 0x58c0a9
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x58c050
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58c050
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.006066f5
push esi
call fcn.0060652a
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x58c0a9
mov ecx, dword [esp + 8]
push 0x6556d0
push ecx
call fcn.0060682b
mov esi, eax
add esp, 8
test esi, esi
je 0x58c0a9
mov edx, dword [esp + 0xc]
push edx
push 0x6556cc
push esi
call fcn.00607991
push esi
call fcn.0060652a
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x40f0b5
Capabilities:
Read file on windows

Disassembly:
jmp 0x55c290
sub esp, 0x18
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x55c368
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
call edi
test eax, eax
je 0x55c2f0
cmp dword [esp + 0x10], 0x6060801
je 0x55c30b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00606374
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x55c2f1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x55c367
mov ecx, dword [0x7b0d24]
test ecx, ecx
je 0x55c367
mov edx, dword [esp + 0x18]
push edx
call fcn.00407f9a
mov eax, dword [esp + 0x14]
mov ecx, dword [0x7b0d24]
push eax
call fcn.00406b90
fld dword [esp + 0x1c]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x7e7158
call fcn.00408d19
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.00606374
add esp, 0x18
ret 4