joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e6c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x101c84c0]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [0x101c84c4]
push edi
mov edi, dword [esp + 0x3c]
jne 0x100e6ce1
test esi, esi
jne 0x100e6ce1
mov al, 0x74
mov byte [esp + 0x1d], al
mov cl, 0x72
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x28], al
mov dl, 0x65
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x22], 0x50
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6f
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x29], 0x56
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2d], 0x75
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], 0x4d
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0
call fcn.100e6210
push edx
push eax
call fcn.100e6740
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101c84c0], ecx
mov dword [0x101c84c4], esi
jne 0x100e6ce1
test esi, esi
je 0x100e6d3e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov eax, ebp
cdq
push edx
push eax
mov eax, dword [esp + 0x54]
push 0
push eax
lea eax, [esp + 0x24]
cdq
push edx
push eax
lea eax, [esp + 0x24]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x4c], 0
call fcn.100e5c70
add esp, 0x34
test eax, eax
jne 0x100e6d34
test edx, edx
je 0x100e6d52
push edx
push eax
call fcn.100e6670
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1010190d
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.1010190d
add esp, 0x2c
ret
Function at 0x100e6d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x101c84c8]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [0x101c84cc]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
jne 0x100e6e42
test esi, esi
jne 0x100e6e42
mov al, 0x72
mov byte [esp + 0x24], al
mov byte [esp + 0x2d], al
mov dl, 0x65
mov cl, 0x61
lea eax, [esp + 0x1c]
mov bl, 0x74
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x56
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0x4d
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0
call fcn.100e6210
push edx
push eax
call fcn.100e6740
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101c84c8], ecx
mov dword [0x101c84cc], esi
jne 0x100e6e3e
test esi, esi
je 0x100e6e98
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100e6e4a
mov eax, dword [ebx]
jmp 0x100e6e4c
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
cdq
push edx
mov edx, dword [esp + 0x4c]
push eax
push 0
push edx
mov eax, ebp
cdq
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push eax
push edx
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x48], 0
call fcn.100e5c70
add esp, 0x34
test eax, eax
jne 0x100e6e8e
test edx, edx
je 0x100e6ead
push edx
push eax
call fcn.100e6670
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1010190d
add esp, 0x24
ret
test ebx, ebx
je 0x100e6eb7
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1010190d
add esp, 0x24
ret
Function at 0x100e6ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x101c84d0]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [0x101c84d4]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jne 0x100e6fa5
test esi, esi
jne 0x100e6fa5
mov al, 0x72
mov cl, 0x74
mov byte [esp + 0x1f], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2e], al
mov dl, 0x65
lea eax, [esp + 0x1c]
mov bl, 0x69
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x57
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x56
mov byte [esp + 0x28], bl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x75
mov byte [esp + 0x2c], 0x61
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x4d
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x33], 0x79
mov byte [esp + 0x34], 0
call fcn.100e6210
push edx
push eax
call fcn.100e6740
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101c84d0], ecx
mov dword [0x101c84d4], esi
jne 0x100e6fa1
test esi, esi
je 0x100e6ffb
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100e6fad
mov eax, dword [ebx]
jmp 0x100e6faf
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
cdq
push edx
mov edx, dword [esp + 0x50]
push eax
push 0
push edx
mov eax, ebp
cdq
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push eax
push edx
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x48], 0
call fcn.100e5c70
add esp, 0x34
test eax, eax
jne 0x100e6ff1
test edx, edx
je 0x100e7010
push edx
push eax
call fcn.100e6670
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1010190d
add esp, 0x28
ret
test ebx, ebx
je 0x100e701a
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1010190d
add esp, 0x28
ret
Function at 0x100ed970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10162857
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
or eax, 0xffffffff
push ebx
lea ebp, [esi + 0x30]
push 0x3fe0
mov ecx, ebp
mov dword [esi], ebx
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.100ee3e0
mov dword [esp + 0x24], ebx
push ebx
push 0x3fe0
lea ecx, [esi + 0x40]
call fcn.100ee3e0
mov byte [esp + 0x24], 1
push 0x30
lea edi, [esi + 0x50]
push ebx
push edi
call fcn.10102a00
add esp, 0xc
mov dword [edi], ebp
mov byte [esp + 0x24], 2
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
lea eax, [esi + 0xa4]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov ecx, 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x14]
mov dword [esp + 0x18], eax
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ecx
mov dword [ecx], ebx
mov dword [esp + 0x24], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x100edc90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101628b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x18], 3
push 1
mov eax, esi
call fcn.100edb90
mov al, 2
add esp, 4
mov byte [esp + 0x18], al
lea ecx, [esi + 0xa4]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], al
push 0
call fcn.100ee870
mov byte [esp + 0x18], 1
push 0
lea ecx, [esi + 0x50]
call fcn.100ee5b0
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x40]
call fcn.100ee5f0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.100ee5f0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x100ef2a0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
test edi, edi
jbe 0x100ef2cc
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov edi, edi
mov dl, byte [esi + ecx]
mov al, dl
sub al, 0x41
cmp al, 0x19
setbe al
shl al, 5
xor al, dl
mov byte [ecx], al
add ecx, 1
sub edi, 1
jne 0x100ef2b0
pop esi
pop edi
ret

Function at 0x100ef810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, dword [ebx + 8]
cmp edi, 0x20
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
ja 0x100ef8e4
mov eax, dword [ebx + 4]
xor ecx, ecx
test edi, edi
jbe 0x100ef886
mov ebp, eax
lea edx, [esp + 0x1c]
sub ebp, edx
lea esp, [esp]
lea esi, [esp + ecx + 0x1c]
mov dl, byte [esi + ebp]
mov al, dl
sub al, 0x41
cmp al, 0x19
setbe al
shl al, 5
xor al, dl
add ecx, 1
cmp ecx, edi
mov byte [esi], al
jb 0x100ef860
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.100ef090
test eax, eax
mov dword [esi], eax
jne 0x100ef8fc
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.100ec030
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x100ef8fc
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.100eef30
test eax, eax
je 0x100ef8e4
mov ecx, dword [ebp]
test eax, ecx
jne 0x100ef8e4
or ecx, eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x10]
push ebx
add ecx, 4
call fcn.100f0a20
cmp eax, 2
jne 0x100ef8e4
mov edi, dword [ebx + 8]
cmp edi, 0x20
jbe 0x100ef848
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010190d
add esp, 0x30
ret
mov edi, dword [esp + 0x10]
push ebx
lea ecx, [edi + 4]
call fcn.100f0a20
cmp eax, 2
jne 0x100ef950
mov esi, dword [ebx + 8]
cmp esi, 0x20
ja 0x100ef950
mov edx, dword [ebx + 4]
push edx
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.100ef2a0
add esp, 4
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100eef30
cmp eax, 0x40
jne 0x100ef950
or dword [ebp], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010190d
add esp, 0x30
ret
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1010190d
add esp, 0x30
ret
Function at 0x100f466f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101af0fc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x100f46af
push 0x10177c10
push 4
push eax
call fcn.101021ec
push eax
call fcn.10001000
add esp, 0x10
jmp 0x100f46c1
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x100f472f
push edi
call fcn.10105fb5
mov edi, dword [eax]
call fcn.10105fb5
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.101039f0
add esp, 0x18
mov ebx, eax
call fcn.10105fb5
cmp dword [eax], 0
je 0x100f470f
call fcn.10105fb5
push dword [eax]
call fcn.100f3810
pop ecx
jmp 0x100f4716
call fcn.10105fb5
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x100f472f
cmp ebx, esi
jae 0x100f472f
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x100f4731
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1010190d
leave
ret
Function at 0x100fe422
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x100fe465
call fcn.100f4115
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x100fe465
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x100fe480
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.100fdfd9
test ebx, ebx
mov esi, eax
je 0x100fe47e
test edi, edi
je 0x100fe47e
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1010190d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101af0fc]
jne 0x10101917
repz ret
jmp fcn.1010ccfc
Function at 0x1010b607
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x101af408]
je 0x1010b622
inc edi
cmp edi, 0x17
jb 0x1010b613
cmp edi, 0x17
jae 0x1010b7a2
push ebp
push 3
call fcn.10118134
cmp eax, 1
pop ecx
je 0x1010b76e
push 3
call fcn.10118134
test eax, eax
pop ecx
jne 0x1010b656
cmp dword [0x101ca3dc], 1
je 0x1010b76e
cmp ebx, 0xfc
je 0x1010b7a1
push 0x10179f58
mov ebx, 0x314
push ebx
mov ebp, 0x101ca588
push ebp
call fcn.101021ec
add esp, 0xc
test eax, eax
je 0x1010b68c
push esi
push esi
push esi
push esi
push esi
call fcn.1010b816
add esp, 0x14
push 0x104
mov esi, 0x101ca5a1
push esi
push 0
mov byte [0x101ca6a5], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x1010b6d0
push 0x10179f40
push 0x2fb
push esi
call fcn.101021ec
add esp, 0xc
test eax, eax
je 0x1010b6d0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1010b816
add esp, 0x14
push esi
call fcn.10107b90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1010b715
push esi
call fcn.10107b90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x101ca89c
push 0x10179f3c
sub ecx, eax
push ecx
push eax
call fcn.101079ff
add esp, 0x14
test eax, eax
je 0x1010b715
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1010b816
add esp, 0x14
jmp 0x1010b717
xor esi, esi
push 0x10179f38
push ebx
push ebp
call fcn.1010231a
add esp, 0xc
test eax, eax
je 0x1010b737
push esi
push esi
push esi
push esi
push esi
call fcn.1010b816
add esp, 0x14
push dword [edi*8 + 0x101af40c]
push ebx
push ebp
call fcn.1010231a
add esp, 0xc
test eax, eax
je 0x1010b759
push esi
push esi
push esi
push esi
push esi
call fcn.1010b816
add esp, 0x14
push 0x12010
push 0x10179f10
push ebp
call fcn.10117f77
add esp, 0xc
jmp 0x1010b7a1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1010b7a1
cmp ebp, 0xffffffff
je 0x1010b7a1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101af40c]
push dword [esi]
call fcn.10107b90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10117f77
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1010c69a
xor ebx, ebx
cmp dword [0x101cae6c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1011804d
push 0x1017ba7c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1011812d
mov esi, dword [fcn.1016432c]
push 0x1017ba70
push edi
call esi
cmp eax, ebx
je 0x1011812d
push eax
call fcn.1010c62c
mov dword [esp], 0x1017ba60
push edi
mov dword [0x101cae6c], eax
call esi
push eax
call fcn.1010c62c
mov dword [esp], 0x1017ba4c
push edi
mov dword [0x101cae70], eax
call esi
push eax
call fcn.1010c62c
mov dword [0x101cae74], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10107d1c
test eax, eax
pop ecx
pop ecx
je 0x1011801b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1010b816
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1011804d
push 0x1017ba30
push edi
call esi
push eax
call fcn.1010c62c
cmp eax, ebx
pop ecx
mov dword [0x101cae7c], eax
je 0x1011804d
push 0x1017ba18
push edi
call esi
push eax
call fcn.1010c62c
pop ecx
mov dword [0x101cae78], eax
mov eax, dword [0x101cae78]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x101180d2
cmp dword [0x101cae7c], ecx
je 0x101180d2
push eax
call fcn.1010c6a3
push dword [0x101cae7c]
mov esi, eax
call fcn.1010c6a3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x101180d2
cmp edi, ebx
je 0x101180d2
call esi
cmp eax, ebx
je 0x1011809f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1011809f
test byte [ebp - 0x18], 1
jne 0x101180d2
lea eax, [ebp - 0x10]
push eax
call fcn.10107d53
test eax, eax
pop ecx
je 0x101180ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1010b816
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x101180c9
or dword [ebp + 0x10], 0x200000
jmp 0x1011810d
or dword [ebp + 0x10], 0x40000
jmp 0x1011810d
mov eax, dword [0x101cae70]
cmp eax, dword [ebp - 8]
je 0x1011810d
push eax
call fcn.1010c6a3
cmp eax, ebx
pop ecx
je 0x1011810d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1011810d
mov eax, dword [0x101cae74]
cmp eax, dword [ebp - 8]
je 0x1011810d
push eax
call fcn.1010c6a3
cmp eax, ebx
pop ecx
je 0x1011810d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101cae6c]
call fcn.1010c6a3
cmp eax, ebx
pop ecx
je 0x1011812d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1011812f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1011df21
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x101af0fc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1011deb6
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10102a00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1011df70
cmp dword [ebp - 0x1c], 5
jb 0x1011df88
jmp 0x1011df84
cmp dword [ebp - 0x10], 1
jne 0x1011df88
cmp dword [ebp - 0x1c], 4
ja 0x1011df84
jne 0x1011df88
cmp dword [ebp - 0x18], 0
jbe 0x1011df88
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1017bb80
call fcn.10001ab0
test eax, eax
jge 0x1011dfa9
mov byte [0x101b0a60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1010190d
add ebp, 0x78
leave
ret

Function at 0x1011fab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10163368
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], 0x1017bc58
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], 0
call fcn.1011f1c0
mov bl, al
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 8], 0x1017bc58
je 0x1011fb30
cmp byte [esp + 0x10], 0
je 0x1011fb30
push eax
call fcn.1010323d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x10125d30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
push edi
call edx
mov esi, dword [ebp + 0xc]
mov ecx, 0xc1
lea edi, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xe], 1
lea ebx, [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 1
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
call edx
cmp eax, 1
jne 0x10125f37
cmp byte [esp + 0xe], 0
mov al, byte [esp + 0xf]
jne 0x10125d9d
test al, al
jne 0x10125d70
cmp al, 0x21
je 0x10125f2a
cmp al, 0x2c
je 0x10125dba
cmp al, 0x3b
je 0x10125f37
test al, al
sete byte [esp + 0xe]
jmp 0x10125d70
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 9
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call fcn.101200c0
mov ecx, dword [esp + 0x12]
push ecx
mov ecx, ebx
mov word [esp + 0x14], ax
call fcn.101200c0
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebx
mov word [esp + 0x16], ax
call fcn.101200c0
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x16]
push eax
mov ecx, ebx
call fcn.101200c0
mov ecx, dword [ebp + 0x10]
cmp word [ecx + 6], 0
mov dx, word [esp + 0x14]
mov word [esp + 0x16], ax
jne 0x10125e2e
cmp word [ecx + 8], 0
jne 0x10125e2e
mov word [ecx + 6], dx
mov word [ecx + 8], ax
movzx edi, word [esp + 0x10]
movzx ecx, word [ecx + 6]
movzx edx, dx
add edx, edi
cmp edx, ecx
jg 0x10125d70
movzx ecx, word [esp + 0x12]
movzx edx, ax
add edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + 8]
cmp edx, ecx
jg 0x10125d70
movzx ecx, byte [esp + 0x18]
add dword [esp + 0x1c], 1
test cl, cl
jns 0x10125e9e
mov edx, dword [esi]
mov edx, dword [edx + 8]
and ecx, 7
add ecx, 1
mov eax, 1
shl eax, cl
push 1
lea ecx, [esp + 0x30]
mov word [esp + 0x2e], ax
movsx eax, ax
lea eax, [eax + eax*2]
push eax
push ecx
mov ecx, esi
call edx
movzx ecx, byte [esp + 0x18]
mov ax, word [esp + 0x16]
xor edx, edx
movzx eax, ax
and ecx, 0x40
mov dword [ebx + 0x1dc], ecx
mov dword [ebx + 0x1e8], eax
mov dword [esp + 0x20], edx
mov dword [ebx + 0x1f0], 0x4000
mov dword [ebx + 0x1e4], 8
mov dword [ebx + 0x1e0], edx
mov dword [ebx + 0x1ec], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push 0
push esi
mov ecx, ebx
mov edi, eax
call fcn.10125550
cmp dword [esp + 0x20], 0
je 0x10125f0a
push edi
push esi
mov ecx, ebx
call fcn.10125890
jmp 0x10125d70
mov ecx, dword [ebx + 0x1f0]
sub ecx, dword [ebx + 0x1f4]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add ecx, 1
push 1
push ecx
mov ecx, esi
call edx
jmp 0x10125d70
push esi
mov ecx, ebx
call fcn.10124bf0
jmp 0x10125d70
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc