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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102b83ae
call fcn.10124b2c
mov esi, dword [ebp + 8]
call fcn.10001db0
lea ecx, [ebp + 0xc]
push ecx
push 0
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.1013010a
lea eax, [ebp - 0x110]
push eax
call fcn.1011ad20
mov eax, dword [0x101e9f6c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 0x65766564
mov dword [ebp - 0x118], 0x65706f6c
mov word [ebp - 0x114], 0x72
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 0
push eax
call dword [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
fstp dword [ebp - 0x120]
movq qword [ebp - 0x11c], xmm0
add esp, 0x24
movss xmm0, dword [ebp - 0x120]
ucomiss xmm0, dword [0x10168a54]
mov word [ebp - 0x114], 0
lahf
test ah, 0x44
jnp 0x1011acfc
lea eax, [ebp - 0x110]
push eax
call fcn.1011ab70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
Function at 0x1011ad20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7a0
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x102b83ae
call fcn.10124b2c
lea eax, [ebp - 0x7a0]
push eax
call fcn.1013af21
lea eax, [ebp - 0x7a0]
push eax
call fcn.1013d9f1
add esp, 8
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
add esi, 0x76c
mov ebx, dword [eax]
inc edi
mov dword [ebp - 0x790], ecx
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x794], ecx
mov ecx, 0xe
mov dword [ebp - 0x798], eax
nop dword [eax]
mov al, byte [edx + str.U_v_1__s5__x__]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x78c], al
and ecx, 0x800000ff
jns 0x1011adb0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x20
jl 0x1011ad90
push ebx
push dword [ebp - 0x790]
lea eax, [ebp - 0x78c]
mov byte [ebp - 0x76c], 0
push dword [ebp - 0x794]
push esi
push edi
push dword [ebp - 0x798]
push eax
lea eax, [ebp - 0x75c]
push eax
call fcn.10026180
mov esi, dword [ebp + 8]
call fcn.10001db0
lea ecx, [ebp + 0xc]
push ecx
push 0
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.1013010a
lea edx, [ebp - 0x104]
add esp, 0x3c
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1011ae16
lea edi, [ebp - 0x75c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1011ae26
mov ecx, edx
mov word [ebp - 0x790], 0xa
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x790]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1011ae50
lea edi, [ebp - 0x75c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1011ae60
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x1026c980]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x35d], al
test al, al
jne 0x1011ae80
lea edx, [ebp - 0x768]
mov dword [ebp - 0x768], 0x756b6173
mov dword [ebp - 0x764], 0x6c2e6172
mov esi, edx
mov word [ebp - 0x760], 0x676f
mov byte [ebp - 0x75e], al
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1011aec0
lea edi, [ebp - 0x35c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1011aed0
mov ecx, edx
mov byte [ebp - 0x78e], al
shr ecx, 2
lea eax, [ebp - 0x790]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov word [ebp - 0x790], 0x2b61
push eax
and ecx, 3
lea eax, [ebp - 0x35c]
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.1013508e
mov esi, eax
add esp, 8
test esi, esi
setne cl
xor eax, eax
mov word [ebp - 0x790], ax
mov byte [ebp - 0x78e], al
test cl, cl
je 0x1011af3b
lea eax, [ebp - 0x75c]
push esi
push eax
call fcn.1013e685
push esi
call fcn.101351fa
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
Function at 0x1011c750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163c25
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102b83f1
call fcn.10124b2c
mov eax, dword [0x101e9e6c]
mov ecx, dword [0x101ea004]
mov eax, dword [eax]
inc eax
push eax
call ecx
movss xmm0, dword [0x101eb4fc]
add esp, 4
ucomiss xmm0, dword [0x10168a54]
mov esi, eax
lahf
test ah, 0x44
jnp 0x1011c97a
call fcn.10122b80
test al, al
je 0x1011c97a
test esi, esi
je 0x1011c97a
mov ecx, dword [esi + 0x364]
test ecx, ecx
je 0x1011c97a
mov eax, dword [0x101ea15c]
push ecx
call eax
mov edi, eax
add esp, 4
mov dword [ebp - 0x150], edi
test edi, edi
je 0x1011c974
cmp edi, dword [0x1026c978]
je 0x1011c974
sub esp, 0x18
mov esi, edi
mov ecx, esp
xorps xmm0, xmm0
mov dword [ebp - 0x14c], ecx
lea edx, [esi + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x1011c824
sub esi, edx
cmp esi, 0x7fffffff
ja 0x1011c995
mov dword [ecx + 0x14], 0xf
cmp esi, 0x10
jae 0x1011c85f
push esi
push edi
push ecx
mov dword [ecx + 0x10], esi
call fcn.101294d0
mov eax, dword [ebp - 0x14c]
mov byte [esi + eax], 0
jmp 0x1011c8fb
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1011c89d
mov ecx, 0x80000000
mov edi, 0x7fffffff
add ecx, 0x23
push ecx
call fcn.10124b6c
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1011c99f
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x14c]
jmp 0x1011c8d5
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1011c8be
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1011c99a
jmp 0x1011c879
test eax, eax
je 0x1011c8d3
push eax
call fcn.10124b6c
mov ecx, dword [ebp - 0x14c]
add esp, 4
jmp 0x1011c8d5
xor eax, eax
mov dword [ecx + 0x14], edi
mov edi, dword [ebp - 0x150]
push esi
push edi
push eax
mov dword [ebp - 0x148], eax
mov dword [ecx], eax
mov dword [ecx + 0x10], esi
call fcn.101294d0
mov eax, dword [ebp - 0x148]
mov byte [eax + esi], 0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.1011b800
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x1011c919
mov eax, dword [eax]
add eax, 2
mov dword [ebp - 0x1c], 0x70616557
mov dword [ebp - 0x18], 0x203a6e6f
mov word [ebp - 0x14], 0x7325
mov byte [ebp - 0x12], 0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x144]
push 4
push eax
call fcn.10087e30
lea eax, [ebp - 0x144]
push eax
call fcn.10118da0
add esp, 0x14
mov word [ebp - 0x14], 0
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
call fcn.100778f0
mov dword [0x1026c978], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
call fcn.10078fc0
call fcn.10078f70
call fcn.1013ed10
int3
Function at 0x101201b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x102b83f8
call fcn.10124b2c
cmp dword [ebp + 0xc], 1
jne 0x1012026b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1012026b
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0xff
push 0x1026c980
push esi
mov dword [0x1026ca84], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x1026c980
call esi
push 0x1016eb9c
push 0x104
push 0x1026c980
call fcn.101402c0
add esp, 0xc
push 0xff
push 0x1026ca88
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x1026ca88
call esi
push 0x1016eb9c
push 0x104
push 0x1026ca88
call fcn.101402c0
add esp, 0xc
push 0
push 0
push 0
push 0x1011fcb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x10120d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
push esi
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
pop esi
setne al
pop ebp
ret 8

Function at 0x10120e50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163d60
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102b8404
call fcn.10124b2c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.10120280
add esp, 0xc
lea ecx, [ebp - 0x11c]
push 0x49ff8bcb
call fcn.10120810
push 0x10
push eax
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x11c]
call fcn.10120b00
mov eax, 0x101c3d78
lea ecx, [ebp - 0x120]
sub eax, 0x57556ea7
push eax
call fcn.10120900
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.1011ad20
add esp, 8
lea ecx, [ebp - 0x120]
call fcn.10120b50
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10121210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
push 0
push dword [esi + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x65726353
push dword [esi + 4]
mov dword [ebp - 0x20], 0x61466e65
push eax
mov word [ebp - 0x1c], 0x6564
mov byte [ebp - 0x1a], 0
call fcn.10121190
add esp, 0x10
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x68
mov ecx, esi
push 4
push eax
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.10122110
mov eax, dword [eax + 0x18]
cmp eax, dword [esi + 4]
jb 0x101212b2
cmp eax, dword [esi + 0xc]
ja 0x101212b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
push 0x4b237c36
lea ecx, [ebp - 0x40]
call fcn.101202c0
push eax
push esi
mov dword [ebp - 4], 0
call fcn.10120e50
int3

Function at 0x101214f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163edd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
mov edi, dword [ebx + 0xc]
lea eax, [ebp - 0x24]
mov esi, dword [ebx + 4]
push 0
push edi
push esi
push eax
mov dword [ebp - 0x24], 0x30257325
mov dword [ebp - 0x20], 0x622e6434
mov word [ebp - 0x1c], 0x706d
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x18], 0x68
mov byte [ebp - 0x13], 0
call fcn.10121190
push 0
push edi
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10121190
add eax, 0xffffffba
add esp, 0x20
cmp eax, dword [ebx + 4]
jb 0x10121596
cmp eax, dword [ebx + 0xc]
ja 0x10121596
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
push 0x8bd3fa95
lea ecx, [ebp - 0x3c]
call fcn.10120450
push eax
push ebx
mov dword [ebp - 4], 0
call fcn.10120e50
int3
Function at 0x101215c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
mov ecx, 0xed
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x101c3fe0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1012161d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10121600
push 0
push dword [esi + 0xc]
lea eax, [ebp - 0x30]
mov byte [ebp - 0x1b], 0
push dword [esi + 4]
push eax
call fcn.10121190
add esp, 0x10
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x68
mov ecx, esi
push 4
push eax
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.10122110
mov edi, dword [eax - 7]
cmp edi, dword [esi + 4]
jb 0x1012168b
cmp edi, dword [esi + 0xc]
ja 0x1012168b
push esi
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
mov eax, 0x101c3ff8
lea ecx, [ebp - 0x30]
sub eax, 0x4834095e
push eax
call fcn.10120770
push eax
push esi
mov dword [ebp - 4], 0
call fcn.10120e50
int3
Function at 0x10121b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016405d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
mov ecx, 0x7b
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x101c3ee4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x38], al
and ecx, 0x800000ff
jns 0x10121b9d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x26
jl 0x10121b80
push 0x1b
push dword [esi + 0xc]
lea eax, [ebp - 0x38]
mov byte [ebp - 0x12], 0
push dword [esi + 4]
push eax
push 0x101c3f0c
call fcn.10121100
add esp, 0x14
lea ecx, [eax + 2]
mov dword [esi + 0x34], ecx
cmp ecx, dword [esi + 4]
jb 0x10121bfb
cmp ecx, dword [esi + 0xc]
ja 0x10121bfb
mov eax, dword [ecx]
push esi
push 0x40
push 4
push ecx
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
push 0x53072ddf
lea ecx, [ebp - 0x2c]
call fcn.10120540
push eax
push esi
mov dword [ebp - 4], 0
call fcn.10120e50
int3
Function at 0x10121fb0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x102b8404
call fcn.10124b2c
mov ecx, 0x12
xor edx, edx
mov al, byte [edx + str.7p1v3tzytrsT]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x10121ff1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x20
jl 0x10121fd4
push 0
push dword [esi + 0xc]
lea eax, [ebp - 0x34]
mov byte [ebp - 0x14], 0
push dword [esi + 4]
push eax
call fcn.10121190
push 0
push dword [esi + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3f3f3f78
push dword [esi + 4]
mov dword [ebp - 0xc], 0x7878783f
push eax
push 0x101c413c
mov word [ebp - 8], 0x7878
mov byte [ebp - 6], 0
call fcn.10121100
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.10124b5e
mov esp, ebp
pop ebp
ret

Function at 0x10123a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101642ed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, 0x102b866c
call fcn.10124b2c
mov esi, dword [0x102b5804]
cmp dword [esi + 0x18], 0
lea edi, [esi + 0x18]
je 0x10123aa4
mov eax, ebx
lea ecx, [esi + 8]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10123a90
test dl, dl
je 0x10123a8c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10123a90
add ecx, 2
add eax, 2
test dl, dl
jne 0x10123a70
xor eax, eax
jmp 0x10123a95
sbb eax, eax
or eax, 1
test eax, eax
je 0x10123aab
mov esi, dword [edi]
cmp dword [esi + 0x18], 0
lea edi, [esi + 0x18]
jne 0x10123a67
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10123aba
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x1c], ecx
jmp 0x10123b01
mov ecx, 0xaa
xor edx, edx
mov al, byte [edx + 0x101c43c8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2c], al
and ecx, 0x800000ff
jns 0x10123ade
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1b
jl 0x10123ac1
mov byte [ebp - 0x11], 0
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x1026cb90
call fcn.10120e50
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret

Function at 0x10128923
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.101288ff
pop esi
leave
ret 8
Function at 0x10136023
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10125ce0
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1013e49f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10136065
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101361c1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10125a40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x102b61c8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.101495dc
mov ecx, dword [esi*4 + 0x102b61c8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x101361ba
cmp eax, dword [edi + ecx + 0x24]
jne 0x101361ba
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101361ba
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101495dc
add esp, 0x14
test edx, edx
jl 0x101361ba
jg 0x10136130
test eax, eax
jb 0x101361ba
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101361ba
jl 0x1013614a
cmp dword [ebp - 0x1008], eax
ja 0x101361ba
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10136168
test ebx, ebx
je 0x101361a1
cmp ecx, edi
jae 0x101361a1
mov al, byte [ecx]
cmp al, 0xd
jne 0x10136182
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1013618e
cmp byte [ecx + 1], 0xa
jne 0x1013618e
inc ecx
jmp 0x1013618e
movzx eax, al
movsx eax, byte [eax + 0x101e6ea8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10136168
cmp edx, ebx
jne 0x10136168
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101361bf
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10124b5e
leave
ret

Function at 0x10146c54
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101cb640
push 0x101cb638
push str.FlsAlloc
push 0x1e
call fcn.10146ac1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10146c88
push dword [ebp + 8]
mov ecx, esi
call dword [0x10166334]
call esi
jmp 0x10146c8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x10146cd2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101cb650
push 0x101cb648
push str.FlsGetValue
push 0x20
call fcn.10146ac1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10146d09
push dword [ebp + 8]
mov ecx, esi
call dword [0x10166334]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x101488e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x102b61c8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10148920
cmp byte [ebx], 0xa
jne 0x10148920
or byte [eax + edi + 0x28], 4
jmp 0x10148925
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10148a23
mov al, byte [edx]
cmp al, 0x1a
je 0x10148a05
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10148954
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10148979
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10148983
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10148936
jmp 0x10148a23
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10148a00
cmp dword [ebp - 0xc], 0
je 0x10148a00
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x102b61c8]
test byte [eax + edi + 0x28], 0x48
je 0x101489da
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101489c5
mov byte [esi], dl
jmp 0x101489d6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102b61c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10148a23
cmp byte [ebp - 1], 0xa
jne 0x101489e9
cmp esi, ebx
jne 0x101489e9
mov byte [esi], 0xa
jmp 0x10148a22
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101495fa
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10148a23
mov byte [esi], 0xd
jmp 0x10148a22
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x102b61c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10148a1f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10148a23
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret