joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3aaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3aa0
mov eax, 1
add ebx, ebx
jne 0x4b3ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3ad4
jne 0x4b3af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3af3
dec eax
add ebx, ebx
jne 0x4b3ae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3ab8
add ebx, ebx
jne 0x4b3aef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3b45
xor ecx, ecx
sub eax, 3
jb 0x4b3b0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3b7a
sar eax, 1
mov ebp, eax
jmp 0x4b3b16
add ebx, ebx
jne 0x4b3b16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ae4
inc ecx
add ebx, ebx
jne 0x4b3b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ae4
add ebx, ebx
jne 0x4b3b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3b26
jne 0x4b3b42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3b26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3b64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3b56
jmp 0x4b3aa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3b64
add edi, ecx
jmp 0x4b3aa6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3b82
cmp byte [edi], 0x11
jne 0x4b3b82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b3b87
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3bff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb61a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb62f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3bb4
mov ecx, edi
jns 0x4b3be3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb62f8]
or eax, eax
je 0x4b3bf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3bd1
call dword [esi + 0xb6308]
mov ebp, dword [esi + 0xb62fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b3c33
sub esp, 0xffffff80
jmp 0x416310
Function at 0x491f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x83000]
push edi
or ebp, 0xffffffff
jmp 0x491f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x491f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491f38
mov eax, 1
add ebx, ebx
jne 0x491f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x491f6c
jne 0x491f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491f8b
dec eax
add ebx, ebx
jne 0x491f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x491f50
add ebx, ebx
jne 0x491f87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x491fdd
xor ecx, ecx
sub eax, 3
jb 0x491fa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x492012
sar eax, 1
mov ebp, eax
jmp 0x491fae
add ebx, ebx
jne 0x491fae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491f7c
inc ecx
add ebx, ebx
jne 0x491fbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491f7c
add ebx, ebx
jne 0x491fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x491fbe
jne 0x491fda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x491fbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x491ffc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x491fee
jmp 0x491f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x491ffc
add edi, ecx
jmp 0x491f3e
pop esi
mov edi, esi
mov ecx, 0x1d8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49201a
cmp byte [edi], 4
jne 0x49201a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x49201f
lea edi, [esi + 0x8f000]
mov eax, dword [edi]
or eax, eax
je 0x492097
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeb594]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb5d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49204c
mov ecx, edi
jns 0x49207b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb5d4]
or eax, eax
je 0x492091
mov dword [ebx], eax
add ebx, 4
jmp 0x492069
call dword [esi + 0xeb5e4]
mov ebp, dword [esi + 0xeb5d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4920cb
sub esp, 0xffffff80
jmp 0x40342c
Function at 0x401130
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0043a379
add esp, 8
cmp eax, 0xffffffff
je 0x401154
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
neg eax
pop esi
ret
xor al, al
pop esi
ret

Function at 0x4014a0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0043a379
add esp, 8
cmp eax, 0xffffffff
jne 0x4014b9
mov al, 1
pop esi
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
test bl, bl
jne 0x4014e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x45b740
push 1
call fcn.00401160
push eax
call fcn.00408f80
add esp, 0x10
mov al, bl
pop ebx
pop esi
ret
Function at 0x4091c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4091d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409214
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x409210
lea ebx, [ebx]
cmp esi, eax
jae 0x409214
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x409200
cmp esi, eax
jb 0x40921a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x409910
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
lea edx, [ecx - 1]
cmp eax, edx
jne 0x409950
cmp eax, ecx
jae 0x409941
test eax, eax
mov esi, dword [esi + 0xd8]
jbe 0x40993c
sub eax, 1
mov esi, dword [esi + 8]
jne 0x409934
mov ecx, dword [esi + 4]
jmp 0x409943
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push 0
call fcn.0043b8b4
cmp eax, ecx
jae 0x40996d
test eax, eax
mov ecx, dword [esi + 0xd8]
jbe 0x409968
mov edi, edi
sub eax, 1
mov ecx, dword [ecx + 8]
jne 0x409960
mov ecx, dword [ecx + 4]
jmp 0x40996f
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x4099a6
add dword [esi + 0x94], 1
mov eax, dword [esi + 0x94]
push eax
mov ecx, esi
call fcn.004098a0
mov eax, dword [esi + 0x94]
push eax
mov ecx, esi
call fcn.00409480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
pop esi
jmp eax
pop esi
ret
Function at 0x40cb90
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
push 0x45d730
push eax
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40cbcb
mov ecx, dword [0x47158c]
push 0x10
push 0x45ba8c
push ecx
mov ecx, edi
call fcn.004252f5
pop edi
xor al, al
pop esi
pop ecx
ret 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40cbf5
mov edx, dword [0x47158c]
push 0x10
push 0x45ba8c
push edx
mov ecx, edi
call fcn.004252f5
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x40cc24
mov eax, dword [0x47158c]
push 0x10
push 0x45ba8c
push eax
mov ecx, edi
call fcn.004252f5
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor edi, edi
test esi, esi
jbe 0x40cc8e
mov ebp, dword [esp + 0x18]
mov eax, 0x400
sub eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x40cc4b
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, esi
push ebp
push 1
ja 0x40cc7c
push 0x400
push ebx
call fcn.0043c4b8
add edi, 0x400
add esp, 0x10
add ebx, 0x400
cmp edi, esi
jb 0x40cc47
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x18]
sub esi, edi
add edi, ecx
push esi
push edi
call fcn.0043c4b8
add esp, 0x10
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x40d040
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 4], 0x103
jne 0x40d085
mov edx, dword [esi + 0xc]
push 0x103
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x1e], al
mov byte [esi + 0x1c], 1
pop esi
pop ecx
ret
mov byte [esi + 0x1e], 0
mov byte [esi + 0x1c], 1
pop esi
pop ecx
ret

Function at 0x40d180
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40d1b3
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x40d100
push 0
push 0
call fcn.0043de19
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
mov byte [esi + 0x1c], 0
mov byte [esi + 0x1d], 0
setne al
pop esi
ret
cmp byte [esi + 0x1d], 0
je 0x40d1d0
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x40d1cc
xor al, al
pop esi
ret
mov byte [esi + 0x1d], 0
mov al, 1
pop esi
ret
Function at 0x40d2c0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x458918
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebp, eax
call fcn.0041d9ab
add esp, 4
mov ebx, eax
push ebx
push ebp
mov dword [ebx], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40d444
call fcn.0042938c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d32e
push 0x80004005
call fcn.00404770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x24]
push edi
lea ecx, [esp + 0x18]
push 0x45b7f0
push ecx
mov dword [esp + 0x2c], 0
call fcn.0040a600
mov ecx, dword [str.ui_launch_dx_bak.exe]
xor eax, eax
add esp, 0xc
test ecx, ecx
setne al
test eax, eax
jne 0x40d377
push 0x80004005
call fcn.00404770
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.0043dd0c
add esp, 8
test eax, eax
sete al
test al, al
je 0x40d3c8
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d3b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40d420
push edi
lea ecx, [esp + 0x18]
push 0x45b7f0
push ecx
call fcn.0040a600
mov eax, dword [str.ui_launch_dx_bak.exe]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
test ecx, ecx
je 0x40d324
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.0043dd0c
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40d38e
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40d3d3
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40e2b0
Capabilities:
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x458b78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xbc]
xor ebx, ebx
cmp esi, ebx
je 0x40e325
cmp byte [esi + 0x1c], bl
jne 0x40e302
cmp byte [esi + 0x1d], bl
jne 0x40e302
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x40e302
mov byte [esi + 0x1d], 1
mov ecx, dword [edi + 0xbc]
call fcn.0040d040
mov ecx, dword [edi + 0xbc]
cmp ecx, ebx
je 0x40e31f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0xbc], ebx
cmp dword [edi + 0xb0], ebx
je 0x40e428
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ebp, 0x10
cmp dword [edi + 0xb4], ebp
mov dword [esp + 0x30], ebx
jb 0x40e356
mov eax, dword [edi + 0xa0]
jmp 0x40e35c
lea eax, [edi + 0xa0]
push 1
push ebx
push ebx
push 0x45d97c
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404560
add esp, 0x18
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40e3cb
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x40e3cb
push esi
lea ecx, [esp + 0x1c]
call fcn.00402a20
cmp dword [eax + 0x18], ebp
jb 0x40e3ba
mov eax, dword [eax + 4]
push eax
call fcn.004014a0
add esp, 4
add esi, 1
jmp 0x40e375
add eax, 4
push eax
call fcn.004014a0
add esp, 4
add esi, 1
jmp 0x40e375
cmp dword [edi + 0xb4], ebp
jb 0x40e3db
mov eax, dword [edi + 0xa0]
jmp 0x40e3e1
lea eax, [edi + 0xa0]
push eax
call fcn.00401130
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x30], 0xffffffff
je 0x40e41c
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004026b0
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041d9db
add esp, 0x14
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, edi
call fcn.0040d6b0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40e450
Capabilities:
Set registry value
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x458bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040e2b0
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push str.SOFTWAREH3DQQDancer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, 0x474b90
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e4b0
mov ecx, dword [esp + 0x14]
sub eax, edx
add eax, 1
push eax
push 0x474b90
push 1
push 0
push 0x45d9d0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x98]
lea eax, [esp + 0x10]
push eax
call fcn.0040aa90
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.00411df0
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 1
call fcn.004123d0
test al, al
jne 0x40e536
push 0
push 0x10
push 0x45d9b8
call fcn.00420446
push 1
call fcn.0043b8b4
push 0x45d9b0
lea ecx, [esp + 0x1c]
call fcn.004117d0
test eax, eax
jne 0x40e55c
push eax
push 0x10
push 0x45d99c
call fcn.00420446
push 1
call fcn.0043b8b4
push str.auto_patch_client
mov ecx, eax
call fcn.00411a90
mov ebp, eax
push 0x45d980
push ebp
call fcn.00410990
mov edi, eax
add esp, 8
test edi, edi
je 0x40e61b
mov ecx, dword [esi + 0x98]
call fcn.004092e0
mov ecx, edi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40e5b0
test dl, dl
je 0x40e5ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40e5b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x40e590
xor eax, eax
jmp 0x40e5b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e5df
mov ecx, dword [esi + 0x98]
call fcn.004092e0
push eax
push 0x45d980
mov ecx, ebp
call fcn.00411b90
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
call fcn.00410a90
mov eax, dword [esi + 0xe0]
push 0
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x98]
push 1
add ecx, 0xdc
call fcn.004235c0
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x98]
call fcn.00409910
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0
call fcn.00404b20
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x80], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043a2e3
add esp, 0x74
ret
Function at 0x40fc90
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x458e78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x40fce4
mov ecx, dword [esi + 0x74]
call fcn.00423273
mov ecx, dword [esi + 0x74]
cmp ecx, edi
je 0x40fcdb
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x74], edi
mov dword [esi + 0x8c], edi
mov ebx, dword [esp + 0x3c]
cmp ebx, edi
mov dword [esi + 0x90], edi
je 0x40fd4b
push 8
call fcn.0041d9ab
add esp, 4
cmp eax, edi
je 0x40fd0b
mov dword [eax + 4], edi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
mov dword [esi + 0x74], edi
call fcn.0042274e
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00423220
test eax, eax
je 0x40fe18
mov eax, 1
mov ecx, esi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.0040f4a0
jmp 0x40fe13
mov ebx, dword [esp + 0x40]
push 0x2050
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebp, eax
cmp ebp, edi
jne 0x40fd77
push edi
push edi
push 0x45deec
call fcn.00420446
push edi
call fcn.0043b8b4
push ebp
call fcn.00423212
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp word [esp + 0x26], 0x18
je 0x40fe05
call fcn.0042938c
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40fdb0
push 0x80004005
call fcn.00404770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x26]
push ecx
push ebx
lea edx, [esp + 0x44]
push str._s__i
push edx
mov dword [esp + 0x44], edi
call fcn.0040a600
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00423212
push eax
mov ecx, esi
call fcn.0040f960
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8

Function at 0x40feb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458638
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004205a9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], 0
mov dword [esi], vtable.CBitmapDialog.0
call fcn.0040fe40
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x411ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458f23
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edx, edx
lea edi, [esi + 0x14]
mov dword [edi + 0x14], edx
mov ecx, 0xf
mov dword [edi + 0x18], ecx
mov byte [edi + 4], dl
mov ebx, 1
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
lea eax, [esi + 0x38]
mov dword [esi], vtable.TiXmlElement.0
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x20], ecx
mov dword [eax + 0x1c], edx
mov byte [eax + 0xc], dl
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], edx
mov byte [eax + 0x28], dl
mov dword [esp + 0x20], edx
mov dword [eax + 0x44], eax
mov dword [eax + 0x40], eax
mov byte [esp + 0x20], bl
mov ebx, dword [esp + 0x28]
mov eax, ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edx
lea ebp, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, dl
jne 0x411b60
sub eax, ebp
push eax
push ebx
mov ecx, edi
call fcn.00401f40
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x411df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x459073
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x14]
mov eax, 0xf
mov dword [edi + 0x18], eax
mov byte [edi + 4], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov dword [esp + 0x20], ebx
mov byte [esi + 0x44], bl
mov edx, dword [esp + 0x28]
mov eax, edx
mov byte [esp + 0x20], 1
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x411e61
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.00401f40
mov byte [esi + 0x38], bl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4