joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005feae
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005fed0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005fed0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005fed0
ret
cmp word [ebx + 4], 0x14c
jne 0x1005fed0
test word [ebx + 0x16], 2
je 0x1005fed0
test word [ebx + 0x16], 0x100
je 0x1005fed0
cmp word [ebx + 0x18], 0x10b
jne 0x1005fed0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005fed0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005ff5c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005fef0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10046e3b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005fed0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1005ff5c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005fed0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005fed0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005fed0
ret
cmp word [ebx + 4], 0x14c
jne 0x1005fed0
test word [ebx + 0x16], 2
je 0x1005fed0
test word [ebx + 0x16], 0x100
je 0x1005fed0
cmp word [ebx + 0x18], 0x10b
jne 0x1005fed0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005fed0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005ff5c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005fef0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10046e3b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005fed0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10060013
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006006c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10060013
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10060022
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10465cc5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10060073
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10046ee9
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10060112
add edi, 4
add eax, 2
dec ecx
jne 0x10060058
call 0x100600bf
loope 0x100600b5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006010f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10060120
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100600d3
cmp eax, ecx
ja 0x100600d3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006015d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10060153
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100473c8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10060022
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006006c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10060013
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10060022
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10465cc5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10060073
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10046ee9
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10060112
add edi, 4
add eax, 2
dec ecx
jne 0x10060058
call 0x100600bf
loope 0x100600b5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006010f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10060120
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100600d3
cmp eax, ecx
ja 0x100600d3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006015d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10060153
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100473c8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10001bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.hNtdll:__p_n
call fcn.1001db20
add esp, 8
cmp dword [ebp - 8], 0
jne 0x10001c38
mov eax, dword [0x10082004]
add eax, 4
push eax
push str.f:magicwar_conquer_serve_source_
push str.hNtdll
call fcn.1001cf20
add esp, 0xc
mov esi, esp
push str.RtlGetFullPathName_U
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10001c74
mov eax, dword [0x10082004]
add eax, 8
push eax
push str.f:magicwar_conquer_serve_source_
push str.RtlGetFullPathName_U_o
call fcn.1001cf20
add esp, 0xc
push 5
push 0x100012c0
mov eax, dword [ebp - 0x14]
push eax
call fcn.100039c0
add esp, 0xc
mov dword [0x10083b80], eax
mov dword [ebp - 0x20], 0
mov esi, esp
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
mov ecx, dword [0x10083b80]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10001cd5
mov eax, dword [0x10082004]
add eax, 0xf
push eax
push str.f:magicwar_conquer_serve_source_
push str.bProtectRet
call fcn.1001cf20
add esp, 0xc
push edx
mov ecx, ebp
push eax
lea edx, [0x10001cfc]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x100039c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
add eax, 5
push eax
call fcn.1001cec0
add esp, 4
mov dword [ebp - 8], eax
mov esi, esp
lea eax, [ebp - 0x14]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1001e970
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
sub eax, 5
mov ecx, dword [ebp - 8]
mov dword [ecx + 1], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + 1], eax
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0x10]
push edx
mov ecx, ebp
push eax
lea edx, [0x10003aa4]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10003ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 1], ecx
mov dword [ebp - 0x2c], 5
jmp 0x10003b28
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x10003b3b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x2c]
mov byte [eax], 0x90
jmp 0x10003b1f
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x10003b84]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x10003c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
add ecx, 0x14
cmp dword [ebp - 0x20], ecx
je 0x10003cf0
cmp dword [ebp - 0x20], 0
je 0x10003cf0
mov eax, dword [ebp - 0x20]
sub eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
push edx
call fcn.10003d10
add esp, 8
test eax, eax
je 0x10003ce6
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
jmp 0x10003cf2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
jmp 0x10003caa
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x10003ff0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
push ebx
push esi
push edi
lea edi, [ebp - 0x2fc]
mov ecx, 0xbf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008267c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x48], 0
push 0x31
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.1001fa60
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x10004039
xor eax, eax
jmp 0x1000415c
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10004063
xor eax, eax
jmp 0x1000415c
mov esi, esp
push 0x1006bad8
mov edi, esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.1001adf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x60], eax
mov esi, esp
push 4
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001ddc0
add esp, 4
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x54], eax
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001ddc0
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 0xc]
push eax
push str._s_tried_to_be_loaded__n
lea ecx, [ebp - 0x168]
push ecx
call fcn.1001c0a0
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push 0xc000
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp esi, esp
call fcn.1001adf0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x1000418c]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b8b0
add esp, 0x2fc
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x10004320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
mov esi, esp
lea eax, [ebp - 0x14]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp esi, esp
call fcn.1001adf0
mov byte [ebp - 0x1d], 0x90
mov dword [ebp - 0x2c], 0
jmp 0x10004387
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jae 0x100043b3
mov esi, esp
push 0
push 1
lea eax, [ebp - 0x1d]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1001adf0
jmp 0x1000437e
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp esi, esp
call fcn.1001adf0
push edx
mov ecx, ebp
push eax
lea edx, [0x100043fc]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10004580
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100045bd
jmp 0x10004607
mov esi, esp
push str.DbgBreakPoint
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100045e0
jmp 0x10004607
mov esi, esp
lea eax, [ebp - 0x20]
push eax
push 0x40
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
test eax, eax
jne 0x10004601
jmp 0x10004607
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xc3
push edx
mov ecx, ebp
push eax
lea edx, [0x1000462c]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x10004d10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push str.._config1.txt
push 0
push str.Talisman
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne al
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x100059f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 1], ecx
mov dword [ebp - 0x2c], 5
jmp 0x10005a58
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jae 0x10005a6b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x2c]
mov byte [eax], 0x90
jmp 0x10005a4f
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1001adf0
push edx
mov ecx, ebp
push eax
lea edx, [0x10005ab0]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10005bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x40
push 0x3000
mov eax, dword [ebp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1001f840
add esp, 0x10
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 1], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100059f0
add esp, 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x10006a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x108]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008267c]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x10006b32
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 8]
push eax
push str.closed_TITLE_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call fcn.1001c0a0
add esp, 0xc
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002040
mov dword [ebp - 0x108], eax
call fcn.10004a40
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x10006b64]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b8b0
add esp, 0x108
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10006b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x108]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008267c]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x10006c26
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [ebp + 8]
push eax
push str.closed_CLASSEWINDOW_:__s__n
lea ecx, [ebp - 0x34]
push ecx
call fcn.1001c0a0
add esp, 0xc
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10002040
mov dword [ebp - 0x108], eax
call fcn.10004a40
add esp, 0x20
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
mov ecx, ebp
push eax
lea edx, [0x10006c58]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b8b0
add esp, 0x108
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x100071f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 0x14], eax
mov esi, esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1001adf0
push edx
mov ecx, ebp
push eax
lea edx, [0x10007280]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10007cc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push str.._config1.txt
push 0x78
push 0x1006c240
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.1001adf0
mov dword [ebp - 8], eax
push 2
push 0x1006c23c
push 0x47b5c6
call fcn.1001e970
add esp, 0xc
mov eax, dword [0x10083dc8]
cmp eax, dword [ebp - 8]
jge 0x10007d62
cmp dword [0x10083dc8], 0
jle 0x10007d62
push 0
mov eax, 0x3e8
cdq
idiv dword [0x10083dc8]
push eax
push 0x47b5c3
call fcn.10005c60
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [0x10083dc8]
push eax
push 0x47b5cc
call fcn.10005c60
add esp, 0xc
jmp 0x10007d94
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5c3
call fcn.10005c60
add esp, 0xc
push 0
mov eax, 0x3e8
cdq
idiv dword [ebp - 8]
push eax
push 0x47b5cc
call fcn.10005c60
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret