joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497b00
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497b38
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
xor ebx, ebx
jmp 0x497b2f
movzx ebp, byte [eax + ebx]
inc ebx
imul edx, edx, 0x1000193
xor edx, ebp
cmp ecx, ebx
jg 0x497b22
mov dword [esp + 0x14], edx
ret
call fcn.00467570
jmp fcn.00497b00
Function at 0x4a4180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4397
sub esp, 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, 2
jl 0x4a4267
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
cmp byte [edx + 1], 0x3a
jne 0x4a41e1
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x4a41d1
lea ebp, [ebx - 0x61]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x4a41d1
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x4a41e1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
add esp, 0x10
ret
cmp ecx, 5
jge 0x4a41ea
xor eax, eax
jmp 0x4a41ff
mov byte [esp], bl
call fcn.004a3fd0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test al, al
jne 0x4a4207
xor eax, eax
jmp 0x4a4220
movzx eax, byte [edx + 1]
mov byte [esp], al
call fcn.004a3fd0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test al, al
je 0x4a424b
cmp ecx, 2
jbe 0x4a438a
movzx eax, byte [edx + 2]
mov byte [esp], al
call fcn.004a3fd0
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x4a424d
xor eax, eax
test al, al
je 0x4a427b
cmp ecx, 2
jbe 0x4a437e
cmp byte [edx + 2], 0x2e
je 0x4a427b
mov eax, 3
jmp 0x4a429e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
add esp, 0x10
ret
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
add esp, 0x10
ret
mov ebx, dword [esp + 8]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ebx, [ecx - 1]
cmp eax, ebx
jge 0x4a427b
cmp ecx, eax
jbe 0x4a4379
mov dword [esp + 8], eax
movzx ecx, byte [edx + eax]
mov byte [esp], cl
call fcn.004a3fd0
movzx eax, byte [esp + 4]
test al, al
je 0x4a428f
mov edx, dword [esp + 8]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4a4374
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [edx + eax + 1]
mov byte [esp], cl
call fcn.004a3fd0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea edx, [edx + ecx + 1]
test al, al
jne 0x4a427b
cmp byte [edx], 0x2e
je 0x4a427b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
jmp 0x4a4329
mov ebx, dword [esp + 8]
lea eax, [ebx + 1]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp edx, eax
jle 0x4a4358
jbe 0x4a436d
mov dword [esp + 8], eax
movzx edx, byte [ecx + eax]
mov byte [esp], dl
call fcn.004a3fd0
movzx eax, byte [esp + 4]
test al, al
je 0x4a431a
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 8]
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x14]
jb 0x4a4366
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x10
ret
mov ecx, eax
call fcn.00468a20
mov ecx, edx
call fcn.00468a00
call fcn.00468a00
call fcn.00468a00
mov eax, 2
mov ecx, eax
call fcn.00468a00
mov eax, 2
mov ecx, eax
call fcn.00468a00
nop
call fcn.00467570
jmp fcn.004a4180
Function at 0x4a6790
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a686b
sub esp, 0x10
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4a684d
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a684d
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
call fcn.004852f0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 8]
movzx edx, byte [eax + 6]
test dl, dl
je 0x4a681f
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.004a83d0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
call fcn.004a6530
jmp 0x4a6849
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a6530
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.004a83d0
add esp, 0x10
ret
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.004a83d0
add esp, 0x10
ret
call fcn.00467570
jmp fcn.004a6790
Function at 0x4b32c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b33ea
sub esp, 0x1c
mov eax, dword [esp + 0x20]
movzx ecx, word [eax]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov word [esp + 0xc], cx
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebp, word [ebx + 2]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov word [esp + 0xc], bp
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebp, word [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov word [esp + 0xc], bp
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebp, word [ebx + 6]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov word [esp + 0xc], bp
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebp, word [ebx + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov word [esp + 0xc], bp
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
movzx ebx, word [ebx + 0xa]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov word [esp + 0xc], bx
call fcn.004b5cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
add esp, 0x1c
ret
call fcn.00467570
jmp fcn.004b32c0
Function at 0x4b4970
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b4acf
sub esp, 0x5c
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00468b57
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4b49aa
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
jmp 0x4b49d3
lea eax, [0x4f3a60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.0044f8e0
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x200
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.00468b57
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
call fcn.004b31a0
movzx ecx, word [esp + 4]
movzx edx, word [esp + 6]
mov word [esp + 0x46], cx
mov word [esp + 0x48], dx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 0xc]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
cmp ebx, edx
jae 0x4b4a79
mov dword [esp + 0x24], ecx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xc
lea eax, [0x4f3a60]
mov dword [esp + 0x10], eax
call fcn.0044f980
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ebp
lea eax, [ebp + ecx]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.00469250
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x38]
call fcn.00469016
add esp, 0x5c
ret
call fcn.00467570
jmp fcn.004b4970
Function at 0x4c9810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c9983
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x4c98a9
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
je 0x4c9848
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4c98b5
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x4c9873
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4c98b5
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x4c98b5
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.004c9660
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
call fcn.004d0670
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x48
ret
call fcn.00467570
jmp fcn.004c9810
Function at 0x1001b2dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b89d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001b329
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1001b324
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1001b3cd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001b34b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xffffffff
jne 0x1001b3cd
mov dword [ebp - 0x28], 0xfff8
mov dword [ebp - 0x18], 0x5c62e089
mov dword [ebp - 0x50], 0x6a756a33
mov dword [ebp - 0x4c], 0x6a756a33
mov dword [ebp - 0x48], 0x6a756a33
mov dword [ebp - 0x44], 0x6a756a33
lea ecx, [ebp - 0xd]
call fcn.100091b3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.10015934
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.100158fa
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x3c]
call fcn.10015925
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10015920
jmp 0x1001b340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100281b6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100281eb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100281e9
push 0x184a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x10028226
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
push dword [ebp - 0x20]
call fcn.100242b2
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x100282c5
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10028320
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10028301
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002831e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10015925
mov dword [eax], 0xbca63185
jmp 0x100282f6
jmp 0x1002832f
push 0x184a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x1002b021
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002b045
xor eax, eax
jmp 0x1002b168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002b063
xor eax, eax
jmp 0x1002b168
push 1
push dword [ebp - 8]
push 0xd1c
lea eax, [ebp - 0xc]
push eax
call fcn.1002abb2
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002b086
xor eax, eax
jmp 0x1002b168
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1002ae5f
add esp, 0x18
push 0x7f54
lea eax, [ebp - 4]
push eax
push 0xb97
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002aede
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 0x34ae
push 0x6ffd
push 1
push 0x50fe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002af5b
add esp, 0x18
push dword [ebp - 4]
call fcn.1002aa98
pop ecx
test eax, eax
jne 0x1002b102
xor eax, eax
jmp 0x1002b168
push dword [ebp - 4]
call fcn.10024cee
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002b150
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002b12a
xor eax, eax
jmp 0x1002b168
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002b143
xor eax, eax
jmp 0x1002b168
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002afdf
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002b161
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002b165
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10041a60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10041ad0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x28]
call fcn.10046977
jmp 0x10041af5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10041af5
push 0x184a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x1005b950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.1005b9a0
movzx eax, al
test eax, eax
je 0x1005b981
push 0x10001a10
push 0x11ef13a8
call fcn.1004d550
add esp, 8
push 0
call fcn.1006572c
mov ecx, dword [ebp - 4]
call fcn.1005ba90
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.1005ba70
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1007766e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10082330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10068814
mov dword [ebp - 0x14], eax
cmp dword [0x11ef2458], esi
jne 0x10077761
push 0x800
push esi
push 0x10007e24
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100776ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077841
push esi
push esi
push 0x10007e24
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077841
push 0x10007e3c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077841
push eax
call ebx
push 0x10007e48
push edi
mov dword [0x11ef2458], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e58
push edi
mov dword [0x11ef245c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e6c
push edi
mov dword [0x11ef2460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11ef2468], eax
test eax, eax
je 0x1007775e
push 0x10007e88
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11ef2464], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10077786
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077779
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007779b
push 4
pop eax
jmp 0x10077843
cmp dword [ebp - 0x14], esi
je 0x1007779b
push dword [0x11ef2458]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077780
mov eax, dword [0x11ef2464]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100777f9
cmp dword [0x11ef2468], edi
je 0x100777f9
push eax
call ebx
push dword [0x11ef2468]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100777f9
test eax, eax
je 0x100777f9
call ecx
test eax, eax
je 0x100777ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100777ee
test byte [ebp - 8], 1
jne 0x100777f9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077829
mov eax, dword [0x11ef245c]
cmp eax, edi
je 0x10077826
push eax
call ebx
test eax, eax
je 0x10077826
call eax
mov esi, eax
test esi, esi
je 0x10077826
mov eax, dword [0x11ef2460]
cmp eax, edi
je 0x10077826
push eax
call ebx
test eax, eax
je 0x10077826
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x11ef2458]
call ebx
test eax, eax
je 0x10077841
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10077843
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret