joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bae40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4baea6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4baea6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4bae87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4bbfc0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6f7154]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4bbfd3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4bc014
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6f71fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4bc046
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4bc04a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4bc03b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4bc068
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4bc06c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4bc05d
xor ecx, ecx
mov eax, 0x6f7164
xor ebx, ebx
mov bl, byte [ecx + 0x6f720c]
cmp byte [esp + ebx + 0x14], 0
je 0x4bc097
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x6f7224]
cmp byte [esp + ebx + 0x14], 0
je 0x4bc0ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4bc07e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4bc007
lea edx, [esp + 0x84]
push edx
call fcn.004bc0f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4c2590
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4c25a0
mov esi, 1
push esi
call fcn.004d8c47
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c25f2
call fcn.004d974d
mov edi, eax
call fcn.004c50e0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4c25d6
mov edx, dword [0x6fb460]
mov dword [0x6fb45c], edx
test al, 0x18
je 0x4c25e7
push esi
push 0x24
push 5
call fcn.004c5930
add esp, 0xc
test edi, edi
je 0x4c260d
push 1
call fcn.004da715
test byte [esp + 0x14], 0x20
je 0x4c260d
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4c3710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4c3804
cmp byte [edx], 0
je 0x4c37f7
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004c3690
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004c3690
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004c3600
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4c37c1
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004c3640
fmul qword [0x6d9310]
push ecx
fstp qword [esp]
call fcn.004d75b8
fadd qword [0x6d9308]
add esp, 8
call fcn.004d7688
mov byte [ebx], al
inc ebx
dec edi
jne 0x4c3794
lea ecx, [esp + 0x20]
push ecx
call fcn.004c3640
fmul qword [0x6d9310]
push ecx
fstp qword [esp]
call fcn.004d75b8
add esp, 8
call fcn.004d7688
cmp esi, ebx
je 0x4c37ed
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4c37e6
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4c3c00
mov byte [edi + esi], 2
jmp 0x4c3c37
test al, 4
je 0x4c3c0a
mov byte [edi + esi], 0xd
jmp 0x4c3c37
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4c3c23
mov byte [edi + esi], 2
jmp 0x4c3c37
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4c3c33
mov byte [edi + esi], 0x19
jmp 0x4c3c37
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4c3be7
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4c3cab
cmp dl, 0xd
je 0x4c3cab
xor edx, edx
jmp 0x4c3cb0
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4c3c9b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4c3cd0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004c2590
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c3cf1
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004c5320
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4c3d16
push esi
call fcn.004c2620
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004e408c
push ebx
push edi
mov ebp, eax
call fcn.004c5390
push 0x4c3d50
push ebp
push esi
call fcn.004c66c0
push esi
call fcn.004c2620
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4c5050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x7f2220
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7f2150]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4c50cb
push 0x4c
push 1
call fcn.004d9b75
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c5093
push 0x7f2220
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x7f2150]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x7e71ac]
inc eax
lea edx, [esi + 0xc]
mov dword [0x7e71ac], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004c8b90
add esp, 8
mov byte [esi + 0x3c], 1
push 0x7f2220
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4c5550
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004d974d
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004e408c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4c564a
call fcn.004d974d
cmp dword [eax], 0
je 0x4c5597
call fcn.004d974d
mov ebp, dword [eax]
jmp 0x4c559a
or ebp, 0xffffffff
call fcn.004c50e0
test esi, esi
mov dword [eax], ebp
jne 0x4c55af
call fcn.004d974d
cmp dword [eax], 4
je 0x4c55ff
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4c55e2
cmp esi, 0xffffffff
je 0x4c5624
test al, 6
je 0x4c55e2
call fcn.004c50e0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004c8bc0
add esp, 4
push eax
push 0x24
push 9
call fcn.004c5930
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4c5642
test al, 6
je 0x4c55f0
test ah, 2
je 0x4c5642
test esi, esi
jbe 0x4c564e
test ah, 2
je 0x4c564e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004d974d
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004e408c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4c564a
jmp 0x4c5584
call fcn.004c50e0
mov eax, dword [eax]
push eax
push ebx
call fcn.004c8bc0
add esp, 4
push eax
push 0x24
push 2
call fcn.004c5930
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4c565b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4c5664
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4dbb94
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4dbbb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d96da
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4dbbd7
test byte [esp + 8], 2
je 0x4dbbd7
call fcn.004d974d
mov dword [eax], 0xd
call fcn.004d9756
mov dword [eax], 5
jmp 0x4dbbb0
xor eax, eax
ret
Function at 0x4ee64b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ee683
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ec6d8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ec6b0
jmp 0x4ee68f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4efd3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4efd7f
call fcn.004f58b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4efd7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4efd76
xor eax, eax
jmp 0x4efd87
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004efd8d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f5de0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4f5e0e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f5e2c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f5d46
jmp 0x4f5e2c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f5e2c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f5d46
test edi, edi
mov eax, edi
jne 0x4f5e16
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001250
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ddb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10148880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
xor edx, edx
mov eax, dword [esi]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ecx
movzx eax, word [eax + 6]
cmp edx, eax
jge 0x1000130d
cmp dword [ecx + 0x10], 0
push 0x10013d64
je 0x1000131f
jmp 0x10001336
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x24], 0x36
call fcn.10002d71
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0x43
call fcn.10002d71
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
push dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x1c], eax
mov eax, 0x10001370
ret

