joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fe80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ead70
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x31], bl
jne 0x45fed7
mov edx, dword [esp + 0x74]
mov dl, byte [edx]
cmp byte [eax + 0xc], dl
jae 0x45feca
mov eax, dword [eax + 8]
jmp 0x45fece
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], bl
je 0x45fec0
mov dword [esp + 0x14], ecx
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov ebp, ecx
mov dword [esp + 0x1c], eax
cmp esi, ebx
je 0x45feea
cmp esi, esi
je 0x45fef3
call fcn.005a01dd
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
je 0x45ff08
mov edx, dword [esp + 0x74]
mov al, byte [edx]
cmp al, byte [ecx + 0xc]
jae 0x45ffb4
mov eax, 0xf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x74]
mov dl, byte [ecx]
mov cl, byte [esp + 0x20]
push 0xffffffffffffffff
mov byte [esp + 0x44], dl
push ebx
lea edx, [esp + 0x2c]
mov byte [esp + 0x4c], cl
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.004046b0
lea eax, [esp + 0x40]
push eax
push ebp
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov byte [esp + 0x7c], 1
call fcn.0045f630
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov edi, 0x10
cmp dword [esp + 0x60], edi
jb 0x45ff81
mov edx, dword [esp + 0x4c]
push edx
call fcn.0059fc2a
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x3c], edi
jb 0x45ffa4
mov eax, dword [esp + 0x28]
push eax
call fcn.0059fc2a
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp esi, ebx
jne 0x45ffe2
call fcn.005a01dd
xor esi, esi
cmp ebp, dword [esi + 0x18]
jne 0x45ffc9
call fcn.005a01dd
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
mov esi, dword [esi]
jmp 0x45ffbf
Function at 0x472310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + 4]
push ecx
mov ecx, edi
call fcn.00525490
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
xor ebx, ebx
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [edi + 8], edi
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x78]
mov dword [ecx + 4], ecx
mov dword [esi + 0x7c], ebx
cmp eax, dword [esi + 0x78]
je 0x472363
mov edi, dword [eax]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x78]
jne 0x472351
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + 4]
lea edi, [esi + 0x24]
push eax
mov ecx, edi
call fcn.00525490
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [edi + 8], edi
mov ecx, dword [esi + 0x94]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x94]
mov dword [ecx + 4], ecx
mov dword [esi + 0x98], ebx
cmp eax, dword [esi + 0x94]
je 0x4723c5
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x94]
jne 0x4723b0
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 4]
lea edi, [esi + 0x44]
push edx
mov ecx, edi
call fcn.00525490
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [edi + 8], edi
pop edi
lea ecx, [esi + 0x9c]
pop esi
pop ebx
jmp fcn.004c6110
Function at 0x477220
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
fldz
push esi
fst dword [esp + 0x18]
push edi
fst dword [esp + 0x20]
lea eax, [esp + 0x1c]
fst dword [esp + 0x24]
push eax
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fstp dword [esp + 0x40]
call fcn.00477190
mov edi, dword [ebp + 8]
push 0x605624
push edi
call fcn.005a1a50
add esp, 8
push 0x80
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
fld dword [esp + 0x24]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x38]
fstp qword [esp + 8]
fld dword [esp + 0x34]
fstp qword [esp]
push str.CenterPos__f__f__f_n
push 0
push esi
call fcn.004f64e0
fld dword [esp + 0x58]
add esp, 0xc
fstp qword [esp + 0x10]
fld dword [esp + 0x50]
fstp qword [esp + 8]
fld dword [esp + 0x54]
fstp qword [esp]
push str.CameraSetting__f__f__f_n
push 0
push esi
call fcn.004f64e0
fld dword [esp + 0x54]
add esp, 0xc
fstp qword [esp + 0x10]
fld dword [esp + 0x44]
fstp qword [esp + 8]
fld dword [esp + 0x40]
fstp qword [esp]
push str.CmrPos__f__f__f_n
push 0
push esi
call fcn.004f64e0
fld dword [esp + 0x54]
add esp, 0x24
call fcn.005a0a00
fld dword [esp + 0x2c]
push eax
call fcn.005a0a00
fld dword [esp + 0x2c]
push eax
call fcn.005a0a00
fld dword [esp + 0x3c]
push eax
call fcn.005a0a00
fld dword [esp + 0x44]
push eax
call fcn.005a0a00
fld dword [esp + 0x4c]
push eax
call fcn.005a0a00
fld dword [esp + 0x38]
push eax
call fcn.005a0a00
fld dword [esp + 0x38]
push eax
call fcn.005a0a00
fld dword [esp + 0x38]
push eax
call fcn.005a0a00
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push esi
call fcn.004f64e0
push esi
call fcn.005a17f4
add esp, 0x34
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4779f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.00477020
test al, al
jne 0x477a4f
cmp dword [esi + 0x18d0c], 0
fld dword [esi + 0x18ce8]
fimul dword [esp + 8]
fstp dword [esp + 8]
je 0x477a45
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x477a45
fld dword [esp + 8]
push ecx
fchs
mov ecx, esi
fmul qword [0x606f30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.004778a0
pop esi
ret 4
fld dword [esp + 8]
fstp dword [esi + 0x18cdc]
pop esi
ret 4

Function at 0x477a60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.00477020
test al, al
jne 0x477abf
cmp dword [esi + 0x18d0c], 0
fld dword [esi + 0x18cec]
fimul dword [esp + 8]
fstp dword [esp + 8]
je 0x477ab5
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x477ab5
fld dword [esp + 8]
push ecx
fchs
mov ecx, esi
fmul qword [0x606f30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.00477880
pop esi
ret 4
fld dword [esp + 8]
fstp dword [esi + 0x18ce0]
pop esi
ret 4
Function at 0x477ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.00477020
test al, al
jne 0x477b37
cmp dword [esi + 0x18d0c], 0
fld dword [esi + 0x18cf0]
fimul dword [esp + 8]
fadd qword [0x5fe238]
fstp dword [esp + 8]
je 0x477b2d
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x477b2d
fld dword [esp + 8]
push ecx
fld1
mov ecx, esi
fsubrp st(1)
fmul qword [0x603290]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.004778c0
pop esi
ret 4
fld dword [esp + 8]
fstp dword [esi + 0x18ce4]
pop esi
ret 4

Function at 0x47d1c0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x60841c
push str.interface.cfg
mov edi, ecx
call fcn.005a1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x47d1e1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
push 1
add edi, 0x2628
push edi
call fcn.005a2ce9
push esi
call fcn.005a17f4
add esp, 0x14
pop edi
mov al, 1
pop esi
ret

Function at 0x47d210
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x2624], 0
je 0x47d280
push esi
push 0x600e94
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
mov eax, dword [edi + 0x2624]
push str.OnSaveInterfaceStatus
push eax
call fcn.0051f1b0
push 0x609874
push str.interface.cfg
call fcn.005a1a50
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x47d262
push str.Cannot_open_interface.cfg
call fcn.00519180
add esp, 4
pop esi
pop edi
ret
push esi
push 0xc8
push 1
add edi, 0x2628
push edi
call fcn.005a36e0
push esi
call fcn.005a17f4
add esp, 0x14
pop esi
pop edi
ret
Function at 0x47ea40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 4]
push eax
push 3
mov ebx, ecx
call fcn.004f98b0
test al, al
jne 0x47ea73
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005a09eb
add esp, 0x2c
ret
mov ecx, ebx
call fcn.004f97c0
movzx ecx, word [esp + 5]
cmp ecx, eax
jg 0x47ea61
lea edx, [esp + 8]
push edx
push 7
mov ecx, ebx
call fcn.004f98c0
test al, al
jne 0x47eaa5
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005a09eb
add esp, 0x2c
ret
mov eax, dword [esp + 9]
add eax, 0xfffffff9
push ebp
mov ebp, dword [esp + 0xf]
movzx eax, ax
push esi
movzx esi, ax
push edi
push esi
call fcn.0059ebd0
add esp, 4
mov edi, eax
push edi
push esi
mov ecx, ebx
call fcn.004f98c0
test al, al
jne 0x47eaef
push edi
call fcn.005a0be9
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005a09eb
add esp, 0x2c
ret
mov eax, dword [0x658988]
mov ebx, 0x10
cmp dword [0x65899c], ebx
jae 0x47eb06
mov eax, 0x658988
push eax
call fcn.00519720
push ebp
call fcn.00497500
add esp, 8
push eax
lea ecx, [esp + 0x20]
call fcn.00404010
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x47eb2d
lea eax, [esp + 0x20]
push 0x609874
push eax
call fcn.005a1a50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47eb68
push edi
call fcn.005a0be9
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.0045c050
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005a09eb
add esp, 0x2c
ret
push ebx
push 1
push esi
push edi
call fcn.005a36e0
push ebx
call fcn.005a17f4
push edi
call fcn.005a0be9
add esp, 0x18
lea ecx, [esp + 0x1c]
call fcn.0045c050
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.005a09eb
add esp, 0x2c
ret
Function at 0x47f0d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push edi
lea eax, [esp + 8]
push eax
push 1
mov edi, ecx
call dword [sym.imp.DevIL.dll_ilGenImages]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov ebx, dword [esp + 0x10]
push ebx
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
test al, al
jne 0x47f124
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], 2
pop ebx
pop ecx
ret 8
push esi
mov esi, dword [sym.imp.DevIL.dll_ilGetInteger]
push 0xde4
call esi
cmp eax, 0x40
je 0x47f14a
mov eax, dword [esp + 0x18]
pop esi
pop edi
mov dword [eax], 3
xor al, al
pop ebx
pop ecx
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x47f16b
mov ecx, dword [esp + 0x18]
pop esi
pop edi
mov dword [ecx], 4
xor al, al
pop ebx
pop ecx
ret 8
lea edx, [esp + 0xc]
push edx
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x60841c
push ebx
call fcn.005a1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f19c
mov eax, dword [esp + 0x18]
mov dword [eax], 2
push 2
push 0
push esi
call fcn.005a2f9b
push esi
call fcn.005a2ea3
push 0
push 0
push esi
mov dword [edi + 0x3b0], eax
call fcn.005a2f9b
mov ecx, dword [edi + 0x3b0]
push ecx
call fcn.0059ebd0
mov edx, dword [edi + 0x3b0]
push esi
push 1
push edx
push eax
mov dword [edi + 0x3b8], eax
call fcn.005a2ce9
push esi
call fcn.005a17f4
push ebx
call fcn.0051e6e0
add esp, 0x38
pop esi
mov dword [edi + 0x3b4], eax
pop edi
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x483100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
lea edi, [ebp + 0x18]
push eax
mov ecx, edi
call fcn.00482950
mov ebx, dword [edi + 0x18]
mov edi, dword [edi]
test edi, edi
je 0x48312e
mov eax, dword [esp + 0x10]
cmp edi, eax
je 0x483137
call fcn.005a01dd
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ebx, edi
je 0x483229
test eax, eax
jne 0x483233
call fcn.005a01dd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x48315c
call fcn.005a01dd
lea ebx, [edi + 0x10]
push ebx
mov ecx, ebp
call fcn.004830c0
mov edi, eax
test edi, edi
je 0x4831e8
mov ecx, dword [esi + 8]
push ecx
mov ecx, edi
call fcn.0041f5e0
mov edx, dword [esi + 0xc]
push edx
mov ecx, edi
call fcn.0041f510
mov eax, dword [esi + 0x10]
push eax
mov ecx, edi
call fcn.0041a240
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00417980
lea edx, [esi + 0x30]
push edx
mov ecx, edi
call fcn.00422ce0
mov eax, dword [esi + 0x14]
push eax
mov ecx, edi
call fcn.004242d0
mov ecx, dword [esi + 0x18]
push ecx
mov ecx, edi
call fcn.00424270
movzx edx, word [esi + 0x1c]
push edx
mov ecx, edi
call fcn.00417bd0
mov eax, dword [esi + 0x20]
push eax
mov ecx, edi
call fcn.00417bf0
movzx ecx, byte [esi + 0x24]
push ecx
mov ecx, edi
call fcn.00418e40
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.00417c30
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 0x34]
mov dword [ebx + 0x20], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 0x80], edx
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x3c], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 0x68], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x6c], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x70], ecx
mov dx, word [esi + 0x1c]
mov word [ebx + 0x78], dx
mov al, byte [esi + 0x24]
mov byte [ebx + 0x7a], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [eax]
jmp 0x483152
Function at 0x4846e0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x5ec42b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x244], eax
push ebp
push esi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov eax, dword [esp + 0x268]
mov ebp, dword [esp + 0x264]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x484809
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x260], 0
call fcn.00519c10
push 0x224
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0059fdd0
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x34], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4847ee
lea esp, [esp]
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x4847af
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x150]
push ecx
call fcn.004845f0
add esp, 8
test eax, eax
jne 0x484831
push 0x224
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0059fdd0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x34], 0x224
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4847a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0x10
jb 0x484809
mov edx, dword [esp + 0x14]
push edx
call fcn.0059fc2a
add esp, 4
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.005a09eb
add esp, 0x254
ret
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
jmp 0x484840
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484840
sub eax, edx
push eax
lea ecx, [esp + 0x150]
push ecx
mov ecx, ebp
call fcn.00403f00
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
push esi
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0x10
jb 0x48487e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0059fc2a
add esp, 4
mov al, 1
jmp 0x48480b
Function at 0x4925b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ec9cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00417360
xor eax, eax
xor ecx, ecx
mov word [esi + 0x1c], cx
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], al
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call fcn.00417280
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x498270
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
lea edx, [esp + 0xc]
push edx
push 0
push 0
mov esi, ecx
mov ecx, dword [eax]
push ebp
push eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x20], 0
call eax
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
jl 0x4983e4
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebx
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004977b0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00497850
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00497e00
push 0
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00497e00
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
push 1
push ebx
call ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jne 0x4983b0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004977b0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push 0
push 0x1000000
push 0
push ebp
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x49835f
lea ecx, [esp + 0x14]
push ecx
push ebp
mov ecx, esi
call fcn.004976e0
cmp byte [esp + 0x54], 0
je 0x498390
push 1
call edi
mov edx, 0x8000
test dx, ax
jne 0x4983ac
push 0x1b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4983ac
push 0x20
call edi
mov edx, 0x8000
test dx, ax
jne 0x4983ac
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 0
push 0
push 0
push 0
push eax
call edx
test eax, eax
je 0x498320
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
sub eax, 1
jne 0x4983cb
mov eax, dword [esp + 0x5c]
push eax
push 0x514
push ebp
mov ecx, esi
call fcn.00497e70
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x1c]
push 0
push ebx
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 0x18
Function at 0x498dd0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5eccf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [str.UserDict.pyc]
xor ebx, ebx
xor ebp, ebp
cmp byte [eax], 0xa
je 0x498ecf
mov esi, 0x6589dc
lea edi, [ebx + 0x10]
lea esp, [esp]
push 4
push str.lib_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403f00
mov ecx, dword [esi]
mov eax, ecx
mov dword [esp + 0x3c], ebx
lea esi, [eax + 1]
jmp 0x498e50
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x498e50
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404150
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x498e72
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.005a12fa
add esp, 8
test eax, eax
jne 0x498ef0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp edx, edi
jae 0x498e94
lea ecx, [esp + 0x18]
mov eax, ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x498eb7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0059fc2a
add esp, 4
inc ebp
mov edx, dword [ebp*4 + 0x6589dc]
cmp byte [edx], 0xa
lea esi, [ebp*4 + 0x6589dc]
jne 0x498e20
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005a09eb
add esp, 0x2c
ret
cmp dword [esp + 0x2c], edi
jb 0x498f03
mov eax, dword [esp + 0x18]
push eax
call fcn.0059fc2a
add esp, 4
xor al, al
jmp 0x498ed1
Function at 0x499c70
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5ece77
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
push 0
call fcn.005a1f31
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.00519e80
call fcn.00519e90
push eax
call fcn.005a1efd
mov esi, 1
push esi
call fcn.00518ef0
push 0
push str.perf_game_update.txt
call fcn.005a12fa
add esp, 0x14
test eax, eax
jne 0x499cf8
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005a12fa
add esp, 8
test eax, eax
jne 0x499d1f
push str.patchupdater.exe
call fcn.005a3f84
add esp, 4
xor al, al
jmp 0x499eb4
call dword [sym.imp.DevIL.dll_ilInit]
push ebp
call fcn.00498d70
add esp, 4
test eax, eax
je 0x499d18
push 0
call fcn.00518fa0
add esp, 4
or edi, 0xffffffff
test byte [0x683984], 1
jne 0x499d71
or dword [0x683984], esi
mov ecx, 0x68397c
mov dword [esp + 0x70], 0
call fcn.0051acd0
push 0x5fbb40
call fcn.005a0bd2
add esp, 4
mov dword [esp + 0x70], edi
test byte [0x683984], 2
jne 0x499da0
or dword [0x683984], 2
mov ecx, 0x67fca0
mov dword [esp + 0x70], esi
call fcn.0055f9a0
push 0x5fbb30
call fcn.005a0bd2
add esp, 4
mov dword [esp + 0x70], edi
push str.pack
call fcn.00498f10
add esp, 4
test al, al
jne 0x499dc9
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.00519290
add esp, 0xc
xor al, al
jmp 0x499eb4
push ebx
call fcn.00403340
add esp, 4
test al, al
je 0x499de4
call fcn.00481000
push eax
call fcn.004f6b90
add esp, 4
push 0x18da8
call fcn.005a01ed
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], 2
test eax, eax
je 0x499e0c
mov ecx, eax
call fcn.004769d0
mov esi, eax
jmp 0x499e0e
xor esi, esi
push ebx
mov ecx, esi
mov dword [esp + 0x74], edi
call fcn.004ff480
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.0051f890
lea ecx, [esp + 0x24]
mov dword [esp + 0x70], 3
call fcn.00484a90
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x74], 4
call fcn.0051ffd0
add esp, 4
push str.eter.python
lea ecx, [esp + 0x18]
call fcn.0051fad0
test al, al
je 0x499e6a
lea ecx, [esp + 0x14]
push ebp
push ecx
call fcn.00499700
add esp, 8
mov bl, al
mov ecx, esi
call fcn.00474d10
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [esp + 0x14]
call sub.python27.dll_Py_Finalize
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 3
call fcn.00484a10
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], edi
call fcn.0051f8b0
mov ecx, esi
call fcn.004764b0
test esi, esi
je 0x499eb2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005a09eb
add esp, 0x60
ret