joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e4c40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3680
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x101fd700]
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, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
call fcn.100eb4e0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x64], 0
mov eax, dword [edx]
lea esi, [edx + 0x18]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x10]
push esi
mov dword [ebp - 0x50], eax
call fcn.100ebb00
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x10c]
push 0x10000
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 1
call fcn.100f74e0
lea ecx, [esi + 0x44]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [esi]
push 0
push eax
lea eax, [esi + 4]
add ecx, 0x14
push eax
call fcn.100e4a70
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100e4d35
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e4d35
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e4d35
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100e4d54
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x100e4d87
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100e4d7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e4da2
push ecx
push edx
call fcn.10176a32
add esp, 8
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.10176e3f
mov esp, ebp
pop ebp
ret
call fcn.1017c2af
int3
Function at 0x100ee0e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a43a5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
lea esi, [ecx + 8]
push dword [0x10202e10]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ee133
cmp dword [eax], edi
je 0x100ee14b
mov eax, dword [eax + 8]
test eax, eax
jne 0x100ee128
push dword [0x10202dfc]
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ee177
mov eax, dword [eax + 4]
jmp 0x100ee179
cmp dword [eax + 4], 0
je 0x100ee133
nop
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100ee1cf
mov eax, dword [ecx]
call dword [eax + 8]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
push 8
push 0x50
push eax
push dword [ebp - 0x14]
call fcn.100e4810
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.100eb440
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.100f1b30
lea ecx, [ebp - 0x28]
call fcn.100f7c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10174883
int3
Function at 0x100f13f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a46ad
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101fd700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x7c]
xor edx, edx
mov esi, dword [ecx + 0x80]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100f1453
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 0
test edx, edx
je 0x100f14a1
lea eax, [ebp - 0x7c]
cmp edx, eax
jne 0x100f1497
mov eax, dword [edx]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x100f14a1
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x100f149a
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x58], 0
push dword [0x10202e10]
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f14c3
cmp dword [eax], esi
je 0x100f14e6
mov eax, dword [eax + 8]
test eax, eax
jne 0x100f14b8
xor eax, eax
push dword [0x10202dfc]
test eax, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
setne byte [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f14eb
mov eax, dword [eax + 4]
jmp 0x100f14ed
mov eax, dword [eax + 4]
jmp 0x100f14c5
xor eax, eax
push 8
push 0x58
push eax
push dword [ebp - 0x48]
call fcn.100e4810
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100f1810
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.100ebb70
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x44]
push esi
mov ecx, dword [ecx + 8]
call fcn.100f7480
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.100f7cd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100f157f
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x30]
mov dword [edi], 0
mov dword [edi + 4], 0x101fd038
test ecx, ecx
je 0x100f15a4
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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.10176e3f
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x100f7b80
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x100f7bdc
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x100f7bb6
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x100f7bb5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x100f7bb5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
mov ecx, dword [ebx + 0x5c]
add ebx, 0x38
test ecx, ecx
je 0x100f7bd5
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f7c1f
push dword [0x10202dfc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f7c0f
mov edx, dword [eax + 4]
test edx, edx
je 0x100f7c0f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f7c23
inc eax
cmp eax, 2
jl 0x100f7c00
push esi
call fcn.1017ccb6
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x80]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x100f7c40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100f7c71
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x100f7c6a
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f7cb0
push dword [0x10202dfc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f7ca0
mov edx, dword [eax + 4]
test edx, edx
je 0x100f7ca0
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f7cb3
inc eax
cmp eax, 2
jl 0x100f7c91
push esi
call fcn.1017ccb6
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x50]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x100f7cd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100f7d01
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x28]
test ecx, ecx
je 0x100f7cfa
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f7d40
push dword [0x10202dfc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f7d30
mov edx, dword [eax + 4]
test edx, edx
je 0x100f7d30
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f7d43
inc eax
cmp eax, 2
jl 0x100f7d21
push esi
call fcn.1017ccb6
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x58]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x100f7d60
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100f7d7a
add ecx, 8
call fcn.100ed050
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f7dbf
push dword [0x10202dfc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f7daf
mov edx, dword [eax + 4]
test edx, edx
je 0x100f7daf
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f7dc2
inc eax
cmp eax, 6
jl 0x100f7da0
push esi
call fcn.1017ccb6
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x100f7de0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a4050
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x100f7e53
lea ecx, [esi + 0x128]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x100f7e2b
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0xb0]
call fcn.100ed050
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100f7e4c
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100f7e4c
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f7e92
push dword [0x10202dfc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f7e82
mov edx, dword [eax + 4]
test edx, edx
je 0x100f7e82
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f7ea3
inc eax
cmp eax, 2
jl 0x100f7e73
push esi
call fcn.1017ccb6
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x148]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x100f7e8b