Function at 0x100013d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ddd0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10148880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp edx, eax
jge 0x10001507
mov esi, dword [ecx + 0x24]
mov eax, esi
mov edi, esi
shr eax, 0x1d
shr edi, 0x1e
mov ebx, esi
and eax, 1
shr ebx, 0x1f
and edi, 1
test esi, 0x2000000
jne 0x10001519
jmp 0x10001462
lea eax, [edi + eax*2]
lea eax, [ebx + eax*2]
mov eax, dword [eax*4 + 0x10148850]
mov dword [ebp - 0x20], eax
test esi, 0x4000000
je 0x10001482
or eax, 0x200
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10001535
jmp 0x10001551
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10013d64
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x24], 0x4b
call fcn.10002d71
push 0x10013d64
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0x10
call fcn.10002d71
push 0x10013d64
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x2c], 0xf
call fcn.10002d71
int3
Function at 0x10001580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push edi
xor edi, edi
test ebx, ebx
jle 0x100015d3
mov dword [ebp + 0xc], 0x6d9
push esi
nop dword [eax + eax]
mov eax, dword [ebp + 0x10]
mov esi, ecx
movsx eax, byte [edi + eax]
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add dl, 0x4f
xor byte [eax + ecx], dl
mov eax, 0xcccccccd
mul ecx
inc ecx
shr edx, 2
lea eax, [edx + edx*4]
lea edx, [edi + 1]
xor edi, edi
cmp esi, eax
cmovne edi, edx
cmp ecx, ebx
jl 0x100015a0
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10001e30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10148848
push 0x133000
push section..data
call fcn.10001580
push section..data
call fcn.10001710
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10001e76
push dword [ebp + 8]
push ebx
call fcn.10001af0
add esp, 8
test eax, eax
jne 0x10001e7b
push ebx
call fcn.10001cb0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
sub esp, 0x848
mov ecx, 0x212
mov edi, esp
mov esi, 0x10148000
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.10001cb0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100020c0
Capabilities:
Create process on windows
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 1
jle 0x1000213e
push 0x8000000
push 0
push 0
push 0x1000e170
push 0x1000e19c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x8000000
push 0
push 0
push str.C:Program_Files
push 0x1000e19c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6c656853
push eax
mov dword [ebp - 4], 0x78656c
call fcn.10001e30
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100054aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100054e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100054e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100054e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100054e9
cmp dword [ecx + 0x74], 0xe
jbe 0x100054e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10008164
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10008201
push ebx
push esi
call fcn.1000812d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100080c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100081ae
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008200
push edi
push eax
call fcn.10009121
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100081ce
call fcn.10006c09
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100081ff
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100080c1
add esp, 0x20
test eax, eax
jne 0x100081ed
push edi
call fcn.10006c09
jmp 0x100081f5
push ebx
call fcn.10006c09
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000846e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f570
push 0x1000f568
push 0x1000ec84
push 0x1f
call fcn.1000838a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100084a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e12c]
call esi
jmp 0x100084a8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100084ec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f580
push 0x1000f578
push 0x1000eca8
push 0x21
call fcn.1000838a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008523
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000852b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f588
push 0x1000f580
push 0x1000ecbc
push 0x22
call fcn.1000838a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008565
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e12c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000dc00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000dc2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000dc2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10007fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10007fbf
pop dword [ebp - 0x50]
mov eax, 0x10007fbf
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x68e30338
sub dword [ebp - 0x60], 0x1a90bded
mov dword [ebp - 0x5c], 0x665b446f
sub dword [ebp - 0x5c], 0x3427f82a
mov dword [ebp - 0x58], 0xbaea968
sub dword [ebp - 0x58], 0xbf62653a
mov dword [ebp - 0x54], 0x7e99e11c
sub dword [ebp - 0x54], 0x7e99e11c
lea eax, [ebp - 0x60]
push eax
mov eax, 0xb8d441cc
add eax, 0x572fae68
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x51c5a8d6
sub dword [ebp - 0x60], 0xdd533f80
mov dword [ebp - 0x5c], 0x52fa6e36
add dword [ebp - 0x5c], 0xee71f33f
mov dword [ebp - 0x58], 0xd283ba4c
add dword [ebp - 0x58], 0x90ebb220
mov dword [ebp - 0x54], 0xf37f97cb
add dword [ebp - 0x54], 0xc806835
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x4867f
push 0
call eax
mov ecx, 0x511f
mov edx, eax
mov esi, 0x10054e00
add esi, dword [ebp - 0x50]
mov ebx, 0x6b196034
add ebx, 0x2e3695b5
xor dword [ebp - 0x2c], 0x3a80531d
mov edi, dword [esi]
xor dword [ebp - 0x18], 0x3f6a0f27
sub edi, ebx
sub dword [ebp - 0x14], 0xd3d4c4b2
mov dword [edx], edi
add edx, 0xde294523
add edx, 0x21d6bae1
add esi, 4
loop 0x100080cb
add eax, 0xef2be48c
add eax, 0x10d552c3
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x100366e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004e28c]
cmp eax, 0xffffffff
jne 0x10036716
xor ebx, ebx
jmp 0x1003671f
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 0x1003675f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003679e
test esi, esi
jne 0x100367a2
push 0x10035270
push 0x1004fad8
call fcn.10007fb0
mov eax, dword [0x1004e28c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003675f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003678c
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 0x100367e4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100367cd
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 0x100367a2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036730
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10036809
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x10036809
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10007fb0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100367f0
jmp 0x10036730