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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100737a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100b3140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x2c
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.10056650
lea edi, [esi + 0x3c]
add esp, 0xc
mov dword [ebp - 0x14], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 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
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x10014abc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x14]
jle 0x10014abc
lea eax, [ecx*4]
push eax
call fcn.10058203
mov edx, dword [edi + 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10014ab3
mov ecx, dword [edi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100560d0
push dword [edi + 0x18]
call fcn.10057e7b
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100197e0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001983e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10019822
cmp edi, 2
jb 0x10019822
cmp byte [esi], cl
jne 0x10019822
cmp byte [esi + 1], cl
jne 0x10019822
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0680]
jmp 0x100197f3
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0680]
test edi, edi
jne 0x100197f3
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001986d
cmp cl, 0x23
jne 0x10019854
cmp byte [esi], cl
jne 0x10019854
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100a0680]
test cl, cl
jne 0x10019845
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10019980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10019997
mov dword [edi], 0
mov edx, 0x100a5eb4
call fcn.10019880
mov esi, eax
test esi, esi
je 0x10019a54
push esi
call fcn.1005dabd
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x10019a4b
push 2
push 0
push esi
call fcn.1005e3da
add esp, 0xc
test eax, eax
jne 0x10019a4b
push esi
call fcn.1005dabd
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10019a4b
push 0
push dword [esp + 0x10]
push esi
call fcn.1005e3da
add esp, 0xc
test eax, eax
jne 0x10019a4b
push ebx
call fcn.10058203
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x10019a4b
push esi
push ebx
push 1
push eax
call fcn.1005efd9
add esp, 0x10
push esi
cmp eax, ebx
je 0x10019a32
call fcn.1005e0c1
push dword [esp + 0x10]
call fcn.10057e7b
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1005e0c1
add esp, 4
test edi, edi
je 0x10019a40
mov dword [edi], ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.1005e0c1
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
lea eax, [edx - 1]
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
cmp ebx, eax
mov eax, dword [esp + 0x24]
jae 0x10019da3
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x10019c0c
cmp eax, esi
jae 0x10019d9d
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x10019d9d
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x100a5f38]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x10019c3d
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x10019c58
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x10019c5d
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10019c6c
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x10019c71
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x10019c7c
mov ch, byte [esi]
jmp 0x10019c7e
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x100a5f58]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x100a5f24]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x100a5f6c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x100a5f80]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10019d82
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x30]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x24]
jb 0x10019c00
mov ebx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10019db3
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10019dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
xor ecx, ecx
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x10019ddd
cmp eax, ebp
jae 0x10019f47
mov bl, byte [eax]
test bl, bl
je 0x10019f47
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x100a5f38]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x10019e0e
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x10019e27
mov bl, byte [esi]
mov byte [esp + 0x10], bl
jmp 0x10019e2c
mov byte [esp + 0x10], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10019e37
mov ch, byte [esi]
jmp 0x10019e39
xor ch, ch
lea ebx, [eax + 3]
mov byte [esp + 0x12], ch
cmp ebx, edx
jae 0x10019e48
mov bl, byte [ebx]
jmp 0x10019e4a
xor bl, bl
mov edi, dword [edi*4 + 0x100a5f58]
movzx esi, byte [esp + 0x10]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [esp + 0x11], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [esp + 0x14]
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x100a5f24]
shr edi, cl
cmp edi, dword [esi*4 + 0x100a5f6c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
or ebx, edx
mov edx, 0xffff
cmp edx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x100a5f80]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x10019f37
xor edx, edx
cmp byte [esp + 0x11], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10019dcd
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10019dcd
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x1001c6e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a0680]
sub edi, 1
jne 0x1001c751
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x1001fae0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x100b7d54]
push ebx
push esi
push edi
mov esi, dword [eax + 0x1238]
mov edi, ecx
mov eax, dword [eax + 0x1230]
lea ebx, [esi + eax*8]
test eax, eax
je 0x1001fabe
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x1001fab8
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x1001faba
mov eax, edx
test eax, eax
jne 0x1001faa0
cmp esi, ebx
je 0x1001facd
cmp dword [esi], edi
jne 0x1001facd
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1001fb1d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001fb03
cmp byte [esi], bl
jne 0x1001fb03
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x100a0680]
test bl, bl
jne 0x1001faf4
pop edi
pop esi
not ecx
pop ebx
jmp 0x1001fa80
Function at 0x10025540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
mov eax, dword [0x100b7d54]
push ebx
mov dword [esp + 4], ecx
push esi
mov ebx, dword [eax + 0x124c]
lea esi, [esp + 8]
push edi
mov edi, 4
mov ecx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0680]
sub edi, 1
jne 0x10025570
not eax
lea ecx, [ebx + 0xec]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call fcn.1002e340
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1002d110
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100b7d54]
test bl, bl
je 0x1002d159
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x1002d13f
cmp byte [esi], bl
jne 0x1002d13f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x100a0680]
test bl, bl
jne 0x1002d130
pop ebp
mov ecx, dword [edi + 0x3088]
not eax
mov edx, dword [edi + 0x3090]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1002d180
cmp dword [edx + 4], eax
je 0x1002d183
add edx, 0x24
cmp edx, ecx
jne 0x1002d174
xor eax, eax
ret
mov eax, edx
ret
Function at 0x10036540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10036567
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003658c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100365b1
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100365f2
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10036617
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1003663c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.10057e7b
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10038e20
Function at 0x100396e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
push edi
cmp byte [ecx + 0x3c], 0
lea ebp, [ebx + 0x3c]
jne 0x1003971e
push 0x60
call fcn.10058203
add esp, 4
test eax, eax
je 0x1003970c
mov ecx, eax
call fcn.1003b8b0
jmp 0x1003970e
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, ebp
lea eax, [esp + 0x10]
push eax
call fcn.1002e340
mov ecx, dword [ebx + 0x58]
push esi
mov esi, dword [ebx + 0x54]
cmp esi, ecx
jne 0x1003977c
inc esi
test ecx, ecx
je 0x10039739
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1003973e
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1003977c
imul eax, esi, 0x7c
push eax
call fcn.10058203
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x10039773
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call fcn.100560d0
push dword [ebx + 0x5c]
call fcn.10057e7b
add esp, 0x10
mov dword [ebx + 0x5c], edi
lea ebp, [ebx + 0x3c]
mov dword [ebx + 0x58], esi
imul edi, dword [ebx + 0x54], 0x7c
mov ecx, 0x1f
mov edx, dword [esp + 0x1c]
mov esi, edx
add edi, dword [ebx + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul edi, dword [ebx + 0x54], 0x7c
add edi, dword [ebx + 0x5c]
cmp dword [edi - 4], 0
jne 0x100397ad
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi - 4], eax
cmp byte [edi - 0x74], 0
jne 0x100397d8
push dword [edi - 0x78]
call fcn.10058203
mov ecx, dword [esp + 0x20]
push dword [edi - 0x78]
mov dword [edi - 0x7c], eax
mov byte [edi - 0x74], 1
push dword [ecx]
push eax
call fcn.100560d0
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [edi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x100397ee
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x54], 0x7c
mov eax, dword [ebx + 0x5c]
add esi, eax
cmp eax, esi
je 0x1003981e
nop dword [eax + eax]
cmp byte [eax + 0x3c], 0
mov edx, dword [eax + 0x78]
lea ecx, [edx + 0x38]
jne 0x10039814
mov dword [edx + 0x34], eax
xor edx, edx
mov word [ecx], dx
inc word [ecx]
add eax, 0x7c
cmp eax, esi
jne 0x10039800
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0x18], 0
pop esi
test eax, eax
je 0x10039833
push eax
call fcn.10057e7b
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10039843
push eax
call fcn.10057e7b
add esp, 4
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
mov eax, dword [edi - 4]
pop edi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x1004fd30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov eax, dword [0x100b3140]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
mov esi, dword [0x100b7d54]
mov ebp, edx
push edi
mov edi, ecx
test esi, esi
je 0x1004fd55
mov esi, dword [esi + 0x78]
jmp 0x1004fd57
xor esi, esi
push 0xbe2
call dword [0x100b7dc8]
push 0x8006
call dword [0x100b7d78]
push 0x303
push 1
push 0x303
push 0x302
call dword [0x100b7d80]
push 0xb44
call dword [0x100b7db8]
push 0xb71
call dword [0x100b7db8]
push 0xb90
call dword [0x100b7db8]
push 0xc11
call dword [0x100b7dc8]
cmp dword [esi], 0x136
jb 0x1004fdc3
push 0x8f9d
call dword [0x100b7db8]
push 0x1b02
push 0x408
call dword [0x100b7e20]
cmp byte [esi + 0x58], 0
mov bl, 1
je 0x1004fe03
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x935c
call dword [0x100b7de8]
xor eax, eax
movzx ebx, bl
cmp dword [esp + 0x10], 0x8ca2
cmove ebx, eax
push dword [esp + 0x5c]
push ebp
push 0
push 0
call dword [0x100b7e48]
movss xmm6, dword [edi + 0x1c]
movss xmm4, dword [edi + 0x20]
movaps xmm5, xmm6
movaps xmm3, xmm4
addss xmm5, dword [edi + 0x24]
addss xmm3, dword [edi + 0x28]
test bl, bl
jne 0x1004fe39
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm2, dword [0x100a7020]
movaps xmm1, xmm5
subss xmm1, xmm6
mov dword [esp + 0x3c], 0xbf800000
movaps xmm0, xmm2
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
divss xmm0, xmm1
movss dword [esp + 0x14], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x2c], xmm0
movaps xmm0, xmm5
movss dword [esp + 0x28], xmm2
addss xmm0, xmm6
subss xmm6, xmm5
divss xmm0, xmm6
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
subss xmm3, xmm4
divss xmm0, xmm3
movss dword [esp + 0x48], xmm0
push dword [esi + 0x30]
call dword [0x100b7e40]
push 0
push dword [esi + 0x34]
call dword [0x100b7e38]
lea eax, [esp + 0x14]
push eax
push 0
push 1
push dword [esi + 0x38]
call dword [0x100b7e3c]
cmp dword [esi], 0x14a
jae 0x1004fef4
cmp byte [esi + 0x25], 0
je 0x1004fefe
push 0
push 0
call dword [0x100b7d6c]
push dword [esp + 0x60]
call dword [0x100b7d74]
push dword [esi + 0x48]
push 0x8892
call dword [0x100b7d68]
push dword [esi + 0x4c]
push 0x8893
call dword [0x100b7d68]
push dword [esi + 0x3c]
call dword [0x100b7dcc]
push dword [esi + 0x40]
call dword [0x100b7dcc]
push dword [esi + 0x44]
call dword [0x100b7dcc]
push 0
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x3c]
call dword [0x100b7e44]
push 8
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x40]
call dword [0x100b7e44]
push 0x10
push 0x14
push 1
push 0x1401
push 4
push dword [esi + 0x44]
call dword [0x100b7e44]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10054171
add esp, 0x48
ret
Function at 0x10050b10
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov eax, dword [0x100b7d54]
push esi
test eax, eax
je 0x10050b1f
mov esi, dword [eax + 0x74]
jmp 0x10050b21
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x10050b44
mov dword [esi], eax
pop esi
ret
Function at 0x100584d6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10058515
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10058515
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10058515
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10058515
cmp dword [ecx + 0x74], 0xe
jbe 0x10058515
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1005d8b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10055310
mov eax, dword [0x100b3140]
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.10063cb3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1005d8f8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1005da54
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1006ebb0
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 + 0x100b6500]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10064195
mov ecx, dword [esi*4 + 0x100b6500]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1005da4d
cmp eax, dword [ecx + edi + 0x24]
jne 0x1005da4d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005da4d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10064195
add esp, 0x14
test edx, edx
jl 0x1005da4d
jg 0x1005d9c3
test eax, eax
jb 0x1005da4d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1005da4d
jl 0x1005d9dd
cmp dword [ebp - 0x1008], eax
ja 0x1005da4d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1005d9fb
test ebx, ebx
je 0x1005da34
cmp ecx, edi
jae 0x1005da34
mov al, byte [ecx]
cmp al, 0xd
jne 0x1005da15
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1005da21
cmp byte [ecx + 1], 0xa
jne 0x1005da21
inc ecx
jmp 0x1005da21
movzx eax, al
movsx eax, byte [eax + 0x100b3398]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1005d9fb
cmp edx, ebx
jne 0x1005d9fb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1005da52
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10054171
leave
ret
Function at 0x10062d73
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10078194
push 0x1007818c
push str.FlsAlloc
push 0x1f
call fcn.10062c4f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062da7
push dword [ebp + 8]
mov ecx, esi
call dword [0x10075278]
call esi
jmp 0x10062dad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10062df1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100781a4
push 0x1007819c
push str.FlsGetValue
push 0x21
call fcn.10062c4f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062e28
push dword [ebp + 8]
mov ecx, esi
call dword [0x10075278]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10062e30
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100781ac
push 0x100781a4
push str.FlsSetValue
push 0x22
call fcn.10062c4f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062e6a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10075278]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]