joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029136
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10029151
push 0x8ed
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x1002918c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0
call fcn.1002622b
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1002bbeb
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002bc1b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002bc19
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1002bc66
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002bc49
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 0x1002bc66
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1001597e
mov dword [eax], 0x9d585ed0
jmp 0x1002bc3e
mov esp, ebp
pop ebp
ret
Function at 0x1002c281
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c339
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002c2d9
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], 1
jg 0x1002c337
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002c2f7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x1002c335
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1002c315
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jg 0x1002c333
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1001597e
cmp dword [eax], 0
je 0x1002c331
jmp 0x1002c333
jmp 0x1002c30a
jmp 0x1002c2ec
jmp 0x1002c2ce
jmp 0x1002c369
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002c369
push 0x17f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x1002d89b
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 0x1002d8bf
xor eax, eax
jmp 0x1002da31
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 0x1002d8dd
xor eax, eax
jmp 0x1002da31
push 1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x26f1
call fcn.1002d12a
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002d900
xor eax, eax
jmp 0x1002da31
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push 0x603e
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x6cd6
push 0x5879
push 0x381f
push 0x243a
push 1
push 0x4cd2
push 0x2f6d
call fcn.1002d2e4
add esp, 0x34
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 4]
push 0
call fcn.10025e65
add esp, 0x10
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x739b
lea eax, [ebp - 8]
push eax
push 0x7e51
lea eax, [ebp - 0xc]
push eax
call fcn.1002d65a
add esp, 0x18
push 1
lea eax, [ebp - 4]
push eax
push 0xb8e
push 0x7de9
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d6ec
add esp, 0x14
push dword [ebp - 4]
call fcn.1002c36d
pop ecx
test eax, eax
jne 0x1002d9a2
xor eax, eax
jmp 0x1002da31
push 0x3319
push 1
push 0x1ba5
push 0x5ae5
push 0x34d1
push 0x5704
lea eax, [ebp - 4]
push eax
call fcn.1002d789
add esp, 0x1c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002da19
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 0x1002d9e8
xor eax, eax
jmp 0x1002da31
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002da01
xor eax, eax
jmp 0x1002da31
push 0x58bf
lea eax, [ebp - 4]
push eax
push 0x41be
push 1
call fcn.1002d824
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002da2a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002da2e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1003f27c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003f298
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x1003f2c8
mov eax, dword [ebp + 0xc]
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 0x1003f2c8
push 0x17f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x1003ff92
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003ffb4
push 0
push 0x643
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x100400cf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10040006
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
jg 0x100400cf
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001597e
cmp dword [eax], 0
jge 0x1004002d
mov dword [ebp - 0xc], 1
jmp 0x10040031
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xffff
ja 0x10040043
mov dword [ebp - 0x10], 1
jmp 0x10040047
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001597e
mov ecx, dword [ebp - 0x10]
imul ecx, dword [eax]
test ecx, ecx
je 0x100400be
mov eax, dword [ebp - 0x30]
imul eax, dword [eax], 7
test eax, eax
jne 0x10040088
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x10040088
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001597e
cmp dword [eax], 0
jne 0x10040088
and dword [ebp - 0x14], 0
jmp 0x1004008f
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001597e
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jl 0x100400be
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001597e
cmp dword [eax], 0
je 0x100400be
mov dword [ebp - 0x18], 1
jmp 0x100400c2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1003fffb
mov esp, ebp
pop ebp
ret
Function at 0x10068fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10069020
movzx eax, al
test eax, eax
je 0x10068fd1
push 0x10001db0
push 0x1067cac0
call fcn.1004be20
add esp, 8
push 0
call fcn.1007094d
mov ecx, dword [ebp - 4]
call fcn.100692e0
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.10069110
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10085b89
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009060c]
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.10072f0a
mov dword [ebp - 0x14], eax
cmp dword [0x1067dbd0], esi
jne 0x10085c7c
push 0x800
push esi
push 0x100081e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10085c09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10085d5c
push esi
push esi
push 0x100081e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10085d5c
push 0x10008200
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10085d5c
push eax
call ebx
push 0x1000820c
push edi
mov dword [0x1067dbd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000821c
push edi
mov dword [0x1067dbd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10008230
push edi
mov dword [0x1067dbd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067dbe0], eax
test eax, eax
je 0x10085c79
push 0x1000824c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067dbdc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10085ca1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10085c94
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10085cb6
push 4
pop eax
jmp 0x10085d5e
cmp dword [ebp - 0x14], esi
je 0x10085cb6
push dword [0x1067dbd0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10085c9b
mov eax, dword [0x1067dbdc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10085d14
cmp dword [0x1067dbe0], edi
je 0x10085d14
push eax
call ebx
push dword [0x1067dbe0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10085d14
test eax, eax
je 0x10085d14
call ecx
test eax, eax
je 0x10085d09
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 0x10085d09
test byte [ebp - 8], 1
jne 0x10085d14
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10085d44
mov eax, dword [0x1067dbd4]
cmp eax, edi
je 0x10085d41
push eax
call ebx
test eax, eax
je 0x10085d41
call eax
mov esi, eax
test esi, esi
je 0x10085d41
mov eax, dword [0x1067dbd8]
cmp eax, edi
je 0x10085d41
push eax
call ebx
test eax, eax
je 0x10085d41
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067dbd0]
call ebx
test eax, eax
je 0x10085d5c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10085d5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006fa45
mov esp, ebp
pop ebp
ret
Function at 0x406b40
Capabilities:
Enumerate pe sections

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401602
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [0x409048], edi
je 0x40161f
mov word [esi], di
mov edx, dword [ebp + 0xc]
cmp edx, edi
je 0x401629
mov word [edx], di
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x401633
mov word [ecx], di
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x40163d
mov word [eax], di
cmp edx, edi
je 0x4016db
cmp esi, edi
je 0x4016db
cmp ecx, edi
je 0x4016db
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, edi
jl 0x4016e5
mov dword [ebp - 8], eax
xor ebx, ebx
cmp ebx, edi
jl 0x4016f0
xor esi, esi
inc esi
cmp dword [ebp - 8], esi
jbe 0x4016c3
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + esi*4]
movzx eax, word [edi]
cmp ax, 0x2d
jne 0x404e76
inc edi
inc edi
push 0x4016f8
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x404eba
or dword [0x409048], 1
inc esi
inc dword [ebp - 4]
cmp esi, dword [ebp - 8]
jb 0x401688
cmp dword [ebp - 0xc], 0
je 0x4016d2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
call fcn.004077b4
jmp 0x404e6c
or dword [ebp - 8], 0xffffffff
mov ebx, 0x80070216
jmp 0x401675
call fcn.004077b4
jmp 0x4016c3
mov ebx, 0x80070057
jmp 0x4016d2
cmp ax, 0x2f
je 0x40169b
mov eax, dword [0x409048]
test eax, eax
je 0x404e91
test al, 2
je 0x404f9d
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x404f9d
push edi
push 0x144
mov edi, eax
call fcn.00404106
mov ebx, eax
test ebx, ebx
jge 0x4016ba
jmp 0x4016f0
push 0x404fa8
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x404ed8
or dword [0x409048], 3
jmp 0x4016ba
push 0x404fb4
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x404f07
mov eax, dword [ebp - 4]
or dword [0x409048], 8
cmp eax, dword [ebp - 8]
jae 0x4016ba
mov edi, dword [ebp + 0x10]
mov edx, 0x144
jmp 0x404f6c
push 0x404fe0
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x404f3b
mov eax, dword [ebp - 8]
or dword [0x409048], 5
cmp dword [ebp - 4], eax
jae 0x4016ba
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
inc esi
push dword [eax + esi*4]
push 0x40
pop edx
jmp 0x404f73
push 0x404fec
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x404f9d
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x404f9d
mov eax, dword [ebp - 8]
or dword [0x409048], 0x16
cmp dword [ebp - 4], eax
jae 0x4016ba
mov edx, 0x824
mov eax, dword [ebp - 0xc]
inc esi
push dword [eax + esi*4]
inc dword [ebp - 4]
mov ecx, edi
call fcn.0040660e
mov ebx, eax
test ebx, ebx
jl 0x4016f0
movzx eax, word [edi]
cmp ax, 0x2d
je 0x404f9d
cmp ax, 0x2f
je 0x404f9d
xor ebx, ebx
jmp 0x4016ba
mov ebx, 0x80070057
jmp 0x4016f0
Function at 0x401733
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [ebp - 4], 1
jbe 0x401764
mov eax, dword [ebp + 0x10]
push dword [eax + esi*8]
push dword [ebp + 0x18]
call edi
test eax, eax
jne 0x401778
inc esi
cmp esi, dword [ebp + 0x14]
jb 0x40174f
mov eax, dword [ebp + 0xc]
test eax, eax
ja 0x4049de
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x14
and dword [ebp - 4], 0
jmp 0x40176f
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x18], eax
xor esi, esi
cmp dword [ebp + 0x14], esi
jbe 0x404a06
mov eax, dword [ebp + 0x10]
push dword [eax + esi*8]
push dword [ebx]
call edi
test eax, eax
jne 0x404a02
inc esi
cmp esi, dword [ebp + 0x14]
jae 0x404a06
jmp 0x4049ec
and dword [ebp - 4], 0
add ebx, 8
dec dword [ebp + 0x18]
jne 0x4049e5
pop ebx
jmp 0x40176f
Function at 0x4024b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
push edi
push 4
mov byte [esp + 0x17], 1
call fcn.00402d3a
test eax, eax
jne 0x4047c9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
cmp eax, 2
jne 0x40484b
push dword [ebx + 0x4c]
lea esi, [esp + 0x1c]
push dword [ebx + 0x34]
call fcn.00401e7e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x3c]
lea edx, [esp + 0x4c]
call fcn.00402206
test eax, eax
jl 0x4047e8
push dword [esp + 0x3c]
lea edi, [ebx + 0x64]
call fcn.00401df3
cmp byte [esp + 0x13], 0
je 0x4047fc
call fcn.00401927
cmp eax, 1
jne 0x4047fc
push 0x4025a8
lea edi, [ebx + 0x58]
call fcn.00401df3
mov ebx, eax
test ebx, ebx
jl 0x4047f2
lea esi, [esp + 0x60]
call fcn.00401de8
lea esi, [esp + 0x54]
call fcn.00401de8
lea esi, [esp + 0x48]
call fcn.00401de8
lea esi, [esp + 0x3c]
call fcn.00401de8
lea esi, [esp + 0x30]
call fcn.00401de8
lea esi, [esp + 0x24]
call fcn.00401de8
lea esi, [esp + 0x18]
call fcn.00401de8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x404940
xor eax, eax
lea esi, [esp + 0x18]
call fcn.00403016
cmp dword [esp + 0x14], 0
sete byte [esp + 0x13]
jmp 0x4024db
call fcn.004077b4
jmp 0x402546
call fcn.004077b4
jmp 0x40255d
push dword [esp + 0x54]
lea esi, [esp + 0x74]
push dword [ebx + 0x34]
call fcn.00406650
mov eax, esi
push eax
call fcn.0040673c
mov ebx, esi
call fcn.00406990
mov ebx, eax
test ebx, ebx
jl 0x404832
push dword [esp + 0xa0]
mov eax, dword [ebp + 8]
call fcn.00405c45
mov ebx, eax
lea edi, [esp + 0x70]
call fcn.00405c5d
test ebx, ebx
jge 0x40255d
mov ebx, dword [ebp + 8]
jmp 0x402546
cmp eax, 3
jne 0x40492b
cmp byte [esp + 0x13], 0
je 0x404881
call fcn.00401927
cmp eax, 1
jne 0x404881
push 0x4025a8
lea edi, [ebx + 0x58]
call fcn.00401df3
mov ebx, eax
test ebx, ebx
jl 0x404930
jmp 0x40259c
push dword [ebx + 0x4c]
lea esi, [esp + 0x74]
call fcn.00406be9
mov eax, esi
push eax
call fcn.00401328
mov eax, esi
call fcn.00406ec0
mov edi, dword [esp + 0x94]
xor esi, esi
test edi, edi
je 0x40491c
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
and dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0x94]
call fcn.004061b9
test eax, eax
jl 0x4048ee
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push 0
push eax
call fcn.00403554
mov ecx, eax
test ecx, ecx
je 0x4048ee
test esi, esi
je 0x4048ec
mov edx, esi
call fcn.0040663b
test eax, eax
jge 0x4048ee
mov esi, ecx
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x4048a9
test esi, esi
je 0x40491c
push dword [esi + 0x10]
mov eax, ebx
call fcn.00405c45
mov ebx, eax
test ebx, ebx
jge 0x40490e
call fcn.004077b4
lea eax, [esp + 0x70]
call fcn.00405ca1
jmp 0x40259c
push 0x4025a8
lea edi, [ebx + 0x58]
call fcn.00401df3
jmp 0x404903
mov ebx, 0x80004005
call fcn.004077b4
jmp 0x40259c