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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x102fdc08]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [0x102fdc0c]
push edi
mov edi, dword [esp + 0x3c]
jne 0x1010cdb1
test esi, esi
jne 0x1010cdb1
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.1010c2e0
push edx
push eax
call fcn.1010c810
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x102fdc08], ecx
mov dword [0x102fdc0c], esi
jne 0x1010cdb1
test esi, esi
je 0x1010ce0e
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.1010bd40
add esp, 0x34
test eax, eax
jne 0x1010ce04
test edx, edx
je 0x1010ce22
push edx
push eax
call fcn.1010c740
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.1012e3ba
add esp, 0x2c
ret
Function at 0x1010ce40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x102fdc10]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [0x102fdc14]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
jne 0x1010cf12
test esi, esi
jne 0x1010cf12
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.1010c2e0
push edx
push eax
call fcn.1010c810
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x102fdc10], ecx
mov dword [0x102fdc14], esi
jne 0x1010cf0e
test esi, esi
je 0x1010cf68
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1010cf1a
mov eax, dword [ebx]
jmp 0x1010cf1c
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.1010bd40
add esp, 0x34
test eax, eax
jne 0x1010cf5e
test edx, edx
je 0x1010cf7d
push edx
push eax
call fcn.1010c740
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x24
ret
test ebx, ebx
je 0x1010cf87
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.1012e3ba
add esp, 0x24
ret
Function at 0x1010cfa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x102fdc18]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [0x102fdc1c]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jne 0x1010d075
test esi, esi
jne 0x1010d075
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.1010c2e0
push edx
push eax
call fcn.1010c810
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x102fdc18], ecx
mov dword [0x102fdc1c], esi
jne 0x1010d071
test esi, esi
je 0x1010d0cb
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1010d07d
mov eax, dword [ebx]
jmp 0x1010d07f
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.1010bd40
add esp, 0x34
test eax, eax
jne 0x1010d0c1
test edx, edx
je 0x1010d0e0
push edx
push eax
call fcn.1010c740
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x28
ret
test ebx, ebx
je 0x1010d0ea
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.1012e3ba
add esp, 0x28
ret
Function at 0x10113a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10195677
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
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.101144b0
mov dword [esp + 0x24], ebx
push ebx
push 0x3fe0
lea ecx, [esi + 0x40]
call fcn.101144b0
mov byte [esp + 0x24], 1
push 0x30
lea edi, [esi + 0x50]
push ebx
push edi
call fcn.1012ea60
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 0x10113d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101956d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101e5aec]
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.10113c60
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.10114940
mov byte [esp + 0x18], 1
push 0
lea ecx, [esi + 0x50]
call fcn.10114680
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x40]
call fcn.101146c0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.101146c0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x10115370
Capabilities:
Encode data using xor

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

Function at 0x101158e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x101e5aec]
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 0x101159b4
mov eax, dword [ebx + 4]
xor ecx, ecx
test edi, edi
jbe 0x10115956
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 0x10115930
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.10115160
test eax, eax
mov dword [esi], eax
jne 0x101159cc
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.10112100
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x101159cc
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.10115000
test eax, eax
je 0x101159b4
mov ecx, dword [ebp]
test eax, ecx
jne 0x101159b4
or ecx, eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x10]
push ebx
add ecx, 4
call fcn.10116af0
cmp eax, 2
jne 0x101159b4
mov edi, dword [ebx + 8]
cmp edi, 0x20
jbe 0x10115918
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x30
ret
mov edi, dword [esp + 0x10]
push ebx
lea ecx, [edi + 4]
call fcn.10116af0
cmp eax, 2
jne 0x10115a20
mov esi, dword [ebx + 8]
cmp esi, 0x20
ja 0x10115a20
mov edx, dword [ebx + 4]
push edx
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.10115370
add esp, 4
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.10115000
cmp eax, 0x40
jne 0x10115a20
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.1012e3ba
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.1012e3ba
add esp, 0x30
ret
Function at 0x1011a6f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [0x101e4d0c]
cmp dword [eax], 3
push ebx
mov ebx, dword [ecx + 0x18]
push esi
mov esi, dword [esp + 0xc]
jl 0x1011a731
push esi
call fcn.1011a520
mov edx, dword [esi + 0x50]
mov eax, dword [0x101e4d0c]
mov ecx, dword [eax + 0x2c]
add esp, 4
push edx
push 0
push ebx
call ecx
push esi
call fcn.10119080
mov eax, dword [0x101e4d0c]
cmp dword [eax], 1
jl 0x1011a7ec
mov edx, dword [eax + 0xc]
mov ecx, dword [edx + 4]
cmp ecx, 0x68
je 0x1011a74d
cmp ecx, 0x80
jne 0x1011a78b
push ebp
lea ebp, [esi + 0x50]
push edi
mov edi, dword [ebp]
cmp ebp, edi
je 0x1011a789
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 [0x101e4d0c]
mov eax, dword [edx + 0x2c]
push ecx
push 0
push ebx
call eax
cmp ebp, edi
mov eax, dword [0x101e4d0c]
jne 0x1011a760
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 [0x101e4d0c]
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 [0x101e4d0c]
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 0x1011ad20
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 0x1011adc3
jmp 0x1011ad64
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 0x1011ad90
test dl, dl
je 0x1011ad8c
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x1011ad90
add eax, 2
add esi, 2
test dl, dl
jne 0x1011ad70
xor eax, eax
jmp 0x1011ad95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1011adba
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 0x1011adc5
mov edx, dword [esp + 0x14]
add edx, edi
add edx, ecx
cmp eax, edx
ja 0x1011adc5
add ebx, 1
cmp ebx, dword [edi + ecx + 0x18]
jl 0x1011ad60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1011c5c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101c86c0
push 0x1012e7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101e5aec]
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 0x1011c605
mov dword [eax], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x101e4d0c]
mov edx, dword [ecx + 0x50]
call edx
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp edi, esi
jne 0x1011c63d
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 0x1011c69a
cmp eax, 0x20b
jne 0x1011c620
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.1011c3f0
xor eax, eax
mov dword [ebp - 0x28], eax
cmp ax, word [edi + 6]
jae 0x1011c692
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x1011c678
add ebx, dword [edi + 0xac]
jmp 0x1011c6e3
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.1011c3f0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ax, word [edi + 6]
jae 0x1011c6dd
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x1011c6c3
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.1011c3f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1011c6fe
mov dword [eax], ebx
test edi, edi
jne 0x1011c71f
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.1011c300
mov byte [ebp - 0x19], al
jmp 0x1011c754
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 0x1011d622
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101e5aec]
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 0x1011d662
push 0x101ab4f8
push 4
push eax
call fcn.10132bfe
push eax
call fcn.10001000
add esp, 0x10
jmp 0x1011d674
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1011d6e2
push edi
call fcn.1013280f
mov edi, dword [eax]
call fcn.1013280f
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.1012f60e
add esp, 0x18
mov ebx, eax
call fcn.1013280f
cmp dword [eax], 0
je 0x1011d6c2
call fcn.1013280f
push dword [eax]
call fcn.1011d0c9
pop ecx
jmp 0x1011d6c9
call fcn.1013280f
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x1011d6e2
cmp ebx, esi
jae 0x1011d6e2
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1011d6e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1012e3ba
leave
ret
Function at 0x101219da
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], 0x101abddc
jne 0x10121a03
call fcn.1012050d
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 0x10121a26
push eax
push dword [esi + 4]
call fcn.10121965
push esi
push eax
mov ecx, 0x102fdef8
call fcn.1012163f
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x1012967f
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 0x101296c2
call fcn.1012050d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x101296c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x101296dd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.10129236
test ebx, ebx
mov esi, eax
je 0x101296db
test edi, edi
je 0x101296db
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1012e3ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101e5aec]
jne 0x1012e3c4
repz ret
jmp fcn.1013a29c
Function at 0x10138ba7
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 + 0x101e5df8]
je 0x10138bc2
inc edi
cmp edi, 0x17
jb 0x10138bb3
cmp edi, 0x17
jae 0x10138d42
push ebp
push 3
call fcn.10145a64
cmp eax, 1
pop ecx
je 0x10138d0e
push 3
call fcn.10145a64
test eax, eax
pop ecx
jne 0x10138bf6
cmp dword [0x102ffbac], 1
je 0x10138d0e
cmp ebx, 0xfc
je 0x10138d41
push 0x101adfd0
mov ebx, 0x314
push ebx
mov ebp, 0x102ffd58
push ebp
call fcn.10132bfe
add esp, 0xc
test eax, eax
je 0x10138c2c
push esi
push esi
push esi
push esi
push esi
call fcn.10138db6
add esp, 0x14
push 0x104
mov esi, 0x102ffd71
push esi
push 0
mov byte [0x102ffe75], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10138c70
push 0x101adfb8
push 0x2fb
push esi
call fcn.10132bfe
add esp, 0xc
test eax, eax
je 0x10138c70
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10138db6
add esp, 0x14
push esi
call fcn.10134780
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10138cb5
push esi
call fcn.10134780
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1030006c
push 0x101adfb4
sub ecx, eax
push ecx
push eax
call fcn.101345d3
add esp, 0x14
test eax, eax
je 0x10138cb5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10138db6
add esp, 0x14
jmp 0x10138cb7
xor esi, esi
push 0x101adfb0
push ebx
push ebp
call fcn.10134b70
add esp, 0xc
test eax, eax
je 0x10138cd7
push esi
push esi
push esi
push esi
push esi
call fcn.10138db6
add esp, 0x14
push dword [edi*8 + 0x101e5dfc]
push ebx
push ebp
call fcn.10134b70
add esp, 0xc
test eax, eax
je 0x10138cf9
push esi
push esi
push esi
push esi
push esi
call fcn.10138db6
add esp, 0x14
push 0x12010
push 0x101adf88
push ebp
call fcn.101458a7
add esp, 0xc
jmp 0x10138d41
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10138d41
cmp ebp, 0xffffffff
je 0x10138d41
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101e5dfc]
push dword [esi]
call fcn.10134780
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