joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ba1b0
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6ba3db
sub esp, 0x24
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6ba369
mov eax, dword [eax + 8]
cmp eax, 0x4bcec15d
ja 0x6ba268
cmp eax, 0x33e3acf2
jne 0x6ba220
mov eax, dword [esp + 0x28]
lea ecx, [0x6e87c0]
cmp eax, ecx
jne 0x6ba36d
lea eax, [0x7b21b0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
cmp eax, 0x4bcec15d
jne 0x6ba25f
mov eax, dword [esp + 0x28]
lea ecx, [0x706680]
cmp eax, ecx
jne 0x6ba36d
lea eax, [0x7b2178]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x28]
jmp 0x6ba36d
cmp eax, 0x8c7bd38d
jne 0x6ba30c
mov eax, dword [esp + 0x28]
lea ecx, [0x725f00]
cmp eax, ecx
jne 0x6ba36d
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.006b8c90
movzx eax, byte [esp + 8]
test al, al
je 0x6ba2c9
lea eax, [0x7b2194]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x74f050]
mov dword [eax], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
add esp, 0x24
ret
cmp eax, 0xc0d9e4a4
jne 0x6ba363
mov eax, dword [esp + 0x28]
lea ecx, [0x6fdca0]
cmp eax, ecx
jne 0x6ba36d
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409dc0
mov eax, dword [esp + 0xc]
lea ecx, [0x7b21cc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x28]
jmp 0x6ba36d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [0x7448d6]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
add esp, 0x24
ret
call fcn.00467a60
jmp fcn.006ba1b0
Function at 0x6bb730
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x6bb8bd
sub esp, 0x98
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x6bb764
mov ecx, eax
mov eax, dword [esp + 0xa8]
jmp 0x6bb799
mov dword [esp], 0
lea ecx, [0x73a4de]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00452120
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x2c]
mov ebp, dword [esp + 0xa0]
mov dword [esp], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp + 4], esi
call ebx
lea edi, [esp + 0x64]
lea esi, [esp + 8]
call fcn.0046958e
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.004690fa
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x74cbb1]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x98
ret
call fcn.00467a60
jmp fcn.006bb730
Function at 0x6c0300
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c0535
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], esi
call fcn.006a8570
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [eax + 0x1c], 0x8000
lea edi, [esp + 0x38]
xor eax, eax
call fcn.004690f8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x40], ecx
lea ecx, [0x71c7c0]
mov dword [esp], ecx
lea edx, [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00409b00
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
lea eax, [0x71c7c0]
mov dword [esp + 4], eax
call fcn.006bf930
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x6c0519
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
mov dword [esp], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00405cc0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x6c04b7
mov edx, dword [eax + 8]
cmp edx, 0x351fa415
jne 0x6c044f
lea edx, [0x6e6400]
cmp eax, edx
jne 0x6c04b7
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x58
ret
cmp edx, 0xe5b82065
jne 0x6c04b7
lea edx, [0x6e6480]
cmp eax, edx
jne 0x6c04b7
mov dword [esp + 0x20], ecx
lea eax, [0x709fc0]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [0x995310]
test edx, edx
je 0x6c049a
call fcn.00468e60
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x74], 0
lea ecx, [0x7b0f20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x74f086]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
call fcn.00467a60
jmp fcn.006c0300
Function at 0x492610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
jmp 0x49262a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x492631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492620
mov eax, 1
add ebx, ebx
jne 0x492643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x492654
jne 0x492673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492673
dec eax
add ebx, ebx
jne 0x492660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x492638
add ebx, ebx
jne 0x49266f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4926c5
xor ecx, ecx
sub eax, 3
jb 0x49268b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4926fa
sar eax, 1
mov ebp, eax
jmp 0x492696
add ebx, ebx
jne 0x492696
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492664
inc ecx
add ebx, ebx
jne 0x4926a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492664
add ebx, ebx
jne 0x4926b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4926a6
jne 0x4926c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4926a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4926e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4926d6
jmp 0x492626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4926e4
add edi, ecx
jmp 0x492626
pop esi
mov edi, esi
mov ecx, 0xe8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x492702
cmp byte [edi], 0
jne 0x492702
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 0x492707
lea edi, [esi + 0x90000]
mov eax, dword [edi]
or eax, eax
je 0x492776
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x96834]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x968bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x492734
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x968c4]
or eax, eax
je 0x492770
mov dword [ebx], eax
add ebx, 4
jmp 0x492751
call dword [esi + 0x968c0]
mov ebp, dword [esi + 0x968c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x4927aa
sub esp, 0xffffff80
jmp 0x40246a
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x4fef6312
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
mov ecx, 0x1d8c7d4b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4066e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x445004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4459c4]
mov dword [ebp - 0x80c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x40675c
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x406723
mov ebx, eax
mov dword [ebp - 0x80c], ebx
jmp 0x40673a
int3
mov ecx, ebx
mov edx, 0x4459c4
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x40675c
push ebx
call esi
mov ebx, dword [0x4459c4]
mov dword [ebp - 0x80c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x406768
int3
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.00414fd6
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x800
call fcn.00416253
add esp, 4
lea esi, [ebp - 0x808]
mov ebx, eax
mov ecx, 0x200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d55
mov esp, ebp
pop ebp
ret

Function at 0x4067d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4459c4]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp eax, 0xffffffff
je 0x4067f3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4067f8
call fcn.004066e0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
call fcn.00406680
mov esi, eax
call fcn.00407ea0
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
push ecx
push 0x20
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.0040c2c0
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0x1c]
call fcn.0040c410
mov ebx, dword [0x446e6c]
xor ecx, ecx
inc ebx
nop dword [eax]
lea eax, [ebx + ecx]
movzx edx, al
lea eax, [edx + edx*2]
cmp dword [eax*4 + 0x446e70], 0
je 0x40686e
inc ecx
cmp ecx, 0x100
jl 0x406850
jmp 0x40689a
lea eax, [edx + edx*2]
mov dword [0x446e6c], edx
mov dword [eax*4 + 0x446e70], 1
mov dword [eax*4 + 0x446e74], 0
mov dword [edi + 4], edx
mov eax, dword [eax*4 + 0x446e78]
mov dword [edi + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [edi + 4], 0xffffffff
jne 0x4068a8
int3
cmp dword [edi + 4], 0x100
jl 0x4068b2
int3
mov dword [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4069b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x445004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4483fc], 0
je 0x4069dc
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d55
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [0x448400]
test esi, esi
jne 0x406ab7
push 0x18
call fcn.00415fcb
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406a27
sub ecx, edx
lea eax, [ebp - 0x20c]
push edi
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407640
cmp dword [esi + 0x14], 8
mov edx, esi
mov edi, dword [esi + 0x10]
jb 0x406a53
mov edx, dword [esi]
test edi, edi
je 0x406aa2
lea eax, [edi - 1]
mov ecx, edi
cmp eax, edi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x406a7d
nop dword [eax + eax]
cmp eax, edx
je 0x406aa2
sub eax, 2
cmp word [eax], 0x5c
jne 0x406a70
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x406aa2
inc eax
cmp edi, eax
jb 0x406bb7
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x406a9c
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push 9
push str.debug.log
mov ecx, esi
call fcn.00407710
mov dword [0x448400], esi
pop edi
cmp dword [esi + 0x14], 8
jb 0x406abf
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov dword [0x4483fc], eax
cmp eax, 0xffffffff
je 0x406ae9
test eax, eax
jne 0x406b8b
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x406ba6
cmp eax, 0x104
ja 0x406ba6
mov ecx, dword [0x448400]
lea eax, [ebp - 0x20c]
push eax
call fcn.00407560
mov ecx, dword [0x448400]
mov edx, ecx
cmp dword [ecx + 0x14], 8
jb 0x406b39
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
cmp word [edx + eax*2 - 2], 0x5c
je 0x406b54
push 0x440580
call fcn.00407530
mov ecx, dword [0x448400]
push str.debug.log
call fcn.00407530
mov eax, dword [0x448400]
cmp dword [eax + 0x14], 8
jb 0x406b6b
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 4
push eax
call esi
mov dword [0x4483fc], eax
cmp eax, 0xffffffff
je 0x406b9c
test eax, eax
je 0x406b9c
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d55
mov esp, ebp
pop ebp
ret
mov dword [0x4483fc], 0
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00415d55
mov esp, ebp
pop ebp
ret
call fcn.00403970
int3
Function at 0x40c2c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x448420]
mov ebx, ecx
push edi
test esi, esi
jne 0x40c2e8
mov dword [ebx], esi
mov eax, ebx
mov dword [ebx + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x4459c4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp byte [ebp + 0x18], 0
mov ecx, eax
je 0x40c326
test ecx, ecx
jne 0x40c307
call fcn.004066e0
mov ecx, eax
mov eax, dword [esi + 0x14]
lea edi, [ecx + eax*8]
mov eax, dword [edi + 4]
cmp eax, dword [esi + 0x18]
jne 0x40c31b
mov edi, dword [edi]
test edi, edi
jne 0x40c345
mov ecx, esi
call fcn.0040c5b0
mov edi, eax
jmp 0x40c345
test ecx, ecx
jne 0x40c331
call fcn.004066e0
mov ecx, eax
mov eax, dword [esi + 0x14]
lea edi, [ecx + eax*8]
mov eax, dword [edi + 4]
cmp eax, dword [esi + 0x18]
je 0x40c343
xor edi, edi
jmp 0x40c345
mov edi, dword [edi]
mov dword [ebx], edi
test edi, edi
je 0x40c3f5
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
mov dword [esp + 0xc], eax
cmp eax, dword [edi + 0xc]
jb 0x40c370
mov edx, dword [esp + 0xc]
lea ecx, [eax + 1]
mov eax, dword [edi + 4]
mov dword [eax + 0x38], ecx
jmp 0x40c3f2
mov esi, eax
lea eax, [esp + 0x18]
shl esi, 7
add esi, dword [edi + 8]
push eax
call dword [0x4459c0]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov eax, esp
mov dword [esp + 0x18], edx
push 0
push 0
mov dword [esp + 0x24], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.00407eb0
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x70], al
mov eax, dword [ecx]
mov dword [esi + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [ecx + 0x38], eax
mov dword [ebx + 4], edx
pop edi
pop esi
mov dword [ebx + 8], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40c810
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x142c
call fcn.00431e30
mov eax, dword [0x445004]
xor eax, esp
mov dword [esp + 0x1428], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp eax, 3
je 0x40c841
test eax, eax
jne 0x40c94e
mov eax, dword [0x4459c4]
cmp eax, 0xffffffff
je 0x40c94e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x40c94e
mov eax, dword [0x4459c4]
lea edi, [esp + 0x30]
mov ecx, 0x200
mov dword [esp + 0x14], eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00415d66
add esp, 4
call fcn.00406680
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00407ea0
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push ecx
push 0x20
push 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
call fcn.0040c2c0
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0x24]
call fcn.0040c410
push dword [esp + 0x10]
mov ecx, 0x300
lea edi, [esp + 0x834]
mov esi, 0x446e70
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, 0x100
nop
xor dl, dl
lea esi, [esp + 0x838]
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [esp + edi*8 + 0x30]
test ecx, ecx
je 0x40c92d
cmp dword [esi - 8], 0
je 0x40c92d
mov eax, dword [esp + edi*8 + 0x34]
cmp eax, dword [esi]
jne 0x40c92d
mov eax, dword [esi - 4]
test eax, eax
je 0x40c92d
push ecx
mov dword [esp + edi*8 + 0x34], 0
call eax
add esp, 4
mov dl, 1
inc edi
add esi, 0xc
cmp edi, 0x100
jl 0x40c900
dec ebx
test ebx, ebx
jle 0x40c942
test dl, dl
jne 0x40c8f0
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x1434]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415d55
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push edi
mov edi, dword [ecx]
sub eax, edi
sar eax, 2
test eax, eax
je 0x4120b1
push ebx
push esi
mov ebx, eax
mov ecx, dword [edi]
lea edi, [edi + 4]
movzx esi, al
movzx edx, cl
xor esi, edx
shr eax, 8
mov edx, ecx
shr edx, 8
xor eax, dword [esi*4 + 0x440bb0]
movzx esi, dl
movzx edx, al
xor esi, edx
shr eax, 8
mov edx, ecx
shr ecx, 0x18
shr edx, 0x10
xor eax, dword [esi*4 + 0x440bb0]
movzx esi, dl
movzx edx, al
xor esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x440bb0]
movzx edx, al
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x440bb0]
sub ebx, 1
jne 0x412053
pop esi
pop ebx
pop edi
ret

Function at 0x4120c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp edx, 0x7fffffff
ja 0x412192
test edx, edx
jle 0x412192
test esi, esi
je 0x412192
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 2
and ebx, 3
test edi, edi
jle 0x412114
nop
movzx eax, word [esi]
dec edi
movzx ecx, word [esi + 2]
add edx, eax
mov eax, edx
add esi, 4
shl eax, 5
xor ecx, eax
shl ecx, 0xb
xor edx, ecx
mov eax, edx
shr eax, 0xb
add edx, eax
test edi, edi
jg 0x4120f0
sub ebx, 1
je 0x412150
sub ebx, 1
je 0x41213d
sub ebx, 1
jne 0x412162
movzx eax, word [esi]
add edx, eax
movsx eax, byte [esi + 2]
shl eax, 2
xor eax, edx
shl eax, 0x10
xor edx, eax
mov eax, edx
shr eax, 0xb
jmp 0x412160
movzx eax, word [esi]
add edx, eax
mov eax, edx
shl eax, 0xb
xor edx, eax
mov eax, edx
shr eax, 0x11
jmp 0x412160
movsx eax, byte [esi]
add edx, eax
mov eax, edx
shl eax, 0xa
xor edx, eax
mov eax, edx
shr eax, 1
add edx, eax
lea eax, [edx*8]
xor edx, eax
mov eax, edx
shr eax, 5
add edx, eax
mov eax, edx
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
add edx, eax
mov eax, edx
shl eax, 0x19
xor edx, eax
pop edi
mov eax, edx
shr eax, 6
pop ebx
add eax, edx
pop esi
ret
xor eax, eax
pop esi
ret