joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004e40
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x100fd174
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100d42a1
add esp, 0xc
test eax, eax
je 0x10004e79
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100d42e8
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10004ea5
call fcn.100d44ff
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100d4708
add esp, 0x10
test eax, eax
je 0x10004efb
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10004ec2
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100d4708
add esp, 0x10
test eax, eax
jne 0x10004ec0
pop esi
push ebx
call fcn.100d4843
push dword [ebp + 0xc]
call fcn.100d44ff
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1010a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100f5670
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100d09ae
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10006511
push 0x64
push 0
push ebx
call fcn.100d2b30
lea eax, [ebx + 4]
mov byte [ebx], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.100d0575
lea eax, [ebx + 0x34]
push eax
call fcn.100cfdcc
add esp, 0xc
mov dword [0x108994bc], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10004fd0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10853ef0
mov dword [0x10899524], eax
call fcn.100d0591
add esp, 4
test eax, eax
jne 0x1000652c
mov eax, dword [0x10853f1c]
cmp eax, 0x7fffffff
je 0x10006533
test edi, edi
je 0x10006429
movups xmm0, xmmword [edi]
movups xmmword [0x108a1fa8], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10006433
xorps xmm0, xmm0
movups xmmword [0x108a1fa8], xmm0
movq qword [0x108a1fb8], xmm0
xorps xmm0, xmm0
push 0x10853ef0
movups xmmword [0x108a21c0], xmm0
movq qword [0x108a21d0], xmm0
call fcn.100d05a2
add esp, 4
cmp dword [0x108996bc], 0
jne 0x1000651b
mov dword [0x108a63e0], 0x1010ac88
test esi, esi
je 0x1000649c
cmp byte [esi], 0
mov ecx, 0x108a63f0
je 0x10006499
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10006499
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10006486
mov byte [ecx], 0
mov esi, dword [0x108994bc]
mov al, 1
mov dword [0x108996bc], 0x108a63e0
mov dword [0x108a63e8], 0x10006930
mov dword [0x108a63ec], 0x10006940
xchg byte [esi], al
push 4
call fcn.100d097e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10006d80
push 0
push 0
call fcn.100d94aa
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10006545
cmp dword [esi + 0x60], 0
jne 0x10006540
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d0970
mov esp, ebp
pop ebp
ret
mov dword [0x108994bc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d0970
mov esp, ebp
pop ebp
ret
push 5
call fcn.100d0423
dec eax
push 6
mov dword [0x10853f1c], eax
call fcn.100d0423
call fcn.100d953b
push 6
mov dword [ebp - 0x4c], 0
call fcn.100d0423
int3
Function at 0x10007570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x108996bc]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100d25b0
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10007627
mov eax, dword [edi]
test eax, eax
je 0x100075e0
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100075e0
test ebx, ebx
je 0x100075e0
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x100075e0
cmp dword [ebp + 0xc], esi
je 0x10007627
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10007600
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100075f4
cmp eax, 1
jne 0x10007600
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10013bc0
test al, al
je 0x10013aec
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
mov dword [0x958d4f], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
mov dword [0x958d88], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
mov dword [0x958dbe], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
mov dword [0x958dda], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
mov byte [0x5be217], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be237
call esi
lea eax, [ebp - 4]
mov byte [0x5be237], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be237
call esi
push 0x10013c70
push 0x787070
push 0xe8
call fcn.100ceb10
push 0x7870be
push 0x787078
push 0xe9
call fcn.100ceb10
push 0x10013da0
push 0x786d60
push 0xe8
call fcn.100ceb10
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100ceb10
add esp, 0x30
pop esi
cmp dword [0x102df8dc], 0
jbe 0x10013bb0
push 0x100140e0
push 0x5b8619
push 0xe8
call fcn.100ceb10
push 0x100140e0
push 0x786ca4
push 0xe8
call fcn.100ceb10
mov eax, dword [0x102df8dc]
add esp, 0x18
cmp eax, 2
je 0x10013b33
cmp eax, 4
jne 0x10013b42
push 0x1c0f
call fcn.1004b4d0
mov eax, dword [0x102df8dc]
cmp eax, 3
je 0x10013b4c
cmp eax, 4
jne 0x10013bb0
push 0x180f
call fcn.1004b4d0
push 0x1c0d
call fcn.1004b4d0
push 0x1c0e
call fcn.1004b4d0
push 0x1c10
call fcn.1004b4d0
push 0x1c16
call fcn.1004b4d0
push 0x1c1f
call fcn.1004b4d0
push 0x1c29
call fcn.1004b4d0
push 0x1c2a
call fcn.1004b4d0
push 0x1c2b
call fcn.1004b4d0
push 0x1c2c
call fcn.1004b4d0
mov esp, ebp
pop ebp
ret
Function at 0x10019940
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bd7f8]
cmp byte [0x102bd79d], 0
je 0x10019a0e
cmp dword [ebp + 0xc], 0
jne 0x100199af
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102bd7e8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10019a0e
comiss xmm1, dword [0x102bd7f0]
ja 0x10019a0e
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bd7ec]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10019a0e
comiss xmm1, dword [0x102bd7f4]
ja 0x10019a0e
cmp dword [ebp + 8], 0x201
jne 0x100199c6
mov byte [0x102bd7fc], 1
mov al, 1
pop esi
pop ebp
ret 8
mov byte [0x102bd7fc], 0
cmp eax, 0x1f4
jb 0x10019a0e
call esi
mov dword [0x102bd7f8], eax
mov eax, dword [0x10119c3c]
cmp eax, 6
je 0x100199fd
cmp eax, 7
je 0x100199fd
push dword [0x10119c4c]
push eax
call fcn.10019b20
call esi
mov dword [0x108996b8], eax
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
xor al, al
pop esi
pop ebp
ret 8
Function at 0x1001d9b0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1010a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1001da1c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d0970
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100d0970
mov esp, ebp
pop ebp
ret
Function at 0x10023a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x102bc7dd], 1
jne 0x10023a5b
mov byte [0x102bc7dd], 0
mov dword [0xe8cb3c], 0
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102bb098]
cmp eax, 0x5dc
jae 0x10023a76
mov byte [0x102bc7dd], 0
ret
mov ecx, 0x102ba770
call fcn.1007d300
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102bc7d8], eax
mov byte [0x102bc7dd], 1
mov dword [0xe8cb3c], 1
ret
Function at 0x100250e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x102df734], 2
je 0x10025212
push esi
push edi
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x10025210
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bb998]
cmp eax, 0x3e8
jb 0x10025210
call esi
cmp byte [0x102bb99d], 1
mov dword [0x102bb998], eax
jne 0x100251c2
pop edi
mov byte [0x102bb99d], 0
mov dword [0xe8cb3c], 0
pop esi
ret
mov ecx, 0x102ba770
call fcn.1007d300
mov eax, 0x10894de8
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x10895428
jl 0x100251d1
mov dword [0x10894de0], 0
mov dword [0x10895438], 0
mov dword [0x10895428], 2
mov byte [0x102bb99d], 1
mov dword [0xe8cb3c], 1
pop edi
pop esi
ret
Function at 0x10028b10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bb0f8]
cmp eax, 0x5dc
jb 0x10028b95
cmp byte [0x102bb0fd], 1
jne 0x10028b4b
mov byte [0x102bb0fd], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [0x1089545c]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
mov edx, 6
mov byte [ebp - 3], 0
mov dword [ebp - 8], 0xd0f306c1
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.100c4b10
call esi
mov dword [0x10895460], eax
call esi
mov dword [0x102bb0f8], eax
mov byte [0x102bb0fd], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100343f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102df7e8], 1
push ebx
push esi
push edi
jne 0x10034607
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x102bdfdd], 0
mov ebx, eax
mov dword [ebp - 8], ebx
je 0x10034607
mov edx, dword [0x10899520]
imul esi, edx, 0x19
lea ecx, [esi + 0x19]
cmp esi, ecx
jge 0x10034607
lea ecx, [esi + esi*2]
shl ecx, 5
add ecx, 0x102c12d8
mov dword [ebp - 4], ecx
mov eax, 0x879340c
movd xmm1, dword [eax]
movsx eax, si
add eax, 0x11e
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x102ba788]
comiss xmm0, xmm1
ja 0x100345f2
comiss xmm1, dword [eax + 0x102ba790]
ja 0x100345f2
movd xmm1, dword [0x8793410]
movss xmm0, dword [eax + 0x102ba78c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100345f2
comiss xmm1, dword [eax + 0x102ba794]
ja 0x100345f2
cmp dword [ebp + 8], 0x201
je 0x10034612
mov eax, ebx
mov byte [ecx + 4], 0
sub eax, dword [ecx]
cmp eax, 0x12c
jb 0x10034607
lea ecx, [esi - 0x2d]
xor edi, edi
or eax, 0xffffffff
cmp ecx, 4
ja 0x100344d4
lea edi, [eax + 0xa]
mov eax, ecx
lea ecx, [esi - 0x28]
cmp ecx, 4
ja 0x100344e3
mov edi, 8
mov eax, ecx
lea ecx, [esi - 0x23]
cmp ecx, 4
ja 0x100344f2
mov edi, 7
mov eax, ecx
lea ecx, [esi - 0x1e]
cmp ecx, 4
ja 0x10034501
mov edi, 6
mov eax, ecx
lea ecx, [esi - 0x19]
cmp ecx, 4
ja 0x10034510
mov edi, 5
mov eax, ecx
lea ecx, [esi - 0x14]
cmp ecx, 4
ja 0x1003451f
mov edi, 4
mov eax, ecx
lea ecx, [esi - 0xf]
cmp ecx, 4
ja 0x1003452e
mov edi, 3
mov eax, ecx
lea ecx, [esi - 0xa]
cmp ecx, 4
ja 0x1003453d
mov edi, 2
mov eax, ecx
lea ecx, [esi - 5]
cmp ecx, 4
ja 0x1003454c
mov edi, 1
mov eax, ecx
cmp esi, 4
ja 0x10034555
xor edi, edi
mov eax, esi
xor ebx, ebx
test eax, eax
sete bl
lea ebx, [ebx*2 - 1]
cmp eax, 1
jne 0x1003456d
lea ebx, [eax + 9]
jmp 0x1003458f
cmp eax, 2
jne 0x10034577
lea ebx, [eax + 0x12]
jmp 0x1003458f
cmp eax, 3
jne 0x10034581
lea ebx, [eax + 0x1b]
jmp 0x1003458f
cmp eax, 4
jne 0x1003458b
lea ebx, [eax + 0x5f]
jmp 0x1003458f
test eax, eax
jne 0x10034607
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x108994ec]
cmp eax, 0x190
jb 0x100345de
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102bdfd8]
cmp eax, 0x190
jb 0x100345de
test edi, edi
js 0x100345de
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0xc
mov dword [0x108994ec], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 0xf6f30cc1
call fcn.100c4b10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov edx, dword [0x10899520]
mov ebx, dword [ebp - 8]
mov dword [ecx], eax
lea eax, [edx + 1]
inc esi
imul eax, eax, 0x19
add ecx, 0x60
mov dword [ebp - 4], ecx
cmp esi, eax
jl 0x10034441
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + esi*2]
shl eax, 5
pop edi
pop esi
pop ebx
mov byte [eax + 0x102c12dc], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x10038090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 9
mov edi, 0x861110
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 8
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 0xc
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 7
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 0xe
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 0xf
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 0x3c
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push 0x3d
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bb218]
cmp eax, 0x5dc
jb 0x100381b6
cmp byte [0x102bb21d], 1
jne 0x10038159
pop esi
pop edi
mov byte [0x102bb21d], 0
mov dword [0xe8cb3c], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x10899530]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
add al, 5
mov edx, 5
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], al
call fcn.100c4b10
call esi
mov dword [0x10899538], eax
call esi
mov dword [0x102bb218], eax
mov byte [0x102bb21d], 1
push 0xd
mov dword [0xe8cb3c], 1
call edi
mov ecx, eax
call ebx
test al, al
jne 0x100381b6
push 0xd
call edi
mov edx, 0x85ec50
mov ecx, eax
call edx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100399f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push fcn.10039e00
push 0x520ecf
push 0xe8
call fcn.100ceb10
push fcn.10039e00
push 0x520f1f
push 0xe8
call fcn.100ceb10
push fcn.10039e00
push 0x63e743
push 0xe8
call fcn.100ceb10
push fcn.10039e00
push 0x640eb2
push 0xe8
call fcn.100ceb10
push fcn.10039e00
push 0x7d2dd9
push 0xe8
call fcn.100ceb10
push fcn.10039e00
push 0x7e6c0f
push 0xe8
call fcn.100ceb10
add esp, 0x48
push fcn.10039e00
push 0x84aef7
push 0xe8
call fcn.100ceb10
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0xc
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100d2b30
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x83
push 0x47fc85
call esi
push 0x100381c0
push 0x47fc85
push 0xe9
call fcn.100ceb10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 4]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf7], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
mov byte [0x62ee41], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 4]
mov byte [0x62eee4], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62eee4
call esi
push 0x100395f0
push 0x4dada4
push 0xe8
call fcn.100ceb10
push 0x10039c70
push 0x542ef0
push 0xe9
call fcn.100ceb10
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10039f60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x10041c30
push 0x868986
push 0xe8
call fcn.100ceb10
push 0x10042330
push 0x8685c0
push 0xe9
call fcn.100ceb10
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push 0x40
push 0x20b
push 0x8689a0
call esi
push 0x20b
push 0x90
push 0x8689a0
call fcn.100d2b30
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x20b
push 0x8689a0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0xb4
push 0x868cf0
call esi
push 0xb4
push 0x90
push 0x868cf0
call fcn.100d2b30
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0xb4
push 0x868cf0
call esi
mov eax, dword [0x1010ac74]
movss xmm0, dword [0x1089969c]
mulss xmm0, dword [0x10101644]
cdq
sub eax, edx
sar eax, 1
cmp dword [0x102df8a0], 0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [0x108996a8], xmm1
je 0x1003a1b7
push 0x10041bd0
push 0x772960
push 0xe8
call fcn.100ceb10
push 0x10041bf0
push 0x7729b3
push 0xe8
call fcn.100ceb10
push 0x1003a210
push 0x8494b0
push 0xe9
call fcn.100ceb10
add esp, 0x24
lea eax, [ebp - 4]
push eax
push 0x40
push 0x2a4
push 0x849730
call esi
push 0x2a4
push 0x90
push 0x849730
call fcn.100d2b30
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x2a4
push 0x849730
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x3b7
push 0x8499e0
call esi
push 0x3b7
push 0x90
push 0x8499e0
call fcn.100d2b30
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x3b7
push 0x8499e0
call esi
push 0x10039ec0
push 0x8490f5
push 0xe8
call fcn.100ceb10
push 0x10039ef0
push 0x848e5d
push 0xe8
call fcn.100ceb10
push 0x10039ef0
push 0x848eb2
push 0xe8
call fcn.100ceb10
push 0x10039ef0
push 0x848f07
push 0xe8
call fcn.100ceb10
push 0x10039f00
push 0x848f4b
push 0xe8
call fcn.100ceb10
push 0x10039ef0
push 0x849087
push 0xe8
call fcn.100ceb10
add esp, 0x48
push 0x848e31
push 0x848e09
push 0xe9
call fcn.100ceb10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x849007
call esi
lea eax, [ebp - 4]
mov byte [0x849007], 0x5a
push eax
push dword [ebp - 4]
push 1
push 0x849007
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10041630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0xe60974], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x1004184e
cmp dword [0x102df9f8], 1
jne 0x100416b3
cmp dword [0x1081ee34], 1
jne 0x100416b3
movaps xmm0, xmmword [0x10102370]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x102bd79d], 1
mov dword [0xe8cb3c], 1
mov dword [0x10119c4c], 0
movups xmmword [0x10119c3c], xmm0
mov dword [0x102bd848], 0xbf800000
mov dword [0x102bd7e8], 0xbf800000
call esi
sub eax, 0xc8
mov dword [0x102bd7f8], eax
call esi
sub eax, 0xc8
mov dword [0x102bd858], eax
movd xmm0, dword [0x1010ac74]
mov edi, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [0xe61e58], edi
mov dword [0xe61e5c], esi
push 0x116
movd xmm1, edi
lea eax, [esi + 0x1e]
cvtps2pd xmm0, xmm0
push eax
push edi
push 0
push 0
push 0
cvtdq2pd xmm1, xmm1
push dword [0xe8c578]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0xe7c3d4], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x10101d90]
cvtpd2ps xmm0, xmm0
movss dword [0xe7c3d8], xmm0
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 0x630bc0
call eax
push 1
mov eax, 0x596ac0
call eax
add esp, 4
mov eax, 0x482b70
call eax
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov eax, 0x407b20
call eax
mov dword [eax + 0x28], edi
mov edi, 0x861110
mov dword [eax + 0x2c], esi
call edi
mov esi, eax
mov eax, 0x785870
push 0x17e
push 0
push dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push dword [esi]
call eax
call edi
mov edx, 0x861ac0
mov ecx, eax
call edx
mov edx, 0x7f0d40
mov ecx, eax
call edx
mov eax, dword [0x10824d6c]
mov ecx, dword [esi + 0x138]
add eax, 0x1c2
push 0
push eax
push dword [esi]
mov eax, 0x7f0c80
call eax
mov eax, dword [0x1081ee40]
push 1
mov dword [0x81c0380], eax
mov eax, 0x830b70
mov ecx, dword [esi + 0xb4]
push 1
push dword [esi]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0x10101e40]
lea eax, [ebp + 8]
movsd qword [0xd2c848], xmm0
push eax
push dword [ebp + 8]
push 8
push 0xd2c848
call esi
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0x10101e38]
lea eax, [ebp + 8]
push eax
movsd qword [0xd2c898], xmm0
push dword [ebp + 8]
push 8
push 0xd2c898
call esi
mov eax, dword [0x102df7c0]
cmp eax, 4
jne 0x10041837
push eax
mov ecx, ebx
call fcn.1003f970
mov eax, dword [0x102df7c0]
cmp eax, 1
je 0x10041846
cmp eax, 2
je 0x10041846
cmp eax, 3
jne 0x1004184e
push eax
mov ecx, ebx
call fcn.1003f970
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8