Function at 0x100fa4d0
Capabilities:
Send data
Send data on socket

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [esp + 0x18], 0
je 0x100fa4f7
mov ecx, dword [edi + 4]
push 0
push 0
push dword [esp + 0x24]
call fcn.100f6b10
pop edi
ret 0x18
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x100fa519
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [esp + 0x24]
call fcn.100f6b10
pop edi
ret 0x18
push ebx
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push esi
push 0
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x2c], 0
push ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x100fa576
cmp eax, 0x3e5
je 0x100fa576
push dword [esp + 0x20]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.100f6b10
pop esi
pop ebx
pop edi
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.100f6b90
pop esi
pop ebx
pop edi
ret 0x18
Function at 0x100fed40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a54e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x100fed77
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100fed95
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100fed83
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100e3ad0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100fedc6
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x5d1745d
je 0x100fef2d
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.10176a02
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.100d9b90
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101ebf50]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101ebf50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100feecf
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.101858c0
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101773b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100feeb3
cmp eax, 0x200
jae 0x100feeb1
shl eax, 3
cmp eax, ecx
jae 0x100feeb3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.101011b0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100e3ad0
mov edx, dword [eax]
jmp 0x100feed2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x100feefa
mov dword [ecx + eax*8], edi
jmp 0x100fef0c
cmp esi, edx
jne 0x100fef03
mov dword [ecx + eax*8], edi
jmp 0x100fef10
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100fef10
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.101748a0
int3
Function at 0x10100f10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
mov ebx, dword [esi + 0x10]
jbe 0x10100f2a
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10100f46
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10100f35
push edx
push esi
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.100e3ad0
mov eax, dword [eax + 4]
test eax, eax
je 0x101010ee
cmp eax, dword [ebp + 4]
je 0x101010ee
mov ecx, dword [eax + 0x24]
lea ebx, [eax + 0x20]
mov esi, dword [ebx]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
cmp esi, ecx
je 0x101010ee
cmp dword [esi], edx
je 0x10100f8f
add esi, 0x30
cmp esi, ecx
jne 0x10100f84
cmp esi, ecx
je 0x101010ee
lea ebp, [esi + 0x30]
cmp ebp, ecx
je 0x10101033
lea ebx, [ebp + 0x2c]
lea edi, [esi + 0x2c]
mov eax, dword [ebp]
cmp eax, edx
je 0x10101021
mov dword [esi], eax
lea edx, [edi - 0x24]
lea eax, [ebx - 0x24]
cmp edx, eax
je 0x10101017
mov ecx, dword [edi]
test ecx, ecx
je 0x10100fdb
mov edx, dword [ecx]
lea eax, [edi - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi], 0
lea eax, [ebx - 0x24]
mov ecx, dword [ebx]
test ecx, ecx
je 0x10101013
cmp ecx, eax
jne 0x1010100b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edi - 0x24]
push eax
call edx
mov dword [edi], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x10101013
mov edx, dword [ecx]
lea eax, [ebx - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x1010100d
mov dword [edi], ecx
mov dword [ebx], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esi, 0x30
add edi, 0x30
add ebp, 0x30
add ebx, 0x30
cmp ebp, ecx
jne 0x10100fa8
mov ebx, dword [esp + 0x10]
cmp esi, ecx
je 0x101010ee
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x101010de
mov edx, esi
lea edi, [ecx + 0x2c]
sub edx, ecx
lea ebx, [esi + 8]
mov dword [esp + 0x20], edx
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edi - 0x2c]
lea ebp, [edi - 0x24]
mov dword [esi], eax
cmp ebx, ebp
je 0x101010ca
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x1010108c
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x101010c6
cmp ecx, ebp
jne 0x101010bd
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x101010c6
mov edx, dword [ecx]
cmp ecx, ebp
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
jmp 0x101010c0
mov dword [edi + edx], ecx
mov dword [edi], 0
mov ecx, dword [esp + 0x24]
add edi, 0x30
add esi, 0x30
add ebx, 0x30
lea eax, [edi - 0x2c]
cmp eax, ecx
jne 0x10101060
mov ebx, dword [esp + 0x10]
push ebx
push dword [ebx + 4]
push esi
call fcn.100e2500
add esp, 0xc
mov dword [ebx + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x10105000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x101fd700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x101051d4
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], eax
jle 0x101051cd
nop dword [eax]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + eax*4]
lea eax, [ecx + eax*4]
push 0
push 0xfde9
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jle 0x101051d4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp edi, 0x7fffffff
ja 0x101051e5
cmp edi, 0x1000
jb 0x101050dd
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x101051ea
push eax
call fcn.10176a02
add esp, 4
test eax, eax
je 0x101051ef
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x101050e8
push edi
call fcn.10176a02
add esp, 4
mov esi, eax
push dword [ebp - 0x14]
add edi, esi
mov dword [ebp - 0x30], esi
push 0
push esi
mov dword [ebp - 0x28], edi
call fcn.10178d50
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x1010516a
mov edx, esi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10105150
sub edx, dword [ebp - 0x24]
push edx
push esi
call fcn.100cfea0
mov ecx, dword [ebp - 0x18]
add dword [ecx + 4], 0x18
jmp 0x10105176
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, eax
call fcn.10101e00
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x101051ba
cmp edi, 0x1000
jb 0x1010519b
mov eax, dword [esi - 4]
add edi, 0x23
sub esi, eax
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x101051ef
mov esi, eax
push edi
push esi
call fcn.10176a32
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x10]
jl 0x10105060
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100f0820
call fcn.100dd070
call fcn.1017c2af
int3