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

Disassembly:
sub esp, 0x24
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x102e4320]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [0x102e4324]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
jne 0x100f9cb2
test esi, esi
jne 0x100f9cb2
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.100f9080
push edx
push eax
call fcn.100f95b0
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x102e4320], ecx
mov dword [0x102e4324], esi
jne 0x100f9cae
test esi, esi
je 0x100f9d08
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100f9cba
mov eax, dword [ebx]
jmp 0x100f9cbc
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.100f8ae0
add esp, 0x34
test eax, eax
jne 0x100f9cfe
test edx, edx
je 0x100f9d1d
push edx
push eax
call fcn.100f94e0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10117937
add esp, 0x24
ret
test ebx, ebx
je 0x100f9d27
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.10117937
add esp, 0x24
ret
Function at 0x100f9d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x102e4328]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [0x102e432c]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jne 0x100f9e15
test esi, esi
jne 0x100f9e15
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.100f9080
push edx
push eax
call fcn.100f95b0
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x102e4328], ecx
mov dword [0x102e432c], esi
jne 0x100f9e11
test esi, esi
je 0x100f9e6b
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100f9e1d
mov eax, dword [ebx]
jmp 0x100f9e1f
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.100f8ae0
add esp, 0x34
test eax, eax
jne 0x100f9e61
test edx, edx
je 0x100f9e80
push edx
push eax
call fcn.100f94e0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10117937
add esp, 0x28
ret
test ebx, ebx
je 0x100f9e8a
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.10117937
add esp, 0x28
ret
Function at 0x10100820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017de67
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
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.10101290
mov dword [esp + 0x24], ebx
push ebx
push 0x3fe0
lea ecx, [esi + 0x40]
call fcn.10101290
mov byte [esp + 0x24], 1
push 0x30
lea edi, [esi + 0x50]
push ebx
push edi
call fcn.101183f0
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 0x10100b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017dec7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101cc114]
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.10100a40
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.10101720
mov byte [esp + 0x18], 1
push 0
lea ecx, [esi + 0x50]
call fcn.10101460
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x40]
call fcn.101014a0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.101014a0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x10102150
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
test edi, edi
jbe 0x1010217c
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 0x10102160
pop esi
pop edi
ret

Function at 0x101026c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x101cc114]
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 0x10102794
mov eax, dword [ebx + 4]
xor ecx, ecx
test edi, edi
jbe 0x10102736
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 0x10102710
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.10101f40
test eax, eax
mov dword [esi], eax
jne 0x101027ac
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.100feee0
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x101027ac
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.10101de0
test eax, eax
je 0x10102794
mov ecx, dword [ebp]
test eax, ecx
jne 0x10102794
or ecx, eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x10]
push ebx
add ecx, 4
call fcn.101038d0
cmp eax, 2
jne 0x10102794
mov edi, dword [ebx + 8]
cmp edi, 0x20
jbe 0x101026f8
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10117937
add esp, 0x30
ret
mov edi, dword [esp + 0x10]
push ebx
lea ecx, [edi + 4]
call fcn.101038d0
cmp eax, 2
jne 0x10102800
mov esi, dword [ebx + 8]
cmp esi, 0x20
ja 0x10102800
mov edx, dword [ebx + 4]
push edx
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.10102150
add esp, 4
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10101de0
cmp eax, 0x40
jne 0x10102800
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.10117937
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.10117937
add esp, 0x30
ret
Function at 0x101074d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [0x101cb5d4]
cmp dword [eax], 3
push ebx
mov ebx, dword [ecx + 0x18]
push esi
mov esi, dword [esp + 0xc]
jl 0x10107511
push esi
call fcn.10107300
mov edx, dword [esi + 0x50]
mov eax, dword [0x101cb5d4]
mov ecx, dword [eax + 0x2c]
add esp, 4
push edx
push 0
push ebx
call ecx
push esi
call fcn.10105e60
mov eax, dword [0x101cb5d4]
cmp dword [eax], 1
jl 0x101075cc
mov edx, dword [eax + 0xc]
mov ecx, dword [edx + 4]
cmp ecx, 0x68
je 0x1010752d
cmp ecx, 0x80
jne 0x1010756b
push ebp
lea ebp, [esi + 0x50]
push edi
mov edi, dword [ebp]
cmp ebp, edi
je 0x10107569
lea esp, [esp]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x28]
push edx
call eax
mov edi, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [0x101cb5d4]
mov eax, dword [edx + 0x2c]
push ecx
push 0
push ebx
call eax
cmp ebp, edi
mov eax, dword [0x101cb5d4]
jne 0x10107540
pop edi
pop ebp
mov ecx, dword [esi + 0x30]
mov edx, dword [eax + 0x2c]
push ecx
push 0
push ebx
call edx
mov eax, dword [esi + 0x28]
mov ecx, dword [0x101cb5d4]
mov edx, dword [ecx + 0x2c]
push eax
push 0
push ebx
call edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [ecx], eax
push esi
mov dword [eax + 4], ecx
mov eax, dword [0x101cb5d4]
mov ecx, dword [eax + 0x2c]
push 0
push ebx
call ecx
pop esi
mov eax, 1
pop ebx
ret 4
pop esi
xor eax, eax
pop ebx
ret 4

Function at 0x10107af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x3c]
push ebx
push ebp
add eax, ecx
push esi
push edi
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov ebp, dword [edi + ecx + 0x1c]
mov edx, dword [edi + ecx + 0x24]
mov esi, dword [edi + ecx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [edi + ecx + 0x20]
add eax, ecx
add edx, ecx
add ebp, ecx
xor ebx, ebx
test esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jle 0x10107b93
jmp 0x10107b34
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebx*4]
mov esi, dword [esp + 0x20]
add eax, ecx
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [esi]
jne 0x10107b60
test dl, dl
je 0x10107b5c
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x10107b60
add eax, 2
add esi, 2
test dl, dl
jne 0x10107b40
xor eax, eax
jmp 0x10107b65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10107b8a
mov edx, dword [esp + 0x10]
movzx eax, word [edx + ebx*2]
mov eax, dword [ebp + eax*4]
add eax, ecx
lea edx, [edi + ecx]
cmp eax, edx
jb 0x10107b95
mov edx, dword [esp + 0x14]
add edx, edi
add edx, ecx
cmp eax, edx
ja 0x10107b95
add ebx, 1
cmp ebx, dword [edi + ecx + 0x18]
jl 0x10107b30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10109380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101b1fb0
push 0x10117e30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101cc114]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x101093c5
mov dword [eax], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x101cb5d4]
mov edx, dword [ecx + 0x50]
call edx
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp edi, esi
jne 0x101093fd
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, word [edi + 0x18]
cmp eax, 0x10b
je 0x1010945a
cmp eax, 0x20b
jne 0x101093e0
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x24], esi
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x20], ebx
push 0x66
movzx eax, word [edi + 6]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push esi
call fcn.101091b0
xor eax, eax
mov dword [ebp - 0x28], eax
cmp ax, word [edi + 6]
jae 0x10109452
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x10109438
add ebx, dword [edi + 0xac]
jmp 0x101094a3
movzx edx, word [edi + 0x14]
lea esi, [edx + edi + 0x18]
mov dword [ebp - 0x24], esi
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x20], ebx
push 0x66
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push esi
call fcn.101091b0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ax, word [edi + 6]
jae 0x1010949d
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x10109483
add ebx, dword [edi + 0x9c]
mov edi, dword [edi + 0x58]
mov dword [ebp - 0x20], ebx
push 0x66
push ebx
mov esi, dword [ebp + 8]
push esi
call fcn.101091b0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101094be
mov dword [eax], ebx
test edi, edi
jne 0x101094df
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, esi
call fcn.101090c0
mov byte [ebp - 0x19], al
jmp 0x10109514
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1010a69c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101cc114]
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 0x1010a6dc
push 0x10193ee0
push 4
push eax
call fcn.1011821c
push eax
call fcn.10001000
add esp, 0x10
jmp 0x1010a6ee
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x1010a75c
push edi
call fcn.1011c1d5
mov edi, dword [eax]
call fcn.1011c1d5
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.10119267
add esp, 0x18
mov ebx, eax
call fcn.1011c1d5
cmp dword [eax], 0
je 0x1010a73c
call fcn.1011c1d5
push dword [eax]
call fcn.1010983d
pop ecx
jmp 0x1010a743
call fcn.1011c1d5
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x1010a75c
cmp ebx, esi
jae 0x1010a75c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x1010a75e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10117937
leave
ret
Function at 0x1011444f
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 0x10114492
call fcn.1010a142
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x10114492
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x101144ad
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.10114006
test ebx, ebx
mov esi, eax
je 0x101144ab
test edi, edi
je 0x101144ab
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10117937
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101cc114]
jne 0x10117941
repz ret
jmp fcn.101230ec
Function at 0x10121b17
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 + 0x101cc408]
je 0x10121b32
inc edi
cmp edi, 0x17
jb 0x10121b23
cmp edi, 0x17
jae 0x10121cb2
push ebp
push 3
call fcn.1012e6f4
cmp eax, 1
pop ecx
je 0x10121c7e
push 3
call fcn.1012e6f4
test eax, eax
pop ecx
jne 0x10121b66
cmp dword [0x102e6228], 1
je 0x10121c7e
cmp ebx, 0xfc
je 0x10121cb1
push 0x10196210
mov ebx, 0x314
push ebx
mov ebp, 0x102e63d8
push ebp
call fcn.1011821c
add esp, 0xc
test eax, eax
je 0x10121b9c
push esi
push esi
push esi
push esi
push esi
call fcn.10119595
add esp, 0x14
push 0x104
mov esi, 0x102e63f1
push esi
push 0
mov byte [0x102e64f5], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x10121be0
push 0x101961f8
push 0x2fb
push esi
call fcn.1011821c
add esp, 0xc
test eax, eax
je 0x10121be0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10119595
add esp, 0x14
push esi
call fcn.1011dff0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10121c25
push esi
call fcn.1011dff0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x102e66ec
push 0x101961f4
sub ecx, eax
push ecx
push eax
call fcn.101203e0
add esp, 0x14
test eax, eax
je 0x10121c25
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10119595
add esp, 0x14
jmp 0x10121c27
xor esi, esi
push 0x101961f0
push ebx
push ebp
call fcn.1011834a
add esp, 0xc
test eax, eax
je 0x10121c47
push esi
push esi
push esi
push esi
push esi
call fcn.10119595
add esp, 0x14
push dword [edi*8 + 0x101cc40c]
push ebx
push ebp
call fcn.1011834a
add esp, 0xc
test eax, eax
je 0x10121c69
push esi
push esi
push esi
push esi
push esi
call fcn.10119595
add esp, 0x14
push 0x12010
push 0x101961c8
push ebp
call fcn.1012e537
add esp, 0xc
jmp 0x10121cb1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10121cb1
cmp ebp, 0xffffffff
je 0x10121cb1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101cc40c]
push dword [esi]
call fcn.1011dff0
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 0x1012e537
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10122a80
xor ebx, ebx
cmp dword [0x102e6cb4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1012e60d
push 0x10197d3c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1012e6ed
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x10197d30
push edi
call esi
cmp eax, ebx
je 0x1012e6ed
push eax
call fcn.10122a12
mov dword [esp], 0x10197d20
push edi
mov dword [0x102e6cb4], eax
call esi
push eax
call fcn.10122a12
mov dword [esp], 0x10197d0c
push edi
mov dword [0x102e6cb8], eax
call esi
push eax
call fcn.10122a12
mov dword [0x102e6cbc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1011e17c
test eax, eax
pop ecx
pop ecx
je 0x1012e5db
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10119595
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1012e60d
push 0x10197cf0
push edi
call esi
push eax
call fcn.10122a12
cmp eax, ebx
pop ecx
mov dword [0x102e6cc4], eax
je 0x1012e60d
push 0x10197cd8
push edi
call esi
push eax
call fcn.10122a12
pop ecx
mov dword [0x102e6cc0], eax
mov eax, dword [0x102e6cc0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1012e692
cmp dword [0x102e6cc4], ecx
je 0x1012e692
push eax
call fcn.10122a89
push dword [0x102e6cc4]
mov esi, eax
call fcn.10122a89
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1012e692
cmp edi, ebx
je 0x1012e692
call esi
cmp eax, ebx
je 0x1012e65f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1012e65f
test byte [ebp - 0x18], 1
jne 0x1012e692
lea eax, [ebp - 0x10]
push eax
call fcn.1011e1b3
test eax, eax
pop ecx
je 0x1012e67a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10119595
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1012e689
or dword [ebp + 0x10], 0x200000
jmp 0x1012e6cd
or dword [ebp + 0x10], 0x40000
jmp 0x1012e6cd
mov eax, dword [0x102e6cb8]
cmp eax, dword [ebp - 8]
je 0x1012e6cd
push eax
call fcn.10122a89
cmp eax, ebx
pop ecx
je 0x1012e6cd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1012e6cd
mov eax, dword [0x102e6cbc]
cmp eax, dword [ebp - 8]
je 0x1012e6cd
push eax
call fcn.10122a89
cmp eax, ebx
pop ecx
je 0x1012e6cd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102e6cb4]
call fcn.10122a89
cmp eax, ebx
pop ecx
je 0x1012e6ed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1012e6ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10134c61
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x101cc114]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10134bf6
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.101183f0
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 0x10134cb0
cmp dword [ebp - 0x1c], 5
jb 0x10134cc8
jmp 0x10134cc4
cmp dword [ebp - 0x10], 1
jne 0x10134cc8
cmp dword [ebp - 0x1c], 4
ja 0x10134cc4
jne 0x10134cc8
cmp dword [ebp - 0x18], 0
jbe 0x10134cc8
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10197e40
call fcn.10001ab0
test eax, eax
jge 0x10134ce9
mov byte [0x101cda80], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10117937
add ebp, 0x78
leave
ret

Function at 0x101368c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017e978
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x101cc114]
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], 0x10197f4c
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.10135fd0
mov bl, al
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 8], 0x10197f4c
je 0x10136940
cmp byte [esp + 0x10], 0
je 0x10136940
push eax
call fcn.10118ab4
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