joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4227ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x43aae0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x422830
cmp byte [ebx], 0xa
jne 0x422830
or byte [edi + eax + 0x28], 4
jmp 0x422835
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x422938
mov cl, byte [eax]
cmp cl, 0x1a
je 0x422913
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x422864
mov eax, dword [ebp - 8]
jmp 0x422884
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x4228a0
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x42287e
add eax, 2
mov cl, 0xa
jmp 0x422881
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x422846
jmp 0x422938
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42290e
cmp dword [ebp - 0x10], 0
je 0x42290e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x43aae0]
test byte [eax + edi + 0x28], 0x48
je 0x4228ed
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x4228dd
mov byte [esi], 0xa
jmp 0x422937
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x43aae0]
mov byte [eax + edi + 0x2a], cl
jmp 0x422937
cmp byte [ebp - 1], 0xa
jne 0x4228f7
cmp esi, ebx
je 0x4228d8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00423380
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x422938
mov byte [esi], 0xd
jmp 0x422937
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x43aae0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x422935
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x422938
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x422941
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x43aae0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x422985
push 0xa
pop esi
cmp word [ebx], si
jne 0x422985
or byte [eax + edi + 0x28], 4
jmp 0x42298a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x422af5
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x422acd
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x4229d7
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x422a01
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x422a20
push 0xa
pop ebx
cmp word [edx], bx
jne 0x4229ee
push ebx
add eax, 4
pop edx
jmp 0x4229f6
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x42299c
jmp 0x422af5
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422ac8
cmp dword [ebp - 0x14], 0
je 0x422ac8
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x43aae0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x422aa4
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x422a6c
mov word [esi], ax
jmp 0x422af2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x43aae0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x43aae0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x43aae0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x422af2
cmp word [ebp - 4], ax
jne 0x422aae
cmp esi, ebx
je 0x422a64
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00423380
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x422af5
push 0xd
pop eax
jmp 0x422a64
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x43aae0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x422aef
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x422af5
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x424c47
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 0x424ce4
push ebx
push esi
call fcn.00424c10
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.00423904
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x424c91
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424ce3
push edi
push eax
call fcn.0041e500
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x424cb1
call fcn.0041d670
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424ce2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00423904
add esp, 0x20
test eax, eax
jne 0x424cd0
push edi
call fcn.0041d670
jmp 0x424cd8
push ebx
call fcn.0041d670
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 0x4272d9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041ca58
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x427348
cmp esi, dword [ebp - 4]
je 0x427343
cmp dword [ebp + 0xc], 0
je 0x427343
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x427320
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00426e2e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42734a
xor eax, eax
inc eax
jmp 0x42734a
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4273b5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041ca58
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041ca58
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42742c
cmp word [ecx], dx
je 0x42742c
mov eax, dword [0x4329e4]
push edi
dec eax
push eax
push 0x4328d0
call fcn.0042734e
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42749f
cmp word [eax], dx
je 0x42749f
mov eax, dword [edi]
test eax, eax
je 0x427450
cmp word [eax], dx
je 0x427450
lea eax, [ebp - 0x10]
push eax
call fcn.00426d34
jmp 0x427459
lea eax, [ebp - 0x10]
push eax
call fcn.00426dcf
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4274c9
mov eax, dword [0x4328cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4325c0
call fcn.0042734e
add esp, 0xc
test al, al
je 0x4274c9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x427494
cmp word [eax], di
je 0x427494
lea eax, [ebp - 0x10]
push eax
call fcn.00426d34
pop ecx
jmp 0x4274cb
lea eax, [ebp - 0x10]
push eax
call fcn.00426dcf
jmp 0x427491
mov eax, dword [edi]
test eax, eax
je 0x4274b6
cmp word [eax], dx
je 0x4274b6
lea eax, [ebp - 0x10]
push eax
call fcn.00426ce9
pop ecx
jmp 0x4274c9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x427594
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004271d3
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x427594
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x427594
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x427594
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x427521
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00420042
test ebx, ebx
je 0x42758f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00420042
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x427594
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x427594
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042acc9
add esp, 0x10
xor eax, eax
inc eax
jmp 0x427596
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c521
leave
ret
Function at 0x42cae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42cb0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42cb0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40c810
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x28], 0x1c6
mov dword [ebp - 0x30], 0x28d
mov dword [ebp - 0x34], 0x89
mov dword [ebp - 0x20], 0x2bf
mov dword [ebp - 0x38], 0x2c0
mov dword [ebp - 0x3c], 0x3c5
mov dword [ebp - 0x40], 0x3b8
mov dword [ebp - 0x2c], 0x2f4
mov dword [ebp - 0x44], 0xc0
mov dword [ebp - 0x48], 0x39c
mov dword [ebp - 0x1c], 0x2bf
mov dword [ebp - 0x4c], 0x41
mov dword [ebp - 4], 0x18e
mov dword [ebp - 0x50], 0x257
mov dword [ebp - 0x54], 0x8b
mov dword [ebp - 0x58], 0x1ad
mov dword [ebp - 0x24], 0x60
mov dword [ebp - 0x5c], 0x21e
mov dword [ebp - 0x60], 0x3a
mov dword [ebp - 0x18], 0x6e
mov dword [ebp - 0x64], 0xd6
mov dword [ebp - 0x68], 0x3a1
mov dword [ebp - 8], 0
jmp 0x40c8c2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0x1870e
cmp dword [ebp - 8], ecx
jge 0x40c949
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jge 0x40c8ed
mov dword [ebp - 0x10], 1
jmp 0x40c8f4
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x28]
jge 0x40c905
mov dword [ebp - 0x14], 1
jmp 0x40c90c
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x14]
je 0x40c944
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0xde70
push 0x13996
push 0x6093
push 0xec7a
push 0x13b37
push 0x12870
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0x18
jmp 0x40c8b9
mov dword [ebp - 0xc], 0
jmp 0x40c95b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x2f3
cmp dword [ebp - 0xc], edx
jge 0x40c974
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x40c952
mov esp, ebp
pop ebp
ret
Function at 0x40d650
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x20], 0x1b
mov dword [ebp - 0xc], 0xad
mov dword [ebp - 0x10], 0x330
mov dword [ebp - 0x14], 0x2ff
mov dword [ebp - 0x40], 0x21a
mov dword [ebp - 0x34], 0x1cd
mov dword [ebp - 0x44], 0x319
mov dword [ebp - 0x24], 0x37f
mov dword [ebp - 0x48], 0x1cb
mov dword [ebp - 0x4c], 0x237
mov dword [ebp - 8], 0x300
mov dword [ebp - 0x38], 0x301
mov dword [ebp - 0x3c], 0x181
mov dword [ebp - 0x50], 0x141
mov dword [ebp - 0x54], 0x269
mov dword [ebp - 0x58], 0x2cc
mov dword [ebp - 0x2c], 0x229
mov dword [ebp - 0x5c], 0x21
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x60], 0x2ce
mov dword [ebp - 0x64], 0x8c
mov dword [ebp - 0x30], 0x375
mov dword [ebp - 0x18], 0x23e
mov dword [ebp - 0x28], 0x1bb
mov dword [ebp - 4], 0
jmp 0x40d710
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x186bb
cmp dword [ebp - 4], ecx
jge 0x40d737
push 0x1721a
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
add esp, 4
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
jmp 0x40d707
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x2b9
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x106
push edx
mov eax, dword [ebp - 0x28]
sub eax, 0x43
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x8b
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x12b
push edx
mov eax, dword [ebp + 8]
add eax, 0x12a
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x161
push ecx
mov edx, dword [ebp - 0x14]
sub edx, 0xbc
push edx
mov eax, dword [ebp + 8]
sub eax, 0xae
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x82
push ecx
call fcn.004176c0
add esp, 0x28
mov edx, dword [ebp - 0x14]
sub edx, 0x205
push edx
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0x1db
push ecx
mov edx, dword [ebp - 8]
add edx, 0x4d
push edx
mov eax, dword [ebp - 0x34]
sub eax, 0x56
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x229
push ecx
mov edx, dword [ebp - 0x3c]
add edx, 0x3a
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x284
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2b
push ecx
call fcn.0041eef0
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x41a8d0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x34], 0x38b
mov dword [ebp - 0x50], 0x38b
mov dword [ebp - 0x10], 0xf5
mov dword [ebp - 0x44], 0x35d
mov dword [ebp - 0x30], 0x20c
mov dword [ebp - 0x38], 0x78
mov dword [ebp - 0x54], 0x3cc
mov dword [ebp - 0x2c], 0x34b
mov dword [ebp - 0x58], 0x2d4
mov dword [ebp - 0x20], 0x16b
mov dword [ebp - 0x5c], 0x133
mov dword [ebp - 0x1c], 0x263
mov dword [ebp - 0x60], 0x150
mov dword [ebp - 0x64], 0x2e
mov dword [ebp - 0x40], 0x69
mov dword [ebp - 0x48], 0x3a1
mov dword [ebp - 0x3c], 0x33a
mov dword [ebp - 0x68], 0x381
mov dword [ebp - 0x6c], 0x23c
mov dword [ebp - 0x70], 0x22a
mov dword [ebp - 4], 0x38a
mov dword [ebp - 0x74], 0x42
mov dword [ebp - 0x78], 0x2f5
mov dword [ebp - 0x7c], 0x3dd
mov dword [ebp - 0x80], 0x2d0
mov dword [ebp - 8], 0
jmp 0x41a99a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x20b
cmp dword [ebp - 8], ecx
jge 0x41a9f7
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jge 0x41a9c2
mov dword [ebp - 0x14], 1
jmp 0x41a9c9
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x3c]
jge 0x41a9dd
mov dword [ebp - 0x18], 1
jmp 0x41a9e4
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x18]
je 0x41a9f5
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x41a991
mov dword [ebp - 0xc], 0
jmp 0x41aa09
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x40]
sub edx, 0x18709
cmp dword [ebp - 0xc], edx
jge 0x41aa49
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x1283d
push 0x4d2d
push 0x107ce
push 0x102ac
push 0x2eee
push 0x852c
call dword [sym.imp.KERNEL32.dll_CreatePipe]
add esp, 0x18
jmp 0x41aa00
call fcn.004118a0
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 4]
jge 0x41aa62
mov dword [ebp - 0x24], 1
jmp 0x41aa69
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x20]
jge 0x41aa7a
mov dword [ebp - 0x28], 1
jmp 0x41aa81
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x4c], 0
je 0x41aaa5
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
call fcn.0040e210
mov esp, ebp
pop ebp
ret
Function at 0x41cc20
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x38], 0x1e
mov dword [ebp - 0x4c], 0x128
mov dword [ebp - 0x50], 0x1e4
mov dword [ebp - 8], 0xce
mov dword [ebp - 0x24], 0x167
mov dword [ebp - 0x54], 0x3c8
mov dword [ebp - 0x28], 0x20d
mov dword [ebp - 0x58], 0x21b
mov dword [ebp - 0x44], 0x37b
mov dword [ebp - 0x30], 0x2c3
mov dword [ebp - 0x5c], 0x3e7
mov dword [ebp - 4], 0x1e2
mov dword [ebp - 0x60], 0x1eb
mov dword [ebp - 0x64], 0x31
mov dword [ebp - 0x68], 0x58
mov dword [ebp - 0x3c], 0x32e
mov dword [ebp - 0x34], 0x33e
mov dword [ebp - 0x18], 0x317
mov dword [ebp - 0xc], 0x368
mov dword [ebp - 0x10], 0x324
mov dword [ebp - 0x6c], 0x1b1
mov dword [ebp - 0x2c], 0x49
mov dword [ebp - 0x48], 0x36
mov dword [ebp - 0x70], 0x5c
mov dword [ebp - 0x40], 0x2ea
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 4]
je 0x41cd41
mov edx, dword [ebp - 0x3c]
xor edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x28]
jge 0x41ccfa
mov dword [ebp - 0x1c], 1
jmp 0x41cd01
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x1c]
je 0x41cd41
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [ebp - 0x10]
jge 0x41cd1d
mov dword [ebp - 0x20], 1
jmp 0x41cd24
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
or eax, dword [ebp - 0x20]
je 0x41cd41
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
sub edx, 0x3c
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x20e
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0xa8
push ecx
mov edx, dword [ebp - 0x24]
sub edx, 0xd
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0xf7
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x306
push ecx
mov edx, dword [ebp - 0x44]
sub edx, 0x36a
push edx
mov eax, dword [ebp - 0x28]
sub eax, 0x14
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x177
push ecx
mov edx, dword [ebp - 0x48]
add edx, 0x37a
push edx
call fcn.00427750
add esp, 0x28
mov eax, dword [ebp + 0xc]
add eax, 0x133
push eax
call fcn.0042ad10
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x41cdc5
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x48
cmp dword [ebp - 0x14], edx
jge 0x41cddb
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41cdbc
mov ecx, dword [ebp - 4]
add ecx, 0x3b
push ecx
mov edx, dword [ebp - 0x30]
sub edx, 0x2a9
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x2dd
push eax
mov ecx, dword [ebp + 0x10]
sub ecx, 0x19
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x82
push edx
mov eax, dword [ebp - 8]
add eax, 0xa5
push eax
call fcn.004182e0
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x41eef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x10], 0x136
mov dword [ebp - 0x3c], 0xbd
mov dword [ebp - 0x28], 0x116
mov dword [ebp - 0x40], 0x270
mov dword [ebp - 0x44], 0x257
mov dword [ebp - 0x20], 0x291
mov dword [ebp - 0x48], 0x334
mov dword [ebp - 0x4c], 0xa2
mov dword [ebp - 0x50], 0x3d1
mov dword [ebp - 0x14], 0x3bb
mov dword [ebp - 0x24], 0x26f
mov dword [ebp - 0x54], 0x371
mov dword [ebp - 0x58], 0x9e
mov dword [ebp - 0x5c], 0x68
mov dword [ebp - 0x60], 0xbe
mov dword [ebp - 0x64], 0x348
mov dword [ebp - 0x68], 0x1b4
mov dword [ebp - 0x6c], 0x368
mov dword [ebp - 0x2c], 0x9e
mov dword [ebp - 0x70], 0x1f5
mov dword [ebp - 0x74], 0x3c0
mov dword [ebp - 0x78], 0x111
mov dword [ebp - 0xc], 0x26d
mov dword [ebp - 0x7c], 0x349
mov dword [ebp - 0x80], 0x2df
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x36e
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0xe
push edx
mov eax, dword [ebp - 0x24]
sub eax, 0xfb
push eax
call fcn.0040cce0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x41efe5
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
sub edx, 0x186db
cmp dword [ebp - 4], edx
jge 0x41f004
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov eax, dword [ebp + 0x24]
add eax, 1
mov dword [ebp + 0x24], eax
jmp 0x41efdc
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x161
push ecx
call fcn.0042ad10
add esp, 4
mov dword [ebp - 8], 0
jmp 0x41f028
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
sub eax, 0x187b6
cmp dword [ebp - 8], eax
jge 0x41f0c8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x2c]
jge 0x41f053
mov dword [ebp - 0x18], 1
jmp 0x41f05a
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x14]
add edx, 1
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jge 0x41f080
mov dword [ebp - 0x1c], 1
jmp 0x41f087
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0x10]
and ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
add edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp - 0x38], 0
je 0x41f0c3
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
push 0xe107
push 0xd3b8
push 0xe314
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
jmp 0x41f01f
mov esp, ebp
pop ebp
ret