joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a61f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
jmp 0x4a620a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a6211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a6200
mov eax, 1
add ebx, ebx
jne 0x4a6223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a6234
jne 0x4a6253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a6253
dec eax
add ebx, ebx
jne 0x4a6240
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a6218
add ebx, ebx
jne 0x4a624f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a62a5
xor ecx, ecx
sub eax, 3
jb 0x4a626b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a62da
sar eax, 1
mov ebp, eax
jmp 0x4a6276
add ebx, ebx
jne 0x4a6276
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a6244
inc ecx
add ebx, ebx
jne 0x4a6284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a6244
add ebx, ebx
jne 0x4a6291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a6286
jne 0x4a62a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a6286
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a62c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a62b6
jmp 0x4a6206
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a62c4
add edi, ecx
jmp 0x4a6206
pop esi
mov edi, esi
mov ecx, 0x2f90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a62e2
cmp byte [edi], 0x1b
jne 0x4a62e2
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 0x4a62e7
lea edi, [esi + 0xa3000]
mov eax, dword [edi]
or eax, eax
je 0x4a635f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbbb9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbbcb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a6314
mov ecx, edi
jns 0x4a6343
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbbcb8]
or eax, eax
je 0x4a6359
mov dword [ebx], eax
add ebx, 4
jmp 0x4a6331
call dword [esi + 0xbbcc8]
mov ebp, dword [esi + 0xbbcbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4a6393
sub esp, 0xffffff80
jmp 0x450aed
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x27c057da
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2cff3239
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10002610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
movups xmm0, xmmword [str.AmericanFlag]
mov ax, word [0x10080b58]
mov word [esp + 0x20], ax
lea eax, [esp + 8]
push esi
mov esi, dword [ebp + 8]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
movq xmm0, qword [0x10080b50]
push edi
movq qword [esp + 0x20], xmm0
xorps xmm0, xmm0
push eax
mov dword [esp + 0x5c], 0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x60], 0x10002920
mov dword [esp + 0x6c], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push esi
push 0
push 0
push 0x190
push 0x140
push 0x80000000
push 0x80000000
push 0xcf0000
push str.AmericanFlag
lea eax, [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x10002723
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x30]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0
push eax
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
call esi
test eax, eax
je 0x10002723
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jne 0x10002700
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10002730
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x1c], edx
push edi
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x12c
push 0x12c
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
xor edi, edi
mov ebx, 0x10081994
push dword [ebx]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov dword [esp + 0x44], edi
push esi
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0
push eax
push dword [esp + 0x1c]
add edi, 0x32
mov dword [esp + 0x54], 0x12c
mov dword [esp + 0x58], edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
add ebx, 4
cmp ebx, 0x100819ac
jl 0x10002788
push 0x41eb0
push 0x42
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x5c], 0x12c
mov dword [esp + 0x60], 0x12c
mov dword [esp + 0x64], 0x180001
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
mov ebx, eax
lea eax, [esp + 0x54]
push eax
push ebx
push 0x12c
push 0
push dword [esp + 0x2c]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov eax, 0x4d42
mov dword [esp + 0x3a], 0x36
push 0
mov word [esp + 0x34], ax
lea eax, [esp + 0x14]
push eax
push 0xe
lea eax, [esp + 0x3c]
mov dword [esp + 0x3e], 0x41ee6
push eax
push edi
mov dword [esp + 0x24], 0
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 0x28
lea eax, [esp + 0x5c]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 0x41eb0
push ebx
push edi
call esi
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x1c]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [str.TutahshClass]
mov cx, word [0x10080eb4]
mov esi, eax
push 0x7f00
movups xmmword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
mov word [esp + 0x2c], cx
movq xmm0, qword [0x10080eac]
movq qword [esp + 0x24], xmm0
xorps xmm0, xmm0
push 0
mov dword [esp + 0x60], 0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x64], 0x100045f0
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x78], 6
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push esi
push 0
push 0
push 0x258
push 0x320
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Tutahgh
lea eax, [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x10009d38
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x30]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0
push eax
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
call esi
test eax, eax
je 0x10009d38
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jne 0x10009d15
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10009d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [str.WndClassA]
mov ecx, dword [0x10080e18]
mov esi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x58]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x58], 0
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0x10003a80
push eax
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x6c], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push esi
push 0
push 0
push 0x1b7
push 0x1a0
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Game
lea eax, [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x10009e45
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x30]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0
push eax
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
call esi
test eax, eax
je 0x10009e45
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jne 0x10009e22
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075c3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], 0
lea ecx, [edi + 0x68]
mov dword [edi], 0x100818ec
mov dword [edi + 0x10], 0x10081ca0
call fcn.1000dce0
mov dword [ebp - 4], 0
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x100818e8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, edi
mov ecx, ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.100023e0
push 8
call fcn.100553e0
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 3
call fcn.10054403
mov dword [esi + 4], eax
add esp, 4
lea eax, [edi + 0x18]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
push eax
call fcn.1000fa80
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov ecx, esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x1000c8f1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [ebx + 0x38], 0
mov eax, dword [ebp - 0x18]
mov word [ebx + 0x40], ax
jne 0x1000c90e
mov eax, dword [ebx + 0xc]
mov ecx, ebx
push 0
or eax, 4
push eax
call fcn.100023e0
lea edx, [edi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x10081b14
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x100819bc
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 7
mov eax, dword [edi]
push ecx
push dword [ebp + 8]
lea ecx, [edi + 0x18]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x100809cc
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [edx + edi - 4], eax
call fcn.1000db40
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000db40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075cad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
push ebx
push esi
push edi
lea ebx, [ecx + 0x24]
mov dword [ecx], 0x10081d84
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.100553e0
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10054403
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], esi
mov dword [ebx], 0x10081cf4
cmp dword [esi + 0x14], 7
jbe 0x1000dc4f
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov esi, dword [esi + 0x10]
xor eax, eax
cmp esi, 0x7fffffff
ja 0x1000dcd0
test esi, esi
je 0x1000dcb5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.1000f820
add esi, esi
mov edi, eax
push esi
push dword [ebp + 8]
push edi
call fcn.10056a70
lea eax, [esi + edi]
add esp, 0x14
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0xc]
sar esi, 1
mov dword [eax], edi
mov eax, dword [ebx + 0x1c]
mov dword [eax], edi
mov eax, dword [ebx + 0x2c]
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x38]
sub ecx, edi
sar ecx, 1
mov dword [eax], edi
mov eax, dword [ebx + 0x20]
mov dword [eax], edi
mov eax, dword [ebx + 0x30]
mov dword [eax], ecx
mov eax, 1
jmp 0x1000dcb8
mov dword [ebx + 0x38], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x3c], eax
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.100541fa
int3
Function at 0x1000e470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10075d40
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], 0x10078e60
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100553e0
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10054403
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000e410
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10019d80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x10019ddd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10019da0
mov eax, dword [esi]
jmp 0x10019eb7
cmp eax, 0x4e0
jb 0x10019eb7
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x10019df6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x10019e40
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006336e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100633ad
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100633ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100633ad
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100633ad
cmp dword [ecx + 0x74], 0xe
jbe 0x100633ad
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100687ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1007cdc4
push 0x1007cdbc
push 0x1007a7ec
push 0x1f
call fcn.10068675
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100687e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x10078c64]
call esi
jmp 0x100687e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1006882b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1007cdd4
push 0x1007cdcc
push str.FlsGetValue
push 0x21
call fcn.10068675
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10068862
push dword [ebp + 8]
mov ecx, esi
call dword [0x10078c64]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1006886a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1007cddc
push 0x1007cdd4
push 0x1007a824
push 0x22
call fcn.10068675
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100688a4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10078c64]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10068fe9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100562c0
mov eax, dword [0x10092080]
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.10064032
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1006902b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10069187
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10075240
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 + 0x100f9fa0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10069dea
mov ecx, dword [esi*4 + 0x100f9fa0]
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 0x10069180
cmp eax, dword [ecx + edi + 0x24]
jne 0x10069180
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 0x10069180
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10069dea
add esp, 0x14
test edx, edx
jl 0x10069180
jg 0x100690f6
test eax, eax
jb 0x10069180
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10069180
jl 0x10069110
cmp dword [ebp - 0x1008], eax
ja 0x10069180
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1006912e
test ebx, ebx
je 0x10069167
cmp ecx, edi
jae 0x10069167
mov al, byte [ecx]
cmp al, 0xd
jne 0x10069148
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10069154
cmp byte [ecx + 1], 0xa
jne 0x10069154
inc ecx
jmp 0x10069154
movzx eax, al
movsx eax, byte [eax + 0x10092338]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1006912e
cmp edx, ebx
jne 0x1006912e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10069185
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10055ac7
leave
ret