joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c2d3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10329ef8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1010c319
cmp word [ebx], dx
jne 0x1010c319
or byte [eax + edi + 0x28], 4
jmp 0x1010c31e
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1010c481
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1010c461
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1010c35f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1010c395
cmp eax, edx
jae 0x1010c3a3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1010c33a
jmp 0x1010c481
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1010c45c
cmp dword [ebp - 0x18], 0
je 0x1010c45c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10329ef8]
test byte [eax + edi + 0x28], 0x48
je 0x1010c432
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1010c3f6
mov word [esi], cx
jmp 0x1010c42d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10329ef8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10329ef8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10329ef8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1010c481
pop eax
cmp word [ebp - 4], ax
jne 0x1010c442
cmp esi, ebx
jne 0x1010c442
mov word [esi], ax
jmp 0x1010c47e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1010bcf7
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1010c481
push 0xd
pop eax
jmp 0x1010c43d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10329ef8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1010c47b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1010c481
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1010d962
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10242a54
push 0x10242a4c
push str.FlsAlloc
push 0x1f
call fcn.1010d630
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1010d996
push dword [ebp + 8]
mov ecx, esi
call dword [0x101c2368]
call esi
jmp 0x1010d99c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1010d9e0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10242a64
push 0x10242a5c
push str.FlsGetValue
push 0x21
call fcn.1010d630
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1010da17
push dword [ebp + 8]
mov ecx, esi
call dword [0x101c2368]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1010da1f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10242a6c
push 0x10242a64
push str.FlsSetValue
push 0x22
call fcn.1010d630
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1010da59
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101c2368]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10112e16
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x102d6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x10112e61
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.101131b2
test al, al
jne 0x10112e5b
sub edx, 2
cmp edx, edi
jne 0x10112e41
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x10112e83
lea eax, [edi + 2]
cmp edx, eax
je 0x10112e83
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.10112add
add esp, 0x10
jmp 0x10112f7d
push esi
lea ecx, [ebp - 0x255]
call fcn.101131b2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10112ec6
push dword [ebp - 0x25c]
jmp 0x10112e73
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x10112f03
cmp word [ebp - 0x226], 0
je 0x10112f24
cmp word [ebp - 0x226], ax
jne 0x10112f03
cmp word [ebp - 0x224], 0
je 0x10112f24
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.10112add
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10112f70
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x10112edd
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x10112f58
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x10112f7d
push 0x101125fc
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.100e8ea0
add esp, 0x10
jmp 0x10112f4d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bc35d
leave
ret
Function at 0x10114322
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x101143bf
push ebx
push esi
call fcn.101142de
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.101114ef
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1011436c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101143be
push edi
push eax
call fcn.10106e00
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1011438c
call fcn.10106dc6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101143bd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101114ef
add esp, 0x20
test eax, eax
jne 0x101143ab
push edi
call fcn.10106dc6
jmp 0x101143b3
push ebx
call fcn.10106dc6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x101143c2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101143d3
pop esi
ret
push ebx
push edi
push esi
call fcn.101142de
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10106e00
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101143fb
push ebx
push esi
push edi
call fcn.100bddb0
add esp, 0xc
push 0
call fcn.10106dc6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10114ce0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10114670

Function at 0x101172b6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10103e06
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10117325
cmp esi, dword [ebp - 4]
je 0x10117320
cmp dword [ebp + 0xc], 0
je 0x10117320
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x101172fd
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10116e08
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10117327
xor eax, eax
inc eax
jmp 0x10117327
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1011738c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102d6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10103e06
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10103e06
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10117403
cmp word [ecx], dx
je 0x10117403
mov eax, dword [0x10246a7c]
push edi
dec eax
push eax
push 0x10246968
call fcn.1011732b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10117476
cmp word [eax], dx
je 0x10117476
mov eax, dword [edi]
test eax, eax
je 0x10117427
cmp word [eax], dx
je 0x10117427
lea eax, [ebp - 0x10]
push eax
call fcn.10116d0e
jmp 0x10117430
lea eax, [ebp - 0x10]
push eax
call fcn.10116da9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101174a0
mov eax, dword [0x10246964]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10246658
call fcn.1011732b
add esp, 0xc
test al, al
je 0x101174a0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1011746b
cmp word [eax], di
je 0x1011746b
lea eax, [ebp - 0x10]
push eax
call fcn.10116d0e
pop ecx
jmp 0x101174a2
lea eax, [ebp - 0x10]
push eax
call fcn.10116da9
jmp 0x10117468
mov eax, dword [edi]
test eax, eax
je 0x1011748d
cmp word [eax], dx
je 0x1011748d
lea eax, [ebp - 0x10]
push eax
call fcn.10116ca5
pop ecx
jmp 0x101174a0
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1011756b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101171b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1011756b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1011756b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1011756b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101174f8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1010dcf0
test ebx, ebx
je 0x10117566
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1010dcf0
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1011756b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1011756b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1011f465
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1011756d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bc35d
leave
ret
Function at 0x1012082f
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10120653
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1012099e
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1012099e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10120953
jg 0x1012088b
test eax, eax
je 0x10120949
push 1
push 0x1000
call fcn.10108bfb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101208ae
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10120940
push 0x8000
push ebx
call fcn.10120488
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101208d7
jg 0x101208d2
cmp ecx, 0x1000
jb 0x101208d7
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1010b5d9
add esp, 0x10
cmp eax, 0xffffffff
je 0x1012091c
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101208d2
jl 0x10120903
test ecx, ecx
jne 0x101208c4
push dword [ebp - 0xc]
push ebx
call fcn.10120488
push esi
call fcn.10106dc6
add esp, 0xc
xor ebx, ebx
jmp 0x101209ac
cmp byte [edi + 0x24], 0
je 0x10120933
cmp dword [edi + 0x20], 5
jne 0x10120933
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1012093e
mov ebx, dword [edi + 0x18]
jmp 0x10120940
xor ebx, ebx
push esi
call fcn.10106dc6
pop ecx
jmp 0x101209ac
test ecx, ecx
jg 0x10120915
jl 0x10120953
test eax, eax
jae 0x10120915
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1010bcf7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10120973
cmp byte [edi + 0x1c], 0
je 0x10120915
jmp 0x101209a4
push ebx
call fcn.1011b4fc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10120915
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101209ac
cmp byte [edi + 0x1c], 0
je 0x101209a9
mov ebx, dword [edi + 0x18]
jmp 0x101209ac
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1010bcf7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10122080
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10121f54

Function at 0x101223b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101223dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101223dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101232e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x10
mov ecx, dword [0x10329638]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336924]
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1012339d
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10003450
mov ecx, esi
mov edi, dword [eax]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov edx, 0x811c9dc5
mov ecx, dword [eax + 8]
mov al, byte [ecx]
test al, al
je 0x1012337d
movzx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x10123335
cmp edx, 0x92546bf0
jne 0x10123360
mov ecx, esi
call fcn.10003450
mov dword [eax], 2
jmp 0x1012337d
cmp edx, 0x798b70e7
je 0x10123370
cmp edx, 0x6a5171a2
jne 0x1012337d
mov ecx, esi
call fcn.10003450
mov dword [eax], 0
push esi
call dword [0x10336928]
add esp, 4
mov ecx, esi
mov bl, al
call fcn.10003450
mov dword [eax], edi
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10336924
call fcn.100bbde8
add esp, 4
cmp dword [0x10336924], 0xffffffff
jne 0x10123309
mov dh, 0x7e
mov byte [ebp - 5], 0
mov cl, 0x1b
mov byte [ebp - 0xc], dh
mov ah, cl
mov byte [ebp - 5], 0
mov al, 0xd
mov dl, 0xc
xor al, dh
xor ah, dh
mov ch, dl
mov byte [ebp - 0xb], al
mov byte [ebp - 7], ah
mov bl, 8
lea eax, [ebp - 0xb]
xor cl, dh
xor dl, dh
mov byte [ebp - 0xa], cl
xor bl, dh
mov byte [ebp - 9], dl
xor ch, dh
mov byte [ebp - 8], bl
push eax
mov byte [ebp - 6], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x1cd4f0
push 0x10336924
mov dword [0x10336928], eax
call fcn.100bbd97
add esp, 4
jmp 0x10123309
Function at 0x1013e330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [0x103280c8]
mov ebx, ecx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
add eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], eax
cmp edx, eax
je 0x1013e504
mov eax, dword [esi + 0xc]
mov ecx, edx
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 8]
mov esi, edx
and esi, 1
mov dword [esp + 0x30], esi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x103280d8]
mov dword [esp + 0x34], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + esi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
test eax, eax
je 0x1013e4d3
mov ecx, dword [edi + esi*8]
cmp byte [ecx + 1], 0
je 0x1013e4d3
mov eax, dword [ecx + 0x40]
cmp byte [eax + 4], 0
jne 0x1013e4d3
cmp byte [ecx + 2], 0
jne 0x1013e4d3
mov eax, dword [ecx + 0x48]
cmp dword [eax + 0x1c], 0
je 0x1013e4d3
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + esi*8 + 4]
test eax, eax
je 0x1013e3ef
lock inc dword [eax + 4]
mov eax, dword [edi + esi*8]
mov dword [ecx], eax
mov eax, dword [edi + esi*8 + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
call fcn.1013d3a0
cmp dword [ebx + 0x78], 0xffffffff
je 0x1013e4d3
mov eax, dword [0x103280cc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1013e4eb
cmp eax, 1
jne 0x1013e4aa
mov eax, dword [edi + esi*8]
mov ebx, dword [eax + 0x44]
mov eax, dword [0x103280d8]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, eax
call fcn.100079e0
movss xmm0, dword [ebx]
sub esp, 8
movss xmm1, dword [ebx + 4]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5cd0
mov ebx, dword [esp + 0x34]
add esp, 8
fstp dword [esp + 0x28]
cvttss2si edx, dword [esp + 0x28]
cmp dword [ebx + 0x98], edx
jle 0x1013e4c4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*8]
movsx eax, byte [eax + 0xc]
mov dword [ebx + 0x70], edx
jmp 0x1013e4c1
cmp eax, 2
jne 0x1013e4c4
mov eax, dword [edi + esi*8]
mov ecx, dword [eax + 8]
cmp dword [ebx + 0x74], ecx
jl 0x1013e4c4
movsx eax, byte [eax + 0xc]
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x5c]
push eax
lea ecx, [ebx + 0x84]
call fcn.100380c0
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x38]
je 0x1013e504
mov esi, dword [esp + 0x3c]
jmp 0x1013e364
mov eax, dword [edi + esi*8]
lea ecx, [ebx + 0x84]
movsx eax, byte [eax + 0xc]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x5c]
push eax
call fcn.100380c0
cmp dword [ebx + 0x6c], 0
pop edi
pop esi
setg al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10140f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [0x103280cc]
sub esp, 0x34
mov eax, dword [eax + 8]
push ebx
push esi
push edi
cmp byte [eax + 6], 0
mov ebx, ecx
je 0x10141047
mov eax, dword [0x103280d8]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [0x10329638]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10336e4c]
cmp ecx, dword [edx + 4]
jg 0x1014104e
mov esi, dword [0x10336e50]
mov ecx, edi
call fcn.100224c0
sub esp, 8
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
add esp, 8
comiss xmm0, dword [0x102cd3f8]
ja 0x10141047
movss xmm1, dword [esi + 0x1c]
sub esp, 8
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
add esp, 8
comiss xmm0, dword [0x102cd3f8]
ja 0x10141047
movd xmm0, dword [ebx + 8]
mov ecx, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102cd440]
movss dword [esi + 0x1c], xmm0
call fcn.10035e70
cmp byte [eax], 0
jne 0x1014102d
mov ecx, edi
call fcn.10035d20
cmp byte [eax], 0
je 0x1014103f
movss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [0x102cd394]
movss dword [esi + 0x1c], xmm0
mov eax, dword [ebx + 8]
neg eax
mov dword [ebx + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10336e4c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336e4c], 0xffffffff
jne 0x10140f5e
push 0x10336e4c
mov dword [0x10336e50], 0
call fcn.100bbd97
add esp, 4
jmp 0x10140f5e
Function at 0x1014b990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1032bb20]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1cdc]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x102bdb20]
sub esi, 1
jne 0x1014b9c2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1014ba09
inc ecx
test esi, esi
je 0x1014b9f7
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1014b9fc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003d550
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret