joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10070014]
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
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [0x10076664], eax
mov ebx, dword [edi]
push 4
push ebx
call esi
test eax, eax
jne 0x100378e7
push 4
add ebx, 0xe5
push ebx
call esi
test eax, eax
jne 0x100378e7
mov al, byte [ebx]
test al, al
je 0x100378e7
cmp byte [ebp + 8], 0
jne 0x100378e7
movaps xmm0, xmmword [0x10067a40]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x100377b0
lea eax, [ebp - 0x53]
mov byte [ebp - 0x45], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10005650
lea eax, [ebp - 0x2b]
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 4
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], 0
call fcn.10005650
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x1003780a
push 4
push ebx
call esi
test eax, eax
jne 0x1003780a
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10066580]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10037820
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10005420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10005650
mov byte [ebp - 4], 2
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10037854
push 4
push ebx
call esi
test eax, eax
jne 0x10037854
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x100665c4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003786a
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10005420
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10037882
push 4
push ebx
call esi
test eax, eax
jne 0x10037882
mov ecx, ebx
call dword [0x10066588]
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x3a
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.10005650
mov byte [ebp - 4], 3
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x100378b8
push 4
push ebx
call esi
test eax, eax
jne 0x100378b8
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x100665c8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100378ce
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10005420
mov ecx, edi
call fcn.10039370
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100378e7
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005420
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.10054950
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10047060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ad10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10070014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [0x100766cc], eax
mov ebx, dword [esi]
push 4
push ebx
call edi
test eax, eax
jne 0x10047205
push 4
add ebx, 0xe5
push ebx
call edi
test eax, eax
jne 0x10047205
mov al, byte [ebx]
test al, al
je 0x10047205
mov eax, dword [ebp + 8]
cmp eax, 0x1c
je 0x100470d6
cmp eax, 0x9c
jne 0x10047205
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x10047205
push 4
push ebx
call edi
test eax, eax
jne 0x10047205
mov ecx, 0x10b7b10
call fcn.10011160
cmp ebx, eax
sete al
test al, al
je 0x10047205
push 1
push dword [esi + 0x60]
mov ecx, esi
call fcn.10044fb0
lea eax, [ebp + 9]
mov word [ebp + 8], 0x1c
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp + 9], 0
call fcn.10005650
mov dword [ebp - 4], 0
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x1004714a
push 4
push ebx
call edi
test eax, eax
jne 0x1004714a
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call dword [0x10066580]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10047163
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10005420
mov cl, 9
mov dword [ebp - 0x1c], 0x686c5a09
mov dword [ebp - 0x18], 0x29616a7b
xor eax, eax
mov dword [ebp - 0x14], 0x646c7d40
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x1004718f
mov cl, byte [ebp - 0x1c]
jmp 0x10047180
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x10], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.10005650
mov dword [ebp - 4], 1
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x100471c2
push 4
push ebx
call edi
test eax, eax
jne 0x100471c2
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call dword [0x100665c4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100471db
inc eax
push eax
push dword [ebp - 0x34]
call fcn.10005420
mov esi, dword [esi + 0x64]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test esi, esi
je 0x10047205
push 4
push esi
call edi
test eax, eax
jne 0x10047205
mov ecx, esi
call dword [0x10066588]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10051970
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b508
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10070014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.10051710
lea ecx, [ebp - 0x7c]
call fcn.100517c0
push esi
lea ecx, [ebp - 0x7c]
call fcn.100518b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10051a17
inc ecx
push ecx
push dword [ebp + 8]
call fcn.10005420
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054950
mov esp, ebp
pop ebp
ret

Function at 0x10051c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10051e50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10051d5d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10051cca
mov eax, dword [ebp - 4]
cmp eax, dword [0x10070004]
ja 0x10051cca
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10051c9a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10051cef
jmp 0x10051d5d
cmp dword [ebp - 0x14], 0x10000
jne 0x10051d43
cmp dword [ebp - 0x18], 0x10000
jb 0x10051d43
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10051d26
mov eax, dword [ebp - 8]
jmp 0x10051d5f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10051d36
xor eax, eax
jmp 0x10051d5f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10051d58
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10051e50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10051c9a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10051d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10051e80
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10051e45
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10051db5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10070004]
ja 0x10051db5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10051d85
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10051dda
jmp 0x10051e45
cmp dword [ebp - 0x14], 0x10000
jne 0x10051e2e
cmp dword [ebp - 0x18], 0x10000
jb 0x10051e2e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10051e11
mov eax, dword [ebp - 8]
jmp 0x10051e47
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10051e21
xor eax, eax
jmp 0x10051e47
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10051e40
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10051e80
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10051d85
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10051eb0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100522a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10071bc4], 0
jne 0x10051eed
cmp dword [0x10071bc0], 0
je 0x10051eed
mov eax, dword [0x10071bc0]
mov dword [0x10071bc4], eax
cmp dword [0x10071bc4], 0
je 0x10051f6a
mov ecx, dword [0x10071bc4]
cmp dword [ecx + 8], 0
je 0x10051f6a
mov edx, dword [0x10071bc4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10051f6a
mov ecx, dword [0x10071bc4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10051f6a
mov eax, dword [0x10071bc4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10051f39
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10051f40
xor eax, eax
jmp 0x10052089
mov ecx, dword [0x10071bc4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10052089
mov edx, dword [0x10071bc0]
mov dword [0x10071bc4], edx
jmp 0x10051f86
mov eax, dword [0x10071bc4]
mov ecx, dword [eax + 4]
mov dword [0x10071bc4], ecx
cmp dword [0x10071bc4], 0
je 0x10051fc6
cmp dword [0x10071bc4], 0
je 0x10051fc4
mov edx, dword [0x10071bc4]
cmp dword [edx + 8], 0
je 0x10051fc4
mov eax, dword [0x10071bc4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10051fc4
mov edx, dword [0x10071bc4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10051fc4
jmp 0x10051f1e
jmp 0x10051f78
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10052090
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10052087
mov eax, dword [ebp - 0x18]
mov dword [0x10071bc4], eax
mov ecx, dword [0x10071bc4]
mov dword [ecx], 0x52727464
mov edx, dword [0x10071bc4]
mov dword [edx + 8], 0
mov eax, dword [0x10071bc4]
mov ecx, dword [0x10071bc0]
mov dword [eax + 4], ecx
mov edx, dword [0x10071bc4]
mov dword [0x10071bc0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10071bc4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10052057
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10052077
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1005204e
mov eax, dword [0x10071bc4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10051f1e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10052dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10071bc0]
mov dword [ebp - 4], eax
jmp 0x10052de9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10052e10
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10052e0e
call sub.KERNEL32.dll_GetLastError
jmp 0x10052e12
jmp 0x10052de0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100532b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10071bd0], eax
je 0x100532d4
mov eax, 0x10dd
jmp 0x1005347c
cmp dword [0x10071bd4], 0
je 0x100532e7
mov eax, dword [0x10071bd4]
jmp 0x1005347c
cmp dword [ebp + 0xc], 0
jne 0x100532f7
mov eax, 0x57
jmp 0x1005347c
cmp dword [ebp + 8], 0
jne 0x10053307
mov eax, 6
jmp 0x1005347c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10053330
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10071bd4], ecx
mov edx, dword [ebp + 8]
mov dword [0x10071bd8], edx
mov eax, dword [ebp - 8]
jmp 0x1005347c
push 0x18
call fcn.10054966
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005338b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10071bd4], ecx
cmp dword [ebp - 4], 0
je 0x1005337a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10054999
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10071bd8], ecx
mov eax, dword [ebp - 8]
jmp 0x1005347c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10053290
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10053290
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x100533cb
cmp dword [ebp - 0xc], 0x1e
jbe 0x100533e7
mov dword [ebp - 8], 9
cmp dword [0x10071bc8], 0
je 0x100533e2
jmp 0x10053359
jmp 0x10053350
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1005340e
mov dword [ebp - 8], 9
cmp dword [0x10071bc8], 0
je 0x10053409
jmp 0x10053359
jmp 0x10053350
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10053439
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10053350
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10071be0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10071be0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10053490
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10071bd0], eax
je 0x100534ad
mov eax, 0x10dd
jmp 0x10053590
mov eax, dword [0x10071be0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005352c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10053508
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10053508
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10052330
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10054999
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100534b5
mov dword [0x10071be0], 0
call fcn.10052c10
mov ecx, dword [0x10071bdc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005357a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10054999
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10053544
mov dword [0x10071bdc], 0
mov dword [0x10071bd0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10053a70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10071bd4], 0
je 0x10053a89
mov eax, dword [0x10071bd4]
jmp 0x10053b28
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10053a9a
xor eax, eax
jmp 0x10053b28
push 8
call fcn.10054966
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10053af2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10053adb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10054999
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10071bd4], eax
mov dword [0x10071bd8], 0
mov eax, dword [ebp - 8]
jmp 0x10053b28
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10053b0a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10053aba
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10071bdc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10071bdc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10057610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b8be
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10070014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10070020]
cmp eax, 0xffffffff
jne 0x10057646
xor ebx, ebx
jmp 0x1005764f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10057691
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x100576d0
test esi, esi
jne 0x100576d4
push 0x10057110
push 0x10071f70
call fcn.10056c70
mov eax, dword [0x10070020]
add esp, 8
cmp eax, 0xffffffff
je 0x10057691
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x100576be
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x100576be
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10057716
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100576ff
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100576d4
cmp dword [ebx + 0x18], 0
je 0x10057660
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1005773d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1005773d
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10057130
cmp dword [ebx + 0x18], 0
jne 0x10057720
jmp 0x10057660
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
push 0x40bc88
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x10], 0
test eax, eax
je 0x40108a
lea ecx, [esp + 0x14]
push ecx
push 0x40bd40
push 0x40bd00
mov dword [esp + 0x20], 0
call eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x401082
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 0x40bd20
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x401082
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x40bcf0
push 0x40bd10
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4010a9
lea eax, [esp + 0x10]
push eax
push 0x40bcf0
push 0x40bd10
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push edx
push 0x40bd30
push eax
call dword [ecx]
mov edi, dword [ebp + 8]
push 0x40bccc
push str.ENTRYPOINT
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push esi
push ebx
push dword [esp + 0x28]
call fcn.00405450
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0xb4]
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
push 0
push 0
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, eax
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push edi
sub esp, 0x10
movq xmm0, qword [esp + 0x48]
mov eax, esp
push ecx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x54]
movq qword [eax + 8], xmm0
call dword [edx + 0x94]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x40]
push eax
call esi
lea eax, [esp + 0x30]
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10