joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000af8f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x1000aff3
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x1000afdc
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x1000afcb
xor ecx, eax
xor edx, ebx
dec edi
jne 0x1000afbc
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x10013519
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x10178123]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001355c
push 0x2b
push 0x4047c82
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x1016e311]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001a75
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.100eba90
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100135af
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100135e5
push 0x84
push 0x4047c82
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10013601
push eax
mov ebx, eax
call fcn.10001271
inc eax
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10013606
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10013617
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a8c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1001a908
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001a919
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001a930
mov eax, 0x1016e301
push eax
push 1
mov ebx, 0x194
call fcn.100ec920
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.100040ee
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.10006bfc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001a9a6
push 0x146
push 0x4047b99
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x1016f46b
push 3
mov ebx, 0x914
call fcn.100ecf50
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001aa25
push 0xba6
push 0x4047b99
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001aa5b
push 0xbd2
push 0x4047b99
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x1001aa75
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1001aa7a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001aa8b
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001ab7b
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, htons
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x1001ac18
mov esp, ebp
pop ebp
ret

Function at 0x1001ad26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x184
call fcn.100eba90
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001ad6b
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0x28
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001adaa
push 0x5e
push 0x4047c04
push 6
call fcn.100eb0bb
add esp, 0xc
push 0x1016e2ef
push dword [ebp - 4]
call fcn.100032c4
add esp, 8
cmp eax, 0
je 0x1001adc3
mov eax, 0x1016e301
jmp 0x1001adcd
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001adde
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b1f7
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001b24e
push 0x2b
push 0x4047bbb
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001b265
mov eax, 0x1016e2ef
jmp 0x1001b2e9
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x90c
call fcn.100ebfa0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001b298
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001b2c8
push 0xef
push 0x4047bbb
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001b2e4
push eax
mov ebx, eax
call fcn.10001271
inc eax
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1001b2e9
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001b2fa
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d629
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x1001d876
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x1001d773
cmp byte [edx + edi], 0xd
jne 0x1001d773
cmp byte [edx + edi + 1], 0xa
je 0x1001d7ac
mov al, byte [edx + edi]
cmp al, 0xa
je 0x1001d7ac
cmp al, 0x3d
jne 0x1001d788
inc ecx
cmp ecx, 2
ja 0x1001d884
cmp al, 0x7f
ja 0x1001d884
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x1001d884
cmp al, 0x40
jae 0x1001d7ab
test ecx, ecx
jne 0x1001d884
inc esi
inc edx
cmp edx, ebx
jb 0x1001d75d
test esi, esi
je 0x1001d876
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x1001d895
cmp dword [ecx], eax
jb 0x1001d895
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x1001d865
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x1001d861
cmp al, 0xa
je 0x1001d861
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x1001d861
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x1001d84c
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x1001d859
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x1001d861
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x1001d7fd
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x100237b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100237d6
mov eax, 0x1016e301
push eax
push 1
mov ebx, 0x194
call fcn.100ec920
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 8], esp
je 0x1002382c
push 0x19
push 0x4017f22
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002384e
mov eax, dword [eax]
test eax, eax
je 0x1002384e
push ecx
push esi
push edi
mov ecx, dword [eax + 4]
lea esi, [eax + 8]
mov edi, dword [ebp + 8]
cld
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b291
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov dword [ebp + 8], eax
mov ebx, dword [esi + 4]
bswap ebx
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [edi + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x1002b2ae
mov edi, dword [ebp + 8]
xor edx, edx
lea esi, [edx + 0x10]
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shr ecx, 5
mov eax, ebx
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x1002b2c5
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1002b73a
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov edi, eax
mov eax, dword [esi + 4]
bswap eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x1002b759
mov ebx, dword [ebp + 8]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x1002b775
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003d1eb
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0x24
call fcn.100eb0b5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x1003d343
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
push 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1003d25a
push 0x4f
push 0x4048e93
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x1c
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Thread32First]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1003d29b
push 0xb4
push 0x4048e93
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003d317
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], eax
jne 0x1003d2e3
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.1003d366
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1003d312
push 0x19e
push 0x4048e93
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x1003d29e
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1003d343
push 0x1d4
push 0x4048e93
push 6
call fcn.100eb0bb
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.10001338
jmp 0x1003d352
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8

Function at 0x1003d9f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003da25
push 0x12
push 0x4048e95
push 6
call fcn.100eb0bb
add esp, 0xc
jmp 0x1003da2a
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e705
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e73a
push 0x24
push 0x4048e96
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
mov eax, 0
sete al
jmp 0x1003e74e
mov esp, ebp
pop ebp
ret 4

Function at 0x1003eafb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x1003eb16
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1f4
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003eb53
push 0x31
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x10178017], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x3e8
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003eb95
push 0x82
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x1017801f], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1f4
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003ebd7
push 0xd3
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x1017801b], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1f4
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003ec19
push 0x124
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x1017800b], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1f4
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003ec5b
push 0x175
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x10178013], eax
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x1f4
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003ec9d
push 0x1c6
push 0x4018053
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [0x10178033], eax
push 0x448aa4
call fcn.100240d1
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10170a6e]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.10001a75
mov dword [0x1017800f], eax
push dword [0x1017800f]
call fcn.100240d1
mov dword [0x1017800f], eax
push dword [0x1017800f]
call fcn.100240d1
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10170a76]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.10001a75
mov dword [0x1017800f], eax
push 0x80000301
push 0
push dword [0x1017800f]
push 1
mov ebx, 0xa5c
call fcn.100ee980
add esp, 0x10
mov dword [0x1017800f], eax
jmp 0x1003ed3f
mov esp, ebp
pop ebp
ret
Function at 0x1004ad0c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push str.SELECT__FROM_Code_WHERE_Code.Code___d
push 2
mov ebx, 0x150
mov eax, 0x100f3670
call fcn.100eb9d0
add esp, 0x1c
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1004ad66
mov eax, 0x1016e2ef
push eax
push 0x70001
push 0
push dword [0x1017803b]
push 2
mov ebx, 0x84
mov eax, 0x100f4aa0
call fcn.100eb9d0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1004ad9e
push ebx
call fcn.100eb0a9
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x1017806b]
push ebx
push 0x70003
push 0
push ebx
push 1
mov ebx, 0x2d8
mov eax, 0x100f4510
call fcn.100eb9d0
add esp, 0x10
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [0x1017806b], eax
push 0x70003
push 0
push dword [0x1017806b]
push 1
mov ebx, 0x2f8
mov eax, 0x100f4620
call fcn.100eb9d0
add esp, 0x10
push 0x70003
push 0
push dword [0x1017806b]
push 1
mov ebx, 0x318
mov eax, 0x100f46c0
call fcn.100eb9d0
add esp, 0x10
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x70003
push 0
push dword [0x1017806b]
push 3
mov ebx, 0x35c
mov eax, 0x100f4720
call fcn.100eb9d0
add esp, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1004ae68
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push 0x70003
push 0
push dword [0x1017806b]
push 3
mov ebx, 0x360
mov eax, 0x100f4830
call fcn.100eb9d0
add esp, 0x28
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x1004aed1
lea eax, [ebp - 4]
push eax
push 0x10177fb3
call fcn.1004af29
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1004aed1
mov eax, 1
jmp 0x1004aed6
mov eax, 0
test eax, eax
je 0x1004aee5
mov dword [ebp - 8], 6
push 0x70003
push 0
push dword [0x1017806b]
push 1
mov ebx, 0x2fc
mov eax, 0x100f4660
call fcn.100eb9d0
add esp, 0x10
mov eax, dword [ebp - 8]
jmp 0x1004af11
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1004af22
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1004bd79
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 4], esp
je 0x1004bdc4
push 0
push 0x401eaba
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
pop dword [eax]
mov esp, ebp
pop ebp
ret 8
Function at 0x1004db39
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1004db5c
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1004db5c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1004db66
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x1004dba8
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x1004dc0a
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1004dc05
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1004dbf0
test dl, dl
je 0x1004dbec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1004dbf0
add ecx, 2
add eax, 2
test dl, dl
jne 0x1004dbd0
xor eax, eax
jmp 0x1004dbf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004dc16
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x1004dbbd
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8