joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a5380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154133
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], vtable.icu_67::UnicodeMatcher.0
mov esi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov dword [edi], vtable.icu_67::UnicodeSet.0
mov dword [edi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x19
mov dword [edi + 0x10], 1
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push dword [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.1011f274
test al, al
je 0x100a5581
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
shl eax, 2
push eax
push dword [esi + 8]
push dword [edi + 8]
call fcn.10108470
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x100a5528
cmp dword [eax + 4], 0
je 0x100a5528
push 0x18
mov dword [ebp - 0x10], 0
call fcn.1011f274
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100a5488
lea ecx, [ebp - 0x10]
push ecx
push 1
push sym.icuuc67.dll_uhash_compareUnicodeString_67
push sym.icuuc67.dll_uprv_deleteUObject_67
mov ecx, eax
call fcn.1011f274
mov ebx, eax
jmp 0x100a548a
xor ebx, ebx
mov byte [ebp - 4], 0
mov dword [edi + 0x2c], ebx
test ebx, ebx
jne 0x100a549e
mov dword [ebp - 0x10], 7
jmp 0x100a54d8
cmp dword [ebp - 0x10], 0
jle 0x100a54bf
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1015821c]
mov ecx, ebx
call esi
mov dword [edi + 0x2c], 0
jmp 0x100a54d8
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0x100a6cb0
push dword [esi + 0x2c]
call fcn.1011f274
cmp dword [ebp - 0x10], 0
jle 0x100a5528
cmp dword [edi + 0x18], 0
jne 0x100a5522
cmp dword [edi + 0x30], 0
jne 0x100a5522
mov eax, dword [edi + 8]
mov dword [eax], 0x110000
mov eax, dword [edi + 0x24]
mov dword [edi + 0x10], 1
test eax, eax
je 0x100a5512
push eax
call fcn.1011f274
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x100a551e
call sym.icuuc67.dll_public:_void___thiscall_icu_67::UVector::removeAllElements_void_
mov byte [edi + 0x14], 0
mov byte [edi + 0x14], 1
jmp 0x100a5581
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100a5581
mov eax, dword [edi + 0x24]
mov esi, dword [esi + 0x28]
test eax, eax
je 0x100a5550
push eax
call fcn.1011f274
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [esi*2 + 2]
push eax
call fcn.1011f274
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x100a5581
push esi
push ebx
push eax
mov dword [edi + 0x28], esi
call fcn.1011f274
mov ecx, dword [edi + 0x28]
add esp, 0xc
mov eax, dword [edi + 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100a55a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154158
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push 0
push dword [ebp + 8]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1011f274
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100a5650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154188
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 8]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [eax], 0x110000
call fcn.1011f274
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a81d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0xc], ebx
push edi
mov eax, dword [ebx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
test eax, eax
jle 0x100a8233
mov eax, dword [ebx + 4]
movzx edx, byte [ebp + 8]
mov dword [ebp - 8], eax
nop dword [eax]
mov ebx, dword [eax + esi*8 + 4]
mov ecx, dword [eax + esi*8]
dec ebx
mov eax, ebx
movzx edi, cl
xor eax, ecx
test eax, 0xffffff00
jne 0x100a821c
cmp edi, edx
ja 0x100a8227
jmp 0x100a8220
cmp edi, edx
jbe 0x100a827c
movzx eax, bl
cmp edx, eax
jbe 0x100a827c
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 4]
jl 0x100a8200
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100a8271
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100a8271
xor esi, esi
test ecx, ecx
jle 0x100a8271
movzx edi, byte [ebp + 8]
nop dword [eax + eax]
push esi
mov ecx, eax
call fcn.1011f274
push 0
mov ecx, eax
call fcn.1011f274
movzx eax, al
cmp eax, edi
je 0x100a827c
mov eax, dword [ebx + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x100a8250
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100a96e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154548
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x18]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0x10]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 0xc]
mov dword [esi + 8], eax
push dword [ebp + 8]
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1011f274
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100a97a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154578
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x14]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0xc]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1011f274
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100a9f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154688
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 8]
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1011f274
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1011f274
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1011f283
pop dword [ebp - 0x1c]
mov eax, 0x1011f283
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x8a049
push 0
mov eax, 0xcc8ea501
add eax, 0x4386dc2b
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xdf55e4f2
add ecx, 0x20aa631f
mov ebx, eax
mov edi, 0xde796705
sub edi, 0xce586d05
add edi, dword [ebp - 0x1c]
mov edx, 0xab05cfdd
add edx, 0x20569bf5
sub dword [ebp - 0x14], edx
mov esi, dword [edi]
xor dword [ebp - 0xc], esi
xor esi, edx
sub dword [ebp - 0x14], 0xda52f34d
mov dword [ebx], esi
sub dword [ebp - 0x18], edi
add ebx, 4
add edi, 4
loop 0x1011f2dd
add eax, 0x11317
xor ebx, ebx
add ebx, eax
add eax, 0x2fcb8402
add eax, 0xd0347c03
mov ecx, 0xd05c74d8
add ecx, 0x3fa38b28
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4530d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x4530f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4530f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4530e8
mov eax, 1
add ebx, ebx
jne 0x45310b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45311c
jne 0x45313b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45313b
dec eax
add ebx, ebx
jne 0x453128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x453100
add ebx, ebx
jne 0x453137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45318d
xor ecx, ecx
sub eax, 3
jb 0x453153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4531c2
sar eax, 1
mov ebp, eax
jmp 0x45315e
add ebx, ebx
jne 0x45315e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45312c
inc ecx
add ebx, ebx
jne 0x45316c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45312c
add ebx, ebx
jne 0x453179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45316e
jne 0x45318a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45316e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4531ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45319e
jmp 0x4530ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4531ac
add edi, ecx
jmp 0x4530ee
pop esi
mov edi, esi
mov ecx, 0x16f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4531ca
cmp byte [edi], 1
jne 0x4531ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4531cf
lea edi, [esi + 0x51000]
mov eax, dword [edi]
or eax, eax
je 0x45323e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53c4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53cd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4531fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x53cdc]
or eax, eax
je 0x453238
mov dword [ebx], eax
add ebx, 4
jmp 0x453219
call dword [esi + 0x53cec]
mov ebp, dword [esi + 0x53ce0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x453272
sub esp, 0xffffff80
jmp 0x402233
Function at 0x40452b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040348c
and dword [ebp - 0x14], 0
cmp dword [0x40b924], 0
mov dword [ebp - 0x18], eax
jne 0x4045de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404686
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404686
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b924], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b928], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b92c], eax
call edi
push eax
call esi
mov dword [0x40b934], eax
test eax, eax
je 0x4045de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b930], eax
mov eax, dword [0x40b930]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x404637
cmp dword [0x40b934], ecx
je 0x404637
push eax
call esi
push dword [0x40b934]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404637
test ebx, ebx
je 0x404637
call edi
test eax, eax
je 0x40462e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40462e
test byte [ebp - 8], 1
jne 0x404637
or dword [ebp + 0x10], 0x200000
jmp 0x40466a
mov eax, dword [0x40b928]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40466a
mov eax, dword [0x40b92c]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b924]
call esi
test eax, eax
je 0x404686
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404688
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404896
leave
ret

Function at 0x404896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a700]
jne 0x4048a0
repz ret
jmp fcn.00405a36

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x6c2d63c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x6c2d6584
pushal
mov esi, 0x6c2d3015
lea edi, [esi - 0x12015]
push edi
or ebp, 0xffffffff
jmp 0x6c2d63ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6c2d63f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c2d63e0
mov eax, 1
add ebx, ebx
jne 0x6c2d6403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6c2d63f8
jne 0x6c2d6414
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6c2d63f8
xor ecx, ecx
sub eax, 3
jb 0x6c2d6428
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6c2d649a
mov ebp, eax
add ebx, ebx
jne 0x6c2d6433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6c2d6440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6c2d6464
inc ecx
add ebx, ebx
jne 0x6c2d6450
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6c2d6445
jne 0x6c2d6461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6c2d6445
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6c2d6484
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6c2d6475
jmp 0x6c2d63e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6c2d6484
add edi, ecx
jmp 0x6c2d63e6
pop esi
mov edi, esi
mov ecx, 0x58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6c2d64a2
cmp byte [edi], 0
jne 0x6c2d64a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6c2d64a7
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x6c2d6516
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6c2d64d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16054]
or eax, eax
je 0x6c2d6510
mov dword [ebx], eax
add ebx, 4
jmp 0x6c2d64f1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6c2d6547
cmp al, 0xef
ja 0x6c2d653a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6c2d651c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6c2d6529
mov ebp, dword [esi + 0x16058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6c2d657b
sub esp, 0xffffff80
jmp 0x6c2c1a20
Function at 0x100178c0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [ecx], eax
call fcn.10017850
add esp, 0x1c
ret

Function at 0x1001e5a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x100015a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
mov ebx, ecx
mov ecx, 0x10181f8c
push esi
push edi
mov dword [ebx + 0x2c], eax
mov dword [ebx], vtable.VthreadContext.0
mov word [ebx + 4], dx
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edx
mov word [ebx + 0x1c], 0x101
mov byte [ebx + 0x1e], dl
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], ecx
lock inc dword [0x10181f80]
xor eax, eax
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], ecx
lock inc dword [0x10181f80]
or dword [ebx + 0x70], 0xffffffff
lea edi, [ebx + 0x9c]
mov eax, dword [ebp + 8]
mov esi, 0x100ee538
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x80], 0x10182a34
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x74], edx
mov word [ebx + 0x7c], dx
mov dword [ebx + 0x84], 1
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], edx
mov byte [ebx + 0x90], dl
mov dword [ebx + 0x94], edx
mov byte [ebx + 0x98], dl
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, 1
je 0x10001686
or eax, 2
mov dword [ebx + 0x2c], eax
mov al, byte [ebx + 0x2c]
and al, 1
mov byte [ebp + 0xf], al
cmp byte [0x10181cd9], dl
jne 0x100016c1
mov esi, 0x10181ce0
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp byte [0x10181cd9], 0
jne 0x100016ba
mov al, byte [ebp + 0xf]
mov byte [0x10181cda], al
mov byte [0x10181cd9], 1
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x2c]
mov ecx, 0x1017e06c
shr eax, 1
and al, 1
movzx eax, al
push eax
call sym.fpsrvutl.dll_Ordinal_2082
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x10004632
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
push dword [esi + 0x58]
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x100046a5
cmp dword [0x10181be0], 0
push ebx
push 0xc
je 0x10004660
pop ecx
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x10004667
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebx, eax
test ebx, ebx
je 0x1000469f
push edi
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ecx, dword [ebp + 8]
mov edi, eax
add esi, 0x40
mov dword [ebx + 8], ecx
push esi
and edi, 0xf
mov dword [ebx + 4], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 4]
push esi
mov eax, dword [ecx + edi*4]
mov dword [ebx], eax
mov dword [ecx + edi*4], ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
inc eax
pop ebx
jmp 0x100046a7
xor eax, eax
pop esi
leave
ret 4

Function at 0x1000634a
Capabilities:
Get thread local storage value

Disassembly:
push 4
mov eax, 0x100dfa13
call fcn.10001371
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x10174460]
xor ebx, ebx
mov word [esi], bx
call dword [sym.imp.kernel32.dll_TlsGetValue]
or dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov byte [esi + 8], bl
mov dword [esi + 0x10], ebx
mov eax, dword [eax]
mov dword [esi + 0x14], eax
add eax, 0xfffffff4
lock inc dword [eax]
mov al, byte [ebp + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 0x18], al
call fcn.100ad21c
push esi
mov ecx, eax
call fcn.100068ef
mov eax, esi
call fcn.1000140a
ret 8