joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x108]
push esi
push edi
mov esi, ecx
push eax
mov dword [esi + 0xc], eax
mov eax, dword [0x77da48]
mov ecx, dword [eax + 0x458]
add ecx, 4
push ecx
push str._s_d
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.0065cf4d
add esp, 0x14
lea eax, [esp + 8]
push 0xffffffffffffffff
push eax
mov byte [esp + 0x113], 0
call fcn.0065c790
add esp, 4
inc eax
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.005a3ab0
mov edx, dword [esi + 4]
push eax
push edx
push str.datachat_u__u.xml
lea edi, [esi + 0x30]
push 0x104
push edi
call fcn.0065cf4d
add esp, 0x20
push edi
mov byte [esi + 0x133], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401557
test al, 0x10
jne 0x401557
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
add esp, 0x104
ret 4

Function at 0x40a670
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x6ed2ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push str.datachat
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call ebx
push edi
push str.dataprivatechat
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40a990
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6ed366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6fedac
lea edi, [esi + 0x30]
push edi
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a9d9
test al, 0x10
jne 0x40a9d9
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x20]
push edi
call fcn.00404a10
mov ecx, dword [esi + 8]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
je 0x40a9f6
call fcn.00614e00
mov dword [esi + 8], ebx
cmp dword [esi + 0xc], ebx
je 0x40aa52
mov eax, dword [esi + 0x14]
mov byte [esp + 0x10], 0xe
mov byte [esp + 0x11], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x40aa13
mov eax, dword [eax + 4]
jmp 0x40aa16
add eax, 4
push 0x20
push eax
lea eax, [esp + 0x22]
push eax
call fcn.0065cfb0
mov ecx, dword [esi + 0xc]
mov edx, dword [0x7695d0]
mov dword [esp + 0x22], ecx
add esp, 0xc
mov ecx, 0x7695d0
call dword [edx + 8]
mov ecx, dword [0x77db4c]
push ebx
push 0x2a
lea edx, [esp + 0x18]
mov dword [esp + 0x1a], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push esi
call fcn.004dbba0
push esi
call fcn.00508e70
mov eax, dword [edi + 4]
add esp, 8
cmp eax, ebx
je 0x40aa71
push eax
call fcn.0065d0d4
add esp, 4
lea ecx, [esi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00417490
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x40a9a9
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6ed366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6fedac
lea edi, [esi + 0x30]
push edi
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a9d9
test al, 0x10
jne 0x40a9d9
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x20]
push edi
call fcn.00404a10
mov ecx, dword [esi + 8]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
je 0x40a9f6
call fcn.00614e00
mov dword [esi + 8], ebx
cmp dword [esi + 0xc], ebx
je 0x40aa52
mov eax, dword [esi + 0x14]
mov byte [esp + 0x10], 0xe
mov byte [esp + 0x11], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x40aa13
mov eax, dword [eax + 4]
jmp 0x40aa16
add eax, 4
push 0x20
push eax
lea eax, [esp + 0x22]
push eax
call fcn.0065cfb0
mov ecx, dword [esi + 0xc]
mov edx, dword [0x7695d0]
mov dword [esp + 0x22], ecx
add esp, 0xc
mov ecx, 0x7695d0
call dword [edx + 8]
mov ecx, dword [0x77db4c]
push ebx
push 0x2a
lea edx, [esp + 0x18]
mov dword [esp + 0x1a], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push esi
call fcn.004dbba0
push esi
call fcn.00508e70
mov eax, dword [edi + 4]
add esp, 8
cmp eax, ebx
je 0x40aa71
push eax
call fcn.0065d0d4
add esp, 4
lea ecx, [esi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00417490
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x40c050
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6ed3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040a8a0
xor ebx, ebx
mov dword [esi], 0x6fee18
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov eax, dword [0x77da48]
mov ecx, dword [eax + 0x458]
add ecx, 4
push 0x6fe416
push ecx
mov ecx, esi
mov dword [esp + 0x124], ebx
call fcn.0040bee0
mov edi, dword [esp + 0x124]
push 0x6fe416
push edi
mov ecx, esi
call fcn.0040bee0
mov edx, dword [0x77da48]
mov eax, dword [edx + 0x458]
push edi
add eax, 4
push eax
push 0x6fee10
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.0065cf4d
add esp, 0x14
lea edx, [esp + 0x10]
push 0xffffffffffffffff
push edx
mov byte [esp + 0x11b], bl
call fcn.0065c790
add esp, 4
inc eax
push eax
lea eax, [esp + 0x18]
push eax
call fcn.005a3ab0
push eax
push str.dataprivatechat_u.xml
lea edi, [esi + 0x30]
push 0x104
push edi
call fcn.0065cf4d
add esp, 0x1c
push edi
mov byte [esi + 0x133], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c13b
test al, 0x10
jne 0x40c13b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x114]
mov byte [esi + 0x135], bl
mov byte [esi + 0x134], bl
pop edi
mov dword [esi + 4], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4
Function at 0x40c06c
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6ed3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040a8a0
xor ebx, ebx
mov dword [esi], 0x6fee18
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov eax, dword [0x77da48]
mov ecx, dword [eax + 0x458]
add ecx, 4
push 0x6fe416
push ecx
mov ecx, esi
mov dword [esp + 0x124], ebx
call fcn.0040bee0
mov edi, dword [esp + 0x124]
push 0x6fe416
push edi
mov ecx, esi
call fcn.0040bee0
mov edx, dword [0x77da48]
mov eax, dword [edx + 0x458]
push edi
add eax, 4
push eax
push 0x6fee10
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.0065cf4d
add esp, 0x14
lea edx, [esp + 0x10]
push 0xffffffffffffffff
push edx
mov byte [esp + 0x11b], bl
call fcn.0065c790
add esp, 4
inc eax
push eax
lea eax, [esp + 0x18]
push eax
call fcn.005a3ab0
push eax
push str.dataprivatechat_u.xml
lea edi, [esi + 0x30]
push 0x104
push edi
call fcn.0065cf4d
add esp, 0x1c
push edi
mov byte [esi + 0x133], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c13b
test al, 0x10
jne 0x40c13b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x114]
mov byte [esi + 0x135], bl
mov byte [esi + 0x134], bl
pop edi
mov dword [esi + 4], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4

Function at 0x40c280
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 6]
push esi
push edi
push eax
mov edi, ecx
call fcn.0040ac90
mov ecx, dword [0x77da48]
mov edx, dword [ecx + 0x458]
mov esi, eax
push 0x6fe416
add edx, 4
push edx
mov ecx, esi
call fcn.0040bee0
push 0x6fe416
add ebx, 0xe
push ebx
mov ecx, esi
call fcn.0040bee0
push ebx
mov ecx, edi
mov byte [esi + 0x134], 1
call fcn.004041f0
mov edi, eax
test edi, edi
je 0x40c307
lea ebx, [edi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c2f5
test al, 0x10
jne 0x40c2f5
push 0
lea eax, [esi + 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.004050b0
mov ecx, edi
call fcn.0040b5f0
mov ecx, esi
call fcn.0040ac10
pop edi
pop esi
pop ebx
ret 4
Function at 0x40c410
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6ed43b
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov edi, dword [esp + 0xb4]
mov eax, dword [edi + 6]
xor bl, bl
dec eax
cmp eax, 0x15
ja case.0x40c44b.2
movzx eax, byte [eax + 0x40c5d4]
jmp dword [eax*4 + 0x40c5c0]
mov eax, dword [edi + 0x12]
test eax, eax
jne 0x40c464
lea edx, [edi + 0x1f]
push edx
call fcn.0040c1b0
jmp 0x40c475
push eax
call fcn.0040ac90
jmp 0x40c475
mov edx, dword [edi + 0x12]
push edx
call fcn.00404240
mov esi, eax
lea eax, [edi + 0x1f]
push eax
call fcn.004dc030
add esp, 4
mov bl, 1
jmp 0x40c495
call fcn.0040ad40
jmp 0x40c493
call fcn.0040ada0
mov esi, eax
test esi, esi
je case.0x40c44b.2
mov al, byte [esi + 0x135]
test al, al
jne case.0x40c44b.2
push edi
call fcn.00402730
add esp, 4
push 0x6fedf4
lea ecx, [esp + 0x10]
call fcn.0064e460
mov ecx, dword [edi + 6]
push ecx
mov dword [esp + 0xb0], 0
call fcn.004029e0
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [edi + 0x1f]
push eax
call fcn.00401780
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.00409d60
add esp, 0x18
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040ab70
mov eax, dword [esi + 8]
test eax, eax
je 0x40c52a
push esi
call fcn.0040a840
mov ecx, eax
call fcn.00404600
mov al, byte [esi + 0x135]
test al, al
jne 0x40c52a
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
call fcn.004dbc80
call fcn.0040a840
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
cmp ecx, eax
je 0x40c54c
lea esp, [esp]
cmp dword [ecx + 4], esi
je 0x40c596
add ecx, 8
cmp ecx, eax
jne 0x40c540
mov eax, dword [esi + 8]
test eax, eax
je 0x40c55a
mov cl, byte [eax + 0x67]
test cl, cl
jne 0x40c57e
mov eax, dword [esi + 4]
cmp eax, 9
je 0x40c567
cmp eax, 1
jne 0x40c57e
mov ecx, dword [edi + 0xe]
mov eax, dword [esi + 0xc]
push 0
push esi
push ecx
push eax
call fcn.0040a840
mov ecx, eax
call fcn.0040ae00
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.0064d940
mov al, bl
jmp 0x40c5a6
call fcn.0040a840
mov ecx, eax
call fcn.004046c0
jmp 0x40c57e
xor al, al
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 4
Function at 0x40f7c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.0045f660
mov eax, dword [0x77ff08]
mov byte [eax + 7], 1
mov ecx, dword [0x780658]
mov ebp, dword [0x77ff08]
mov edx, dword [ecx]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov edi, ecx
call dword [edx + 0x20]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
push ebx
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [edx + 0x20]
mov eax, dword [eax + 0x24]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x20]
push edx
mov ecx, ebp
call dword [eax + 0x34]
call fcn.0041e300
mov dword [eax], 2
call fcn.0041e300
xor ebx, ebx
mov dword [eax + 4], ebx
mov ecx, dword [0x77e1a4]
cmp ecx, ebx
je 0x40f849
call fcn.00614e00
mov dword [0x77e1a4], ebx
mov ecx, dword [0x77e1b8]
cmp ecx, ebx
je 0x40f85e
call fcn.00614e00
mov dword [0x77e1b8], ebx
cmp dword [0x77e1d4], ebx
je 0x40f8b4
mov eax, dword [0x77da48]
mov eax, dword [eax + 0x458]
cmp eax, ebx
mov byte [esp + 0x18], 4
mov byte [esp + 0x19], 0x53
je 0x40f88b
mov ecx, dword [eax + 0x11fc]
mov dword [esp + 0x1e], ecx
jmp 0x40f88f
mov dword [esp + 0x1e], ebx
mov edx, dword [0x7695d0]
mov ecx, 0x7695d0
call dword [edx + 8]
mov ecx, dword [0x77db4c]
push ebx
push 0xa
lea edx, [esp + 0x20]
mov dword [esp + 0x22], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
call fcn.0041b320
mov esi, eax
cmp esi, ebx
je 0x40f8cd
mov ecx, esi
call fcn.0041b8a0
mov ecx, esi
call fcn.0041b390
push 1
mov ecx, 0x77e198
call fcn.00469f10
mov ecx, 0x77e198
call fcn.00464eb0
mov ecx, 0x77e198
call fcn.00466ca0
mov ecx, 0x77e198
call fcn.00466970
mov ecx, 0x77e198
call fcn.00466730
mov ecx, 0x77e198
call fcn.004667f0
mov ecx, 0x77e198
call fcn.004668b0
mov ecx, 0x77e198
call fcn.00466550
push ebx
mov ecx, 0x77e198
call fcn.00466610
push ebx
mov ecx, 0x77e198
call fcn.00469950
mov ecx, dword [0x77e1f8]
push 1
push ebx
call fcn.0061cc90
mov ecx, dword [0x77e218]
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [0x77da48]
mov byte [0x76aa28], 1
mov edx, dword [ecx + 0x458]
movzx eax, word [edx + 0x875]
mov ecx, dword [0x77e1c0]
push eax
call fcn.00491fe0
mov ecx, dword [0x77e1ac]
push 1
push 1
call fcn.0061cc90
call fcn.004acbb0
mov ecx, eax
call fcn.004aca80
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x77e28c]
mov dword [0x77c5fc], eax
call fcn.00472a20
mov ecx, dword [0x77e28c]
call fcn.00472ab0
push str.data_ZLR.reg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x780658]
mov cl, byte [eax + 0xb30]
pop edi
pop esi
and cl, 0xfb
mov byte [eax + 0xb30], cl
pop ebp
mov byte [0x77e7b4], bl
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x4158b0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6ed77b
push eax
mov eax, 0x2834
mov dword fs:[0], esp
call fcn.0065d6a0
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x14], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
lea esi, [esp + 0x40]
mov edi, 0xf
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
push 0x12
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x2854], ebx
call fcn.0065c670
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x50]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0065c60e
lea ecx, [esp + 0x58]
push ecx
call fcn.0065c790
add esp, 0x30
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00404b60
cmp dword [esp + 0x24], ebx
jne 0x4159c4
cmp dword [esp + 0x28], 0x10
mov esi, dword [esi]
mov dword [esp + 0x2848], 0xffffffff
jb 0x415996
mov eax, dword [esp + 0x14]
push eax
call fcn.0065d0d4
add esp, 4
cmp esi, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jne 0x4158f4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2834]
mov dword fs:[0], ecx
add esp, 0x2840
ret
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x285c]
call fcn.00404a70
cmp dword [esp + 0x28], 0x10
jb 0x4159ec
mov edx, dword [esp + 0x14]
push edx
call fcn.0065d0d4
add esp, 4
mov ecx, dword [esp + 0x2840]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2840
ret
Function at 0x41d0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6edac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x5c], ebx
push 0x41c380
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x5c], 0x41c200
mov dword [esp + 0xc], ebx
call fcn.0041c780
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 1
call fcn.0041c3d0
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x68], bl
je 0x41d150
mov eax, dword [eax]
cmp eax, ebx
je 0x41d150
lea ecx, [esp + 0x10]
push 1
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0x61d3a0
mov dword [esp + 0x54], ebx
call fcn.005febf0
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov dword [esp + 0x68], 0xffffffff
je 0x41d18d
mov eax, dword [eax]
cmp eax, ebx
je 0x41d18d
lea ecx, [esp + 0x38]
push 1
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc

Function at 0x41d570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6edb10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push str.stGameConfig
lea ecx, [esp + 0x14]
call fcn.0041c470
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 4]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.0041d0d0
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.005fb780
mov edx, dword [esp + 0x30]
push 0
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005fb860
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.005fb880
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.005fb7a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x436129
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6ee6d0
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.0041e300
mov ecx, dword [eax + 4]
xor ebx, ebx
cmp ecx, ebx
jne 0x43628a
push edi
mov edi, dword [esp + 0x5c]
push 2
mov ecx, edi
call fcn.00442360
test al, al
je 0x436289
mov eax, dword [edi + 0x28]
mov edx, dword [0x7695d0]
mov ecx, 0x7695d0
mov byte [esp + 0xc], 0x11
mov byte [esp + 0xd], 0xa
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], bl
mov dword [esp + 0x12], eax
call dword [edx + 8]
mov ecx, dword [0x77db4c]
push ebx
push 0xc
lea edx, [esp + 0x14]
mov dword [esp + 0x16], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [edi + 0x28]
mov dword [esi + 0x13d4], eax
call fcn.0041e300
mov dword [eax + 4], 3
cmp byte [0x77c5e8], bl
je 0x436289
push 0x700d08
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x436289
test al, 0x10
jne 0x436289
mov eax, dword [0x780688]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], ebx
call fcn.005b1220
push 0x2000
push ebx
push 0x700d08
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 1
call fcn.005b12a0
lea ecx, [esp + 0x18]
call fcn.005b0c00
add eax, 0xc
push eax
call fcn.0065b8d9
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x436226
mov byte [esi], 0x11
mov byte [esi + 1], 0xa
mov byte [esi + 0xb], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xa], 1
mov edi, dword [edi + 0x28]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esi + 6], edi
call fcn.005b0c00
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esi + 0xb]
push ecx
lea ecx, [esp + 0x24]
call dword [edx + 0x10]
lea ecx, [esp + 0x1c]
call fcn.005b0c00
mov byte [eax + esi + 0xb], bl
mov edi, dword [0x77db4c]
mov ebp, dword [edi]
lea ecx, [esp + 0x1c]
call fcn.005b0c00
add eax, 0xc
push eax
push esi
mov ecx, edi
call dword [ebp + 0x1c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], bl
call fcn.005b1420
mov eax, dword [esp + 0x60]
mov dword [0x780688], eax
pop ebp
pop edi
mov ecx, dword [esp + 0x48]
pop esi
mov eax, 8
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4

Function at 0x436fd0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, ecx
je 0x437030
mov eax, dword [esi]
call dword [eax + 0x5c]
test byte [eax + 0x19], 2
jne 0x437030
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
test byte [eax + 1], 2
jne 0x437030
mov eax, dword [edi + 0x3c]
mov ecx, eax
shr ecx, 1
test cl, 1
je 0x437030
shr eax, 3
test al, 1
jne 0x437030
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x437030
push edi
mov ecx, esi
call fcn.004362b0
push 2
mov ecx, edi
call fcn.00442360
neg al
sbb al, al
pop edi
inc al
pop esi
ret 4
pop edi
xor al, al
pop esi
ret 4
Function at 0x437470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6ee72e
push eax
mov dword fs:[0], esp
sub esp, 0x18
push edi
mov edi, ecx
mov cl, byte [0x77daf4]
mov eax, 1
test al, cl
jne 0x4374bf
or dword [0x77daf4], eax
mov dword [esp + 0x24], 0
call sub.WINMM.dll_timeGetTime
sub eax, 0x190
mov dword [0x77daf0], eax
mov dword [esp + 0x24], 0xffffffff
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x77daf0]
cmp eax, 0xfa
jae 0x4374e8
mov eax, 2
pop edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004321f0
cmp eax, 0x2a0
je 0x437566
cmp eax, 0x2a1
je 0x437566
cmp eax, 0x2a2
je 0x437566
mov eax, dword [esi + 0x98]
test eax, eax
je 0x437566
mov ecx, dword [edi + 0x28]
cmp eax, ecx
je 0x437566
mov edi, dword [0x77e1f8]
test edi, edi
je 0x43753a
push ecx
mov ecx, edi
call fcn.00420e00
test eax, eax
je 0x43753a
mov eax, dword [edi + 0x448]
test eax, eax
je 0x437566
push 0xffff0000
push 0x700d3c
mov ecx, 0x77e198
call fcn.004659a0
pop esi
mov eax, 3
pop edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov edx, eax
mov esi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x16], eax
mov eax, dword [0x7695d0]
mov ecx, 0x7695d0
mov byte [esp + 0x10], 4
mov byte [esp + 0x11], 8
mov dword [esp + 8], edx
mov dword [esp + 0x1a], esi
call dword [eax + 8]
mov ecx, dword [0x77db4c]
push 0
mov dword [esp + 0x16], eax
mov edx, dword [ecx]
push 0xe
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x10]
call sub.WINMM.dll_timeGetTime
mov ecx, dword [esp + 0x20]
pop esi
mov dword [0x77daf0], eax
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4510c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [0x77da48]
mov ecx, dword [eax + 0x45c]
test ecx, ecx
je 0x451157
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x451157
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [0x77da48]
mov edx, dword [ecx + 0x45c]
add edx, 4
push edx
call fcn.0065c790
add esp, 4
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x451145
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45113c
mov byte [eax], 0
mov ecx, dword [0x77da48]
mov edx, dword [ecx + 0x45c]
add edx, 4
push edx
push eax
call fcn.0065c60e
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x451156
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
ret