joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100059de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1001d1c4]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x100059fc
mov eax, 0x80070057
jmp 0x10005a43
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10008b50
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10005a43
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000477c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006cf8
leave
ret

Function at 0x10005dff
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
lea edi, [esp + 0x30]
mov eax, ebp
call fcn.10005fb2
mov edi, dword [esp + 0x30]
cmp dword [edi - 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
je 0x10005ed7
push edi
push 1
push str.EnableLogging
mov esi, str.LoggingSettings
push esi
call ebx
push edi
push 1
test eax, eax
push str.ShowTime
setne al
push esi
mov byte [ebp + 0x7c], al
call ebx
push edi
push 1
test eax, eax
push str.LogToFile
setne al
push esi
mov byte [ebp + 0x7e], al
call ebx
push edi
push 1
test eax, eax
push str.LogToOutputDebug
setne al
push esi
mov byte [ebp + 0x7f], al
call ebx
push edi
push 1
test eax, eax
push str.AppendToFile
setne al
push esi
mov byte [ebp + 0x84], al
call ebx
test eax, eax
setne al
mov byte [ebp + 0x85], al
push 0x104
lea eax, [ebp + 0x80]
lea edi, [esp + 0x24]
call fcn.100047b4
push dword [esp + 0x30]
push 0x104
push dword [eax + 4]
push str.DealPlyLive.log
push str.LogFilePath
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
call fcn.1000475e
mov edi, dword [esp + 0x30]
jmp 0x10005f02
push str.DealPlyLive.log
lea eax, [ebp + 0x80]
push eax
mov byte [ebp + 0x7c], 1
mov byte [ebp + 0x7e], 1
mov byte [ebp + 0x7f], 1
mov byte [ebp + 0x84], 1
mov byte [ebp + 0x85], 1
call fcn.1000477c
cmp byte [ebp + 0x7d], 0
je 0x10005f0c
mov byte [ebp + 0x7e], 1
xor eax, eax
mov byte [ebp], 1
mov dword [ebp + 4], 7
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x1001e088]
mov edx, dword [eax + 0x1001e08c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x10005f83
cmp edx, 0xb
jge 0x10005f83
push 3
pop esi
lea edi, [esp + 0x14]
mov eax, ebp
call fcn.10005fb2
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
je 0x10005f61
push edi
push esi
push dword [esp + 0x20]
push str.LoggingLevel
call ebx
mov esi, eax
mov eax, dword [esp + 0x1c]
lea eax, [ebp + eax*8]
test esi, esi
setne cl
mov byte [eax], cl
mov dword [eax + 4], esi
lea eax, [edi - 0x10]
call fcn.100022bf
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x10], eax
cmp eax, 0x50
jb 0x10005f1d
call fcn.10006160
mov dword [ebp + 0x88], eax
lea eax, [edi - 0x10]
mov dword [ebp + 0x8c], edx
call fcn.100022bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x100062d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x1001d1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.10008b50
mov esi, dword [0x10020984]
push 0
lea eax, [ebp - 0x80c]
call fcn.1000624a
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push str.baselogging.cc
push 0
push esi
mov esi, dword [ebp - 0x80c]
push esi
push dword [ebp + 8]
push str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
lea eax, [esi - 0x10]
call fcn.100022bf
lea eax, [ebp - 0x808]
push eax
call fcn.10006425
mov dword [esp], 0x250012
push str.Exception
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
pop esi
je 0x10006388
dec eax
jne 0x10006379
int3
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.10006cf8
leave
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10006425
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000648f
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edi, [esi + esi + 2]
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [esp + 0x10]
push eax
call fcn.10009090
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
test eax, eax
jne 0x10006488
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret

Function at 0x10006cf8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d1c4]
jne 0x10006d02
repz ret
jmp fcn.10009f9d
Function at 0x1000e8b7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000abdf
and dword [ebp - 4], 0
cmp dword [0x1001f99c], 0
mov ebx, eax
jne 0x1000e968
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ea19
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000ea19
push eax
call fcn.1000ab6d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001f99c], eax
call esi
push eax
call fcn.1000ab6d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001f9a0], eax
call esi
push eax
call fcn.1000ab6d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001f9a4], eax
call esi
push eax
call fcn.1000ab6d
pop ecx
mov dword [0x1001f9ac], eax
test eax, eax
je 0x1000e968
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000ab6d
pop ecx
mov dword [0x1001f9a8], eax
mov eax, dword [0x1001f9a8]
cmp eax, ebx
je 0x1000e9c0
cmp dword [0x1001f9ac], ebx
je 0x1000e9c0
push eax
call fcn.1000abe8
push dword [0x1001f9ac]
mov esi, eax
call fcn.1000abe8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000e9c0
test edi, edi
je 0x1000e9c0
call esi
test eax, eax
je 0x1000e9b7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000e9b7
test byte [ebp - 0xc], 1
jne 0x1000e9c0
or dword [ebp + 0x10], 0x200000
jmp 0x1000e9f9
mov eax, dword [0x1001f9a0]
cmp eax, ebx
je 0x1000e9f9
push eax
call fcn.1000abe8
pop ecx
test eax, eax
je 0x1000e9f9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000e9f9
mov eax, dword [0x1001f9a4]
cmp eax, ebx
je 0x1000e9f9
push eax
call fcn.1000abe8
pop ecx
test eax, eax
je 0x1000e9f9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001f99c]
call fcn.1000abe8
pop ecx
test eax, eax
je 0x1000ea19
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ea1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bd304
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x450548
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov eax, dword [0x45e0b4]
sub dword [ebx + 8], eax
mov eax, dword [0x45e0b0]
sub dword [ebx], eax
mov esi, 0x14
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edx
mov edx, dword [ebx]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.004502cc
mov ebp, eax
mov eax, dword [ebx + 4]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.004502cc
mov edi, eax
mov eax, dword [ebx + 8]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x45e00c]
mov edx, edi
call fcn.004502ec
xor eax, ebp
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x45e008]
mov edx, ebp
call fcn.004502ec
xor edi, eax
mov dword [ebx], edi
dec esi
test esi, esi
jne 0x450562
mov eax, dword [0x45e00c]
sub dword [ebx + 0xc], eax
mov eax, dword [0x45e008]
sub dword [ebx + 4], eax
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x451994
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x45199d
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push esi
xor ecx, ecx
mov dword [ebp - 0x200c], ecx
mov dword [ebp - 0x2008], ecx
mov dword [ebp - 0x2004], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x451a9c
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x1000
lea edx, [ebp - 0x2000]
mov word [edx], 0x20
add edx, 2
dec ecx
jne 0x4519dd
sub eax, 1
jb 0x4519f7
je 0x451a2d
dec eax
je 0x451a64
jmp 0x451a7e
lea eax, [ebp - 0x2000]
push eax
push 0x1000
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x2004]
lea edx, [ebp - 0x2000]
mov ecx, 0x1000
call fcn.004067e0
mov eax, dword [ebp - 0x2004]
mov edx, esi
call fcn.00418978
jmp 0x451a7e
push 0
push 0x1c
lea eax, [ebp - 0x2000]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 0x2008]
lea edx, [ebp - 0x2000]
mov ecx, 0x1000
call fcn.004067e0
mov eax, dword [ebp - 0x2008]
mov edx, esi
call fcn.00418978
jmp 0x451a7e
lea edx, [ebp - 0x200c]
xor eax, eax
call fcn.00404844
mov eax, dword [ebp - 0x200c]
mov edx, esi
call fcn.00419a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451aa3
lea eax, [ebp - 0x200c]
mov edx, 3
call fcn.004066b8
ret
Function at 0x347d000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x352ba6b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x354ef3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x3569358], eax
mov dword [0x3569218], 1
mov eax, dword [ebp + 0x14]
mov dword [0x356921c], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x3569220], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x3569224], eax
mov edx, dword [ebp + 8]
mov dword [0x3569228], edx
push 0x250
call fcn.034ea6d1
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0x347d09c
push 0
mov eax, dword [0x3569358]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.034c1920
mov dword [ebp - 0xc8], eax
jmp 0x347d0a6
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
mov dword [0x3569240], edx
call fcn.0349b2e0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x347d1bd
call fcn.034995c0
push eax
lea ecx, [ebp - 0x68]
call fcn.0347d390
mov dword [ebp - 4], 1
call fcn.034995e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0347d390
mov byte [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x3c], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x347d15f
lea edx, [ebp - 0x4c]
push edx
push 0x3550f10
lea eax, [ebp - 0x2c]
push eax
call fcn.0347d1e0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 3
mov edx, dword [0x3550f0c]
push edx
push 0
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0347d5f0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0347d540
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0x347d170
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xd0], ecx
jmp 0x347d179
lea edx, [ebp - 0x68]
mov dword [ebp - 0xd0], edx
push 0x40010
push 0
mov eax, dword [ebp - 0xd0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0347d540
mov byte [ebp - 4], 1
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.0347d540
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x35691a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.034eabce
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3484a00
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x354ef3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.03481730
add esp, 4
movzx edx, al
test edx, edx
je 0x3484a91
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.034ebb60
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x3484a8f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x3484a8f
jmp 0x3484a91
jmp 0x3484a13
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.034eabce
mov esp, ebp
pop ebp
ret
Function at 0x349a900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x349a96c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x349a9b3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.034efb28
add esp, 8
test eax, eax
jne 0x349a9b1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x349a9b5
jmp 0x349a963
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x34bfb50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x34bfbb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x34bfba7
mov edx, dword [0x35698c0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x34bfb9b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x34bfb80
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x34bfba9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x34c1e50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3530398
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x354ef3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
movsx ecx, byte [eax + 2]
test ecx, ecx
jne 0x34c1e96
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x34c1e96
mov ecx, dword [ebp - 0x80]
call fcn.034c1d50
mov eax, dword [ebp - 0x80]
movzx ecx, byte [eax + 1]
test ecx, ecx
jne 0x34c1f66
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx]
test eax, eax
jne 0x34c1f66
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x20c], 0
je 0x34c1f05
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x20c]
push ecx
call fcn.034cdd00
add esp, 8
mov dword [ebp - 0x78], eax
push 0
mov edx, dword [ebp - 0x78]
push edx
push 0x186
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x20c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x20c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x34c1f66
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x34c1f66
mov edx, dword [ebp - 0x80]
add edx, 2
push edx
lea ecx, [ebp - 0x74]
call fcn.034c9680
mov dword [ebp - 4], 0
push 0x10001
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.034cdaf0
add esp, 0x10
xor ecx, ecx
cmp eax, 2
sete cl
mov byte [ebp - 0x79], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.034815d0
movzx edx, byte [ebp - 0x79]
test edx, edx
je 0x34c1f66
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.034eabce
mov esp, ebp
pop ebp
ret 0xc
Function at 0x34ca870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3531147
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x354ef3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.034c9760
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.034c9760
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.034c9760
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.034ca170
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.034ca170
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.034ca170
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4