joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450dd3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x450ded
call fcn.0041cb16
mov esi, dword [eax + 0xc]
push dword [0x56dd40]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x450e0b
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x450e03
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x450e38
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x450e05
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00450d01
mov esi, eax
jmp 0x450e2a

Function at 0x494ca9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004e8fef
call fcn.0041c547
cmp dword [eax + 0x14], 0
jne 0x494cc6
mov ecx, esi
pop esi
jmp fcn.004947ae
pop esi
ret

Function at 0x4981bf
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00419429
call fcn.0041c547
cmp dword [eax + 0x14], 0
jne 0x4981dc
mov ecx, esi
pop esi
jmp fcn.00497b8f
pop esi
ret

Function at 0x4e22c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e22de
mov edi, dword [esi + 0xc]
jmp 0x4e231e
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e22f7
call fcn.0040b488
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e230c
call fcn.0040b488
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e231e
call fcn.0040b488
call fcn.0041cb16
cmp dword [eax + 0x3c], 0
je 0x4e2333
push edi
mov ecx, ebx
call fcn.004e1182
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e21e0
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e2351
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e235d
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4fbd04
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x569600]
jne 0x4fbd0e
repz ret
jmp fcn.00502d23
Function at 0x50d468
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x569600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050274b
and dword [ebp - 0x14], 0
cmp dword [0x570fec], 0
mov dword [ebp - 0x18], eax
jne 0x50d51b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50d5c3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x549dd8
push ebx
call edi
test eax, eax
je 0x50d5c3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x549dc8
push ebx
mov dword [0x570fec], eax
call edi
push eax
call esi
push 0x549db4
push ebx
mov dword [0x570ff0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x570ff4], eax
call edi
push eax
call esi
mov dword [0x570ffc], eax
test eax, eax
je 0x50d51b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x570ff8], eax
mov eax, dword [0x570ff8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50d574
cmp dword [0x570ffc], ecx
je 0x50d574
push eax
call esi
push dword [0x570ffc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50d574
test ebx, ebx
je 0x50d574
call edi
test eax, eax
je 0x50d56b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50d56b
test byte [ebp - 8], 1
jne 0x50d574
or dword [ebp + 0x10], 0x200000
jmp 0x50d5a7
mov eax, dword [0x570ff0]
cmp eax, dword [ebp - 0x18]
je 0x50d5a7
push eax
call esi
test eax, eax
je 0x50d5a7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50d5a7
mov eax, dword [0x570ff4]
cmp eax, dword [ebp - 0x18]
je 0x50d5a7
push eax
call esi
test eax, eax
je 0x50d5a7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x570fec]
call esi
test eax, eax
je 0x50d5c3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50d5c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fbd04
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10002091
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10002141
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x10002181
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002251
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x10002291
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x1b
xor eax, eax
mov dl, byte [edi + eax - 0x56714f1a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1b
jb 0x10002361
pop edi
mov byte [esi + 0x1b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x1e
xor eax, eax
mov dl, byte [edi + eax - 0x69914085]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xd
jb 0x10002431
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100024e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x100024f1
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002531
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x10002571
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x37
xor eax, eax
mov dl, byte [edi + eax + 0x1ea2c6cb]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1b
jb 0x100025b1
pop edi
mov byte [esi + 0x1b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x3f
xor eax, eax
mov dl, byte [edi + eax - 0x4bcee95d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x100025f1
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100027a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x50
xor eax, eax
mov dl, byte [edi + eax + 0x5abdd636]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x100027b1
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x68
xor eax, eax
mov dl, byte [edi + eax - 0x2cf13859]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x10002871
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x10002931
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x77
xor eax, eax
mov dl, byte [edi + eax + 0x6648017d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10002971
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xab
xor eax, eax
mov dl, byte [edi + eax - 0x7b84b047]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x12
jb 0x10002a21
pop edi
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10002a61
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xba
xor eax, eax
mov dl, byte [edi + eax - 0x5fdb605b]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002b11
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xc3
xor eax, eax
mov dl, byte [edi + eax + 0x575628d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x10002bc1
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xd9
xor eax, eax
mov dl, byte [edi + eax - 0x1a2e1036]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xd
jb 0x10002de1
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002e21
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10003030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x10003041
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100046e0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046f3
jmp dword [eax*4 + 0x10004778]
pop ebp
jmp fcn.10007340
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 2
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 3
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 4
jmp 0x10004713
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x100046fa
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046f3
jmp dword [eax*4 + 0x10004778]
pop ebp
jmp fcn.10007340
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 2
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 3
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 4
jmp 0x10004713
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x10004700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046f3
jmp dword [eax*4 + 0x10004778]
pop ebp
jmp fcn.10007340
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 2
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 3
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 4
jmp 0x10004713
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x10004754
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046f3
jmp dword [eax*4 + 0x10004778]
pop ebp
jmp fcn.10007340
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 2
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 3
jmp 0x10004713
cmp dword [0x10048094], 0
jne case.default.0x100046f3
mov dword [0x10048094], 4
jmp 0x10004713
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret
Function at 0x10005d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038c98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10148be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10148780]
cmp eax, 0x927c0
jb 0x10005d75
call esi
mov dword [0x10148780], eax
cmp dword [edi + 4], 0
je 0x10005e09
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [edi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10012320
mov esi, dword [ebp - 0x1c]
test al, al
je 0x10005dee
cmp esi, dword [ebp - 0x18]
je 0x10005dee
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000ee80
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10005e09
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10011990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005eff
push esi
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
xor esi, esi
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xe8
cmp dword [ebp - 0x1c], esi
jbe 0x10005efe
push ebx
xor eax, eax
mov dl, byte [ebp + eax - 0x10]
cmp dl, 0xff
je 0x10005e96
lea ecx, [eax + edi]
cmp byte [ecx + esi], dl
jne 0x10005ef7
inc eax
cmp eax, 0xb
jl 0x10005e85
mov al, byte [edi + esi + 1]
test al, al
je 0x10005ea8
cmp al, 1
jne 0x10005ef7
mov al, byte [edi + esi + 3]
test al, al
je 0x10005eb4
cmp al, 1
jne 0x10005ef7
lea ebx, [edi + 0xa]
add ebx, esi
mov eax, dword [ebx + 1]
add eax, 5
add eax, ebx
cmp eax, 0x404d70
jne 0x10005ef7
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1000eac0
mov byte [ebx], 0xe8
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x10005e83
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x10005f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005fdb
push esi
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
xor esi, esi
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xff
cmp dword [ebp - 0x1c], esi
jbe 0x10005fda
push ebx
nop
xor eax, eax
mov dl, byte [ebp + eax - 0x10]
cmp dl, 0xff
je 0x10005f83
lea ecx, [eax + edi]
cmp byte [ecx + esi], dl
jne 0x10005fd3
inc eax
cmp eax, 0xb
jl 0x10005f72
mov al, byte [edi + esi + 1]
test al, al
je 0x10005f95
cmp al, 1
jne 0x10005fd3
mov al, byte [edi + esi + 3]
test al, al
je 0x10005fa1
cmp al, 1
jne 0x10005fd3
lea ebx, [edi + 5]
add ebx, esi
cmp dword [ebx], 0x404d70
jne 0x10005fd3
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
mov dword [ebx], 0x1000eac0
push eax
push dword [ebp - 0x14]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x10005f70
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret

Function at 0x10005ff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006083
mov eax, dword [0x10149edc]
xorps xmm0, xmm0
push edi
push 0xc
mov dword [ebp - 0x10], 0
mov dword [eax], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push esi
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
mov edi, dword [ebp - 0xc]
mov dword [ebp + 8], 0xe61730
test edi, edi
je 0x10006082
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, byte [ebp + eax + 8]
jne 0x1000607b
inc eax
cmp eax, 4
jl 0x10006047
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [0x10149edc]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call ebx
mov dword [ebp - 4], 0
inc esi
sub edi, 1
jne 0x10006045
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006123
push edi
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
xorps xmm0, xmm0
push esi
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x100060d3
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x1c]
mov dword [ebp + 8], 0x7bc4f04
test edi, edi
je 0x10006122
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, byte [ebp + eax + 8]
jne 0x1000611b
inc eax
cmp eax, 4
jl 0x100060e7
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [0x10149ee0]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call ebx
mov dword [ebp - 4], 0
inc esi
sub edi, 1
jne 0x100060e5
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret