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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x101e7768]
test ecx, ecx
push esi
mov esi, dword [0x101e776c]
push edi
mov edi, dword [esp + 0x38]
jne 0x100f8b52
test esi, esi
jne 0x100f8b52
mov al, 0x6c
mov cl, 0x74
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x28], al
mov dl, 0x72
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x4e
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x63
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x56
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2d], 0x4d
mov byte [esp + 0x2e], 0x65
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0
call fcn.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7768], ecx
mov dword [0x101e776c], esi
jne 0x100f8b52
test esi, esi
je 0x100f8bb5
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
push eax
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x20]
cdq
push edx
push eax
push 0
push 0
lea eax, [esp + 0x28]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push 6
push esi
push ecx
mov dword [esp + 0x50], 0
call fcn.100f7d90
add esp, 0x3c
test eax, eax
jne 0x100f8bab
test edx, edx
je 0x100f8bca
push edx
push eax
call fcn.100f8790
add esp, 8
pop edi
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10116cb9
add esp, 0x2c
ret
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10116cb9
add esp, 0x2c
ret
Function at 0x100f8bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x101e7770]
test ecx, ecx
push esi
mov esi, dword [0x101e7774]
push edi
mov edi, dword [esp + 0x34]
jne 0x100f8cae
test esi, esi
jne 0x100f8cae
mov al, 0x65
mov cl, 0x72
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x26], al
mov dl, 0x74
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x4e
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x46
mov byte [esp + 0x1f], cl
mov byte [esp + 0x22], 0x56
mov byte [esp + 0x23], 0x69
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x4d
mov byte [esp + 0x2b], 0x6d
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], 0x79
mov byte [esp + 0x2f], 0
call fcn.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7770], ecx
mov dword [0x101e7774], esi
jne 0x100f8cae
test esi, esi
je 0x100f8d06
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
cdq
push edx
push eax
lea eax, [esp + 0x18]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push 4
push esi
push ecx
mov dword [esp + 0x40], 0
call fcn.100f7d90
add esp, 0x2c
test eax, eax
jne 0x100f8cfc
test edx, edx
je 0x100f8d19
push edx
push eax
call fcn.100f8790
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10116cb9
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10116cb9
add esp, 0x28
ret
Function at 0x100f8d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x101e7778]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [0x101e777c]
push edi
mov edi, dword [esp + 0x3c]
jne 0x100f8e01
test esi, esi
jne 0x100f8e01
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.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7778], ecx
mov dword [0x101e777c], esi
jne 0x100f8e01
test esi, esi
je 0x100f8e5e
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.100f7d90
add esp, 0x34
test eax, eax
jne 0x100f8e54
test edx, edx
je 0x100f8e72
push edx
push eax
call fcn.100f8790
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10116cb9
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10116cb9
add esp, 0x2c
ret
Function at 0x100f8e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x101e7780]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [0x101e7784]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
jne 0x100f8f62
test esi, esi
jne 0x100f8f62
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.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7780], ecx
mov dword [0x101e7784], esi
jne 0x100f8f5e
test esi, esi
je 0x100f8fb8
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100f8f6a
mov eax, dword [ebx]
jmp 0x100f8f6c
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.100f7d90
add esp, 0x34
test eax, eax
jne 0x100f8fae
test edx, edx
je 0x100f8fcd
push edx
push eax
call fcn.100f8790
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10116cb9
add esp, 0x24
ret
test ebx, ebx
je 0x100f8fd7
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.10116cb9
add esp, 0x24
ret
Function at 0x100f8ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x101e7788]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [0x101e778c]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jne 0x100f90c5
test esi, esi
jne 0x100f90c5
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.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7788], ecx
mov dword [0x101e778c], esi
jne 0x100f90c1
test esi, esi
je 0x100f911b
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100f90cd
mov eax, dword [ebx]
jmp 0x100f90cf
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.100f7d90
add esp, 0x34
test eax, eax
jne 0x100f9111
test edx, edx
je 0x100f9130
push edx
push eax
call fcn.100f8790
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10116cb9
add esp, 0x28
ret
test ebx, ebx
je 0x100f913a
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.10116cb9
add esp, 0x28
ret
Function at 0x100ffa90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017e7b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
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.10100500
mov dword [esp + 0x24], ebx
push ebx
push 0x3fe0
lea ecx, [esi + 0x40]
call fcn.10100500
mov byte [esp + 0x24], 1
push 0x30
lea edi, [esi + 0x50]
push ebx
push edi
call fcn.10117df0
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 0x100ffdb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017e817
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101ce2ac]
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.100ffcb0
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.10100990
mov byte [esp + 0x18], 1
push 0
lea ecx, [esi + 0x50]
call fcn.101006d0
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x40]
call fcn.10100710
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.10100710
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x101013c0
Capabilities:
Encode data using xor

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

Function at 0x10101930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x101ce2ac]
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 0x10101a04
mov eax, dword [ebx + 4]
xor ecx, ecx
test edi, edi
jbe 0x101019a6
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 0x10101980
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.101011b0
test eax, eax
mov dword [esi], eax
jne 0x10101a1c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.100fe150
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x10101a1c
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.10101050
test eax, eax
je 0x10101a04
mov ecx, dword [ebp]
test eax, ecx
jne 0x10101a04
or ecx, eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x10]
push ebx
add ecx, 4
call fcn.10102b40
cmp eax, 2
jne 0x10101a04
mov edi, dword [ebx + 8]
cmp edi, 0x20
jbe 0x10101968
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10116cb9
add esp, 0x30
ret
mov edi, dword [esp + 0x10]
push ebx
lea ecx, [edi + 4]
call fcn.10102b40
cmp eax, 2
jne 0x10101a70
mov esi, dword [ebx + 8]
cmp esi, 0x20
ja 0x10101a70
mov edx, dword [ebx + 4]
push edx
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.101013c0
add esp, 4
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10101050
cmp eax, 0x40
jne 0x10101a70
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.10116cb9
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.10116cb9
add esp, 0x30
ret
Function at 0x101067a9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101ce2ac]
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 0x101067e9
push 0x10194e28
push 4
push eax
call fcn.101175dc
push eax
call fcn.10001000
add esp, 0x10
jmp 0x101067fb
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x10106869
push edi
call fcn.1011b475
mov edi, dword [eax]
call fcn.1011b475
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.10118de0
add esp, 0x18
mov ebx, eax
call fcn.1011b475
cmp dword [eax], 0
je 0x10106849
call fcn.1011b475
push dword [eax]
call fcn.1010594a
pop ecx
jmp 0x10106850
call fcn.1011b475
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x10106869
cmp ebx, esi
jae 0x10106869
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x1010686b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10116cb9
leave
ret
Function at 0x1010a4bb
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x10195694
jne 0x1010a4e4
call fcn.1010624f
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x1010a507
push eax
push dword [esi + 4]
call fcn.1010a446
push esi
push eax
mov ecx, 0x101e79f0
call fcn.1010a120
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x10112746
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 0x10112789
call fcn.1010624f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x10112789
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x101127a4
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.101122fd
test ebx, ebx
mov esi, eax
je 0x101127a2
test edi, edi
je 0x101127a2
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10116cb9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ce2ac]
jne 0x10116cc3
repz ret
jmp fcn.10122afc
Function at 0x10121407
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 + 0x101ce5b8]
je 0x10121422
inc edi
cmp edi, 0x17
jb 0x10121413
cmp edi, 0x17
jae 0x101215a2
push ebp
push 3
call fcn.1012e0e4
cmp eax, 1
pop ecx
je 0x1012156e
push 3
call fcn.1012e0e4
test eax, eax
pop ecx
jne 0x10121456
cmp dword [0x101e9694], 1
je 0x1012156e
cmp ebx, 0xfc
je 0x101215a1
push 0x10197858
mov ebx, 0x314
push ebx
mov ebp, 0x101e9840
push ebp
call fcn.101175dc
add esp, 0xc
test eax, eax
je 0x1012148c
push esi
push esi
push esi
push esi
push esi
call fcn.10121616
add esp, 0x14
push 0x104
mov esi, 0x101e9859
push esi
push 0
mov byte [0x101e995d], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x101214d0
push 0x10197840
push 0x2fb
push esi
call fcn.101175dc
add esp, 0xc
test eax, eax
je 0x101214d0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10121616
add esp, 0x14
push esi
call fcn.1011d050
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10121515
push esi
call fcn.1011d050
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x101e9b54
push 0x1019783c
sub ecx, eax
push ecx
push eax
call fcn.1011cebf
add esp, 0x14
test eax, eax
je 0x10121515
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10121616
add esp, 0x14
jmp 0x10121517
xor esi, esi
push 0x10197838
push ebx
push ebp
call fcn.1011770a
add esp, 0xc
test eax, eax
je 0x10121537
push esi
push esi
push esi
push esi
push esi
call fcn.10121616
add esp, 0x14
push dword [edi*8 + 0x101ce5bc]
push ebx
push ebp
call fcn.1011770a
add esp, 0xc
test eax, eax
je 0x10121559
push esi
push esi
push esi
push esi
push esi
call fcn.10121616
add esp, 0x14
push 0x12010
push 0x10197810
push ebp
call fcn.1012df27
add esp, 0xc
jmp 0x101215a1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x101215a1
cmp ebp, 0xffffffff
je 0x101215a1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101ce5bc]
push dword [esi]
call fcn.1011d050
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 0x1012df27
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1012249a
xor ebx, ebx
cmp dword [0x101ea124], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1012dffd
push 0x1019937c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1012e0dd
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x10199370
push edi
call esi
cmp eax, ebx
je 0x1012e0dd
push eax
call fcn.1012242c
mov dword [esp], 0x10199360
push edi
mov dword [0x101ea124], eax
call esi
push eax
call fcn.1012242c
mov dword [esp], 0x1019934c
push edi
mov dword [0x101ea128], eax
call esi
push eax
call fcn.1012242c
mov dword [0x101ea12c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1011d1dc
test eax, eax
pop ecx
pop ecx
je 0x1012dfcb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10121616
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1012dffd
push 0x10199330
push edi
call esi
push eax
call fcn.1012242c
cmp eax, ebx
pop ecx
mov dword [0x101ea134], eax
je 0x1012dffd
push 0x10199318
push edi
call esi
push eax
call fcn.1012242c
pop ecx
mov dword [0x101ea130], eax
mov eax, dword [0x101ea130]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1012e082
cmp dword [0x101ea134], ecx
je 0x1012e082
push eax
call fcn.101224a3
push dword [0x101ea134]
mov esi, eax
call fcn.101224a3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1012e082
cmp edi, ebx
je 0x1012e082
call esi
cmp eax, ebx
je 0x1012e04f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1012e04f
test byte [ebp - 0x18], 1
jne 0x1012e082
lea eax, [ebp - 0x10]
push eax
call fcn.1011d213
test eax, eax
pop ecx
je 0x1012e06a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10121616
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1012e079
or dword [ebp + 0x10], 0x200000
jmp 0x1012e0bd
or dword [ebp + 0x10], 0x40000
jmp 0x1012e0bd
mov eax, dword [0x101ea128]
cmp eax, dword [ebp - 8]
je 0x1012e0bd
push eax
call fcn.101224a3
cmp eax, ebx
pop ecx
je 0x1012e0bd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1012e0bd
mov eax, dword [0x101ea12c]
cmp eax, dword [ebp - 8]
je 0x1012e0bd
push eax
call fcn.101224a3
cmp eax, ebx
pop ecx
je 0x1012e0bd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101ea124]
call fcn.101224a3
cmp eax, ebx
pop ecx
je 0x1012e0dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1012e0df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret