joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001730
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10010990
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x100018]
mov ecx, ebx
mov dword [ebp - 0x8000c], eax
mov dword [ebp - 0x80008], ebx
call fcn.10001c20
cmp dword [esi + 4], 0xffffffff
je 0x10001776
cmp byte [esi + 0x100038], 0
jne 0x10001791
mov ecx, ebx
call fcn.10001c30
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x8000c]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ecx
lea edx, [ebp - 0x80004]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp byte [ebp - 0x80004], 0xc1
jne 0x100017c6
mov eax, dword [ebp - 0x80002]
lea ecx, [edi - 3]
lea edx, [ebp - 0x80001]
jmp 0x100017d5
mov eax, dword [ebp - 0x80001]
lea ecx, [edi - 4]
lea edx, [ebp - 0x80000]
push eax
push ecx
push edx
call fcn.1000d3b0
mov eax, dword [esi + 0x100010]
add esp, 0xc
test eax, eax
jle 0x1000183a
lea ecx, [eax + edi]
cmp ecx, 0x80000
jle 0x10001818
mov ecx, esi
call fcn.10001530
mov ecx, ebx
call fcn.10001c30
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
push edi
lea edx, [ebp - 0x80004]
push edx
lea eax, [eax + esi + 0x80010]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [esi + 0x100010], edi
mov ecx, ebx
jmp 0x10001868
xor ebx, ebx
test edi, edi
jle 0x10001862
mov edx, dword [esi + 4]
push 0
push edi
lea ecx, [ebp + ebx - 0x80004]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001882
sub edi, eax
add ebx, eax
test edi, edi
jg 0x10001840
mov ecx, dword [ebp - 0x80008]
call fcn.10001c30
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100018c1
mov eax, dword [esi + 0x100010]
lea ecx, [eax + edi]
cmp ecx, 0x80000
jg 0x100018c1
push edi
lea edx, [ebp + ebx - 0x80004]
push edx
lea eax, [eax + esi + 0x80010]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [esi + 0x100010], edi
jmp 0x10001862
mov ecx, esi
call fcn.10001530
mov ecx, dword [ebp - 0x80008]
call fcn.10001c30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
Function at 0x100018f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x100018]
push edi
mov ecx, ebx
mov dword [ebp - 4], ebx
call fcn.10001c20
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10001950
lea ebx, [esi + 0x80010]
lea esp, [esp]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001960
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001920
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.10001c30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001997
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 4]
add esp, 0xc
call fcn.10001c30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10001530
mov ecx, dword [ebp - 4]
call fcn.10001c30
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001a70
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
push edi
mov edi, dword [ebp + 8]
je 0x10001afe
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10001ad5
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10001ad5
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 4]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10001b12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10001b12
mov ecx, esi
call fcn.10001530
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10001af7
push 0x80000
lea ecx, [esi + 0xc]
push 0
push ecx
call sub.MSVCR100.dll_memset
push 0x80000
lea edx, [esi + 0x80010]
push 0
push edx
mov dword [esi + 0x8000c], 0
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0x1013b9fc
push 0
push esi
push 0x100019b0
push 0
push 0
mov dword [esi + 0x100010], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x100034], eax
mov al, 1
pop edi
mov byte [esi + 0x100038], al
xor ecx, ebp
pop esi
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
Function at 0x10002040
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1013bafc], 0
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2a0], eax
jne 0x100021cc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1013bafc], eax
mov word [ebp - 0x29c], 0x5c1
call edi
and eax, 0x800000ff
jns 0x10002099
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [ebp + 8]
mov ecx, 0x10031108
mov byte [ebp - 0x29a], al
mov byte [ebp - 0x299], 0xd2
mov byte [ebp - 0x298], bl
call fcn.100015a0
test al, al
jne 0x100020dd
lea ecx, [ebp - 0x29c]
push ecx
call fcn.10001f10
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
mov word [ebp - 0x294], 0x85c1
call edi
and eax, 0x800000ff
jns 0x100020f6
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x292], al
mov byte [ebp - 0x291], 0xd2
mov byte [ebp - 0x290], bl
test esi, esi
jne 0x10002121
push 0x40
lea edx, [ebp - 0x28f]
push esi
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x1000212e
mov ecx, 0x10
lea edi, [ebp - 0x28f]
rep movsd dword es:[edi], dword [esi]
push 0x40
lea eax, [ebp - 0x24f]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [ebp - 0x2a0]
add esp, 0xc
test esi, esi
je 0x100021b1
push 0x40
lea ecx, [ebp - 0x24f]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100021b1
push 0x104
lea edx, [ebp - 0x20c]
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x100021aa
lea eax, [ebp - 0x20c]
push eax
call fcn.1000d320
push eax
lea ecx, [ebp - 0x24f]
push 0x100135ec
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, byte [ebp - 0x293]
push edx
lea eax, [ebp - 0x294]
push eax
mov ecx, 0x10031108
call fcn.10001730
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001092b
mov esp, ebp
pop ebp
ret

Function at 0x100031f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jle 0x10003218
mov ecx, dword [ebp + 8]
mov dl, byte [eax + ecx]
xor dl, byte [0x1013bb1e]
inc eax
sub dl, byte [0x1013bb1d]
mov byte [eax + ecx - 1], dl
cmp eax, esi
jl 0x10003200
pop esi
pop ebp
ret
Function at 0x10003e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10003e96
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push sym.MHPClient.dll_EntryProc
push 0
push 0
mov dword [0x1013bb48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10003ff0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x18]
push connect
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000404d
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10004061
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x10004099
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100040d7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100040d0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100040d0
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x100040f8
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1001092b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10004150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x10131354]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
xor al, al
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x10131358]
je 0x10004286
mov ebx, dword [ebp - 0x30]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esp, [esp]
cmp byte [edi], 0
jne 0x10004257
test al, al
jne 0x100041d8
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10003ff0
test al, al
je 0x10004286
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x10004254
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10004254
push 0
lea edx, [ebp - 0x48]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004254
mov edx, dword [ebp - 0x40]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
jmp 0x10004240
cmp ecx, 4
jb 0x1000429b
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10004254
sub ecx, 4
add eax, 4
jmp 0x10004240
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x10131358]
jne 0x100041a0
test al, al
je 0x10004286
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x38]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x44]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
Function at 0x10004490
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x218]
mov edx, dword [ebp + 0xc]
test eax, eax
js 0x1000459f
cmp eax, 1
jge 0x1000459f
push esi
mov esi, eax
imul esi, esi, 0x214
push edi
lea esi, [esi + ecx + 4]
inc eax
push edx
mov dword [ecx + 0x218], eax
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
push 0x100
push edi
mov dword [esi], eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000459d
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push edi
lea ebx, [esi + 0x110]
push str.._s_04d__02d__02d.log
push ebx
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
pop ebx
cmp eax, 0xffffffff
jne 0x10004578
pop edi
mov dword [esi], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000459d
mov edx, dword [esi + 0x210]
push edx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
Function at 0x100045b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test eax, eax
js 0x100047a9
cmp eax, dword [ecx + 0x218]
jge 0x100047a9
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
push esi
lea esi, [eax + ecx + 4]
je 0x100047a8
push ebx
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x80e]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x10004638
movzx edx, word [ebp - 0x812]
cmp edx, dword [esi + 0x108]
jne 0x10004638
movzx eax, word [ebp - 0x814]
cmp eax, dword [esi + 0x10c]
je 0x100046f5
mov ecx, dword [esi + 0x210]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x80e]
movzx ecx, word [ebp - 0x812]
movzx edx, word [ebp - 0x814]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
pop edi
cmp eax, 0xffffffff
jne 0x100046c0
pop ebx
mov dword [esi], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100046f5
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x803]
push 0
push ecx
mov byte [ebp - 0x804], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
push edx
push eax
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x403]
push 0
push edx
mov byte [ebp - 0x404], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x808]
movzx edx, word [ebp - 0x80a]
lea eax, [ebp - 0x804]
push eax
movzx eax, word [ebp - 0x80c]
push ecx
push edx
push eax
lea ecx, [ebp - 0x404]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x404]
add esp, 0x40
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004780
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x818]
push edx
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1013bb04], 0
push esi
mov esi, ecx
je 0x1000480f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1013bb04]
cmp eax, dword [ecx]
jne 0x10004850
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [ebp + 8]
call ebx
sub eax, dword [esi + edi*4 + 0xc]
cmp eax, 0x1388
jb 0x10004835
call ebx
mov dword [esi + edi*4 + 0xc], eax
mov dword [esi + edi*4 + 0x14], 0
inc dword [esi + edi*4 + 0x14]
cmp dword [esi + edi*4 + 0x14], 0x19
pop edi
pop ebx
jbe 0x10004850
push 0
push 0
push 9
call fcn.10002040
add esp, 0xc
pop esi
pop ebp
ret 4

Function at 0x10004990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1013baf0], 0
push esi
mov esi, ecx
je 0x100049ca
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
xor eax, eax
push 0x1013ba0c
push eax
push esi
push 0x10004910
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push eax
mov dword [esi + 0x14], eax
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
pop ebp
ret 4

Function at 0x10004c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREPointFireConfig
push connect
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004cc1
lea ecx, [ebp - 8]
push ecx
add esi, 4
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004cb7
push 0x100137d0
push 0x10
push esi
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004e20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, eax
and ebx, 2
push edi
mov edi, dword [ebp + 8]
jne 0x10004e5a
test al, 0xc
jne 0x10004e5a
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10004f94
push 0x104
lea eax, [ebp - 0x454]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10004f8d
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x454]
push edx
call fcn.1000e410
add esp, 0xc
test al, al
je 0x10004f8d
test ebx, ebx
je 0x10004ef8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x101313b0
call fcn.10004150
test al, al
jne 0x10004ef8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 1
call fcn.10002040
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
mov bl, byte [ebp + 0xc]
test bl, 4
je 0x10004f44
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x101313d4
call fcn.10004310
test al, al
jne 0x10004f44
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 2
call fcn.10002040
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
test bl, 8
je 0x10004f8d
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x10131330
call fcn.100030f0
test al, al
jne 0x10004f8d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 5
call fcn.10002040
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
Function at 0x100069f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100116cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc2c
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0xc38], ebx
mov dword [ebp - 0xc34], ebx
mov dword [ebp - 0xc30], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc38]
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.1000e2f0
add esp, 8
mov word [ebp - 0xc24], 0xac2
mov byte [ebp - 0xc22], 0xc
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x10006a6c
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 0xc34]
mov byte [ebp - 0xc21], al
mov eax, dword [ebp - 0xc38]
sub ecx, eax
sar ecx, 2
mov byte [ebp - 0xc20], 0x17
mov dword [ebp - 0xc1c], ecx
cmp ecx, ebx
jbe 0x10006b30
lea edx, [ebp - 0x718]
mov dword [ebp - 0xc28], edx
cmp ebx, 0x14
jge 0x10006b30
mov edx, dword [eax + ebx*4]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0xc38]
mov edx, dword [ecx + ebx*4]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [ebp - 0xc28]
mov eax, dword [ebp - 0xc28]
add edi, 0xfffffb00
mov ecx, 0x10
lea esi, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
add eax, 0x40
mov ecx, 0x10
lea esi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc34]
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0xc38]
sub ecx, eax
inc ebx
sar ecx, 2
cmp ebx, ecx
jb 0x10006aa4
push 0xa0c
lea edx, [ebp - 0xc24]
push edx
mov ecx, 0x10031108
call fcn.10001730
cmp dword [ebp - 0xc38], 0
mov dword [ebp - 4], 0xffffffff
je 0x10006b71
lea ecx, [ebp - 0xc38]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov eax, dword [ebp - 0xc38]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 4