joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c199
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40c1a0
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
or eax, 0xfffffc6c
or eax, 0xfffffc6c
jmp 0x40c14a
call fcn.0040ad4a
test byte [eax + ebp*8], ch
out dx, eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
dec ecx
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040ad4a
dec ebp
xchg esi, eax
stosd dword es:[edi], eax
and ecx, dword [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x40c241
invalid
Function at 0x40cb51
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ah, 0xba
push 0xb
lea eax, [ebp - 0x7bc]
push eax
call fcn.0040ad5a
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040acbb
add esp, 0xc
jmp 0x40ccc2
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.0040ad4a
add byte [esi + 0x64], bh
pop ebp
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40cd2d
lea eax, [ebp - 0x714]
push eax
call fcn.0040ad5a
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040ad0f
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40cd2d
jmp 0x40c6ec
cmp dword [ebp - 0x37c], 0
je 0x40cd3b
jmp 0x40cdf0
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40cd94
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40cd99
jmp 0x40c6ec
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40cde0
lea eax, [ebp - 0x714]
push eax
call fcn.0040ad5a
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040ad0f
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40cdeb
jmp 0x40cdf0
jmp 0x40c6ec
cmp dword [ebp - 0x37c], 0
jne 0x40ce9a
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040af26
invalid
Function at 0x40ceef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esp
call fcn.0040ad4a
wait
movsd dword es:[edi], dword [esi]
ja 0x40cf5e
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40cf0e
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0040ad4a
in eax, 0x8c
sub al, 0xa2
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
cmp al, 0x8b
push esp
pop es
js 0x40cf28
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0040ad4a
push esp
or ebx, dword [0x348b49b9]
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40cf37
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40cf37
call fcn.0040ad4a
inc eax
inc ebp
sub ebp, dword [ebx]
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0040ad4a
test eax, 0xffeb16a6
jne 0x40cf81
push dword [ebp + 4]
push dword [ebp]
call fcn.0040b54a
add byte [edx + 0x33068800], cl
rol byte [edx + edx*8 + 0x3c0940f], 0xc7
in eax, 0xff
inc dword [eax]
mov al, byte [eax]
mov byte [esi], al
xor eax, eax
test dl, dl
sete al
add eax, edi
add esi, eax
or eax, 0xffffffff
cmp dword [ebp + 0xc], eax
je 0x40cfa3
mov eax, ebx
sub eax, esi
add eax, dword [ebp + 0xc]
push str.e000
push eax
push esi
call fcn.0040b683
add esp, 0xc
pop ebx
test eax, eax
jne 0x40d02d
lea ecx, [esi + 2]
cmp byte [ebp + 0x14], al
je 0x40cfc2
mov byte [esi], 0x45
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
cmp byte [eax], 0x30
je 0x40cffc
mov edx, dword [edx + 4]
sub edx, 1
jns 0x40cfdb
neg edx
mov byte [esi + 1], 0x2d
push 0x64
pop edi
cmp edx, edi
jl 0x40cfea
mov eax, edx
cdq
idiv edi
add byte [esi + 2], al
push 0xa
pop edi
cmp edx, edi
jl 0x40cff9
mov eax, edx
cdq
idiv edi
add byte [esi + 3], al
add byte [esi + 4], dl
cmp dword [ebp + 0x18], 2
jne 0x40d016
cmp byte [ecx], 0x30
jne 0x40d016
push 3
lea eax, [ecx + 1]
push eax
push ecx
call fcn.00405b10
add esp, 0xc
cmp byte [ebp - 4], 0
je 0x40d026
mov eax, dword [ebp - 0x10]
and dword [eax + 0x350], 0xfffffffd
xor eax, eax
jmp 0x40cf1f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004098fb
int3
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x45d32c99
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x4c154819
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..reloc]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x20270bcc
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7e502b45
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10057a5
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1029fe8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push edi
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push ebx
mov dword [ebp - 0x30], eax
call esi
mov edi, eax
shl eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x10057e3
xor eax, eax
jmp 0x1005844
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x10057f5
xor esi, esi
jmp 0x1005839
push eax
push edi
call esi
test edi, edi
jle 0x100582e
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4]
lea eax, [ebp - 0x24]
push eax
push 0x1006
push 0
push esi
call sub.IMM32.dll_ImmEscapeW
test eax, eax
je 0x1005829
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1005830
inc ebx
cmp ebx, edi
jl 0x10057fd
xor esi, esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01023881
leave
ret 4
Function at 0x100605e
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1029fe8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x24], eax
call ebx
mov edi, eax
mov eax, dword [edi + 0x10]
imul eax, eax, 0x4c
push 0x1c
lea esi, [eax + edi + 0x1c]
lea eax, [ebp - 0x20]
push eax
push 1
push dword [edi + 4]
call sub.IMM32.dll_ImmGetCompositionStringW
test eax, eax
jge 0x10060ae
mov dword [esi + 4], 3
jmp 0x1006183
cmp eax, 0x1a
jbe 0x10060b6
push 0x1a
pop eax
shr eax, 1
and word [ebp + eax*2 - 0x20], 0
cmp dword [esi + 0x48], eax
mov dword [ebp - 0x28], eax
jne 0x10060d8
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1006143
push 4
push dword [ebp - 0x24]
call ebx
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test byte [ebp + 0xd], 8
push 0
pop eax
setne al
inc eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x48], eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100611b
push 1
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
sub eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
shl eax, 5
add ebx, eax
push 0
lea eax, [ebx + 0x20]
push eax
push dword [ebp - 0x24]
call esi
push 0
add ebx, 0x30
push ebx
push dword [ebp - 0x24]
call esi
jmp 0x1006183
test byte [ebp + 0xd], 8
je 0x1006183
push 4
push dword [ebp - 0x24]
call ebx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x100615e
mov dword [esi + 4], 2
mov ecx, dword [edi + 0x10]
sub ecx, dword [eax]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
shl ecx, 5
lea esi, [ecx + eax]
push ebx
lea eax, [esi + 0x20]
push eax
push dword [ebp - 0x24]
call edi
push ebx
add esi, 0x30
push esi
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01023881
leave
ret 8
Function at 0x1008b2b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x1029fe8]
push esi
push edi
mov dword [ebp - 4], eax
push 0xef42
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x660], ecx
call fcn.01022733
push 0xef5d
lea eax, [ebp - 0x65c]
push eax
call fcn.01022733
mov esi, 0x104
push esi
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0101d162
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
jne 0x1008bb1
push esi
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 0x1001c1c
lea eax, [ebp - 0x24c]
push eax
call edi
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x24c]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x454]
push eax
call esi
lea eax, [ebp - 0x454]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x1008be0
and word [eax], 0
push ebx
push 0x1001d34
lea eax, [ebp - 0x454]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0x3e8
jb 0x1008bf9
push 0
call sub.GDI32.dll_EnableEUDC
lea eax, [ebp - 0x24c]
push eax
call fcn.0100a2e4
xor edi, edi
inc edi
test eax, eax
pop ebx
je 0x1008c52
lea eax, [ebp - 0x454]
push eax
call fcn.0102348e
test eax, eax
je 0x1008c52
mov ecx, dword [ebp - 0x660]
push 0xffffffffffffffff
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.010087af
test eax, eax
jne 0x1008c52
xor esi, esi
jmp 0x1008c95
lea eax, [ebp - 0x44]
push eax
push 0x102a0c0
mov dword [0x102a51c], edi
call esi
lea eax, [ebp - 0x24c]
push eax
push 0x102a100
call esi
lea eax, [ebp - 0x65c]
push eax
push 0x102a308
call esi
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0101d2a0
test eax, eax
je 0x1008c4e
mov esi, edi
push edi
call sub.GDI32.dll_EnableEUDC
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.01023881
leave
ret
Function at 0x100a122
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.01009d42
push esi
push 0x80
push 2
push esi
push 7
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x100a290
call fcn.01009f47
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 8]
push eax
push 0x66
push str.Windows_EUDC_Editor_Bitmap_File__Uni_Code_
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a287
cmp dword [ebp - 8], 0x66
jne 0x100a287
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.01009fbf
test eax, eax
jne 0x100a278
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a278
cmp dword [ebp - 8], ebx
jne 0x100a278
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp + 8]
lea ebx, [ebp - 4]
call fcn.0100a01f
test eax, eax
jne 0x100a278
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a278
cmp dword [ebp - 8], ebx
jne 0x100a278
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
call fcn.0100a089
test eax, eax
jne 0x100a278
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a278
cmp dword [ebp - 8], ebx
jne 0x100a278
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea esi, [ebp + 8]
lea ebx, [ebp - 4]
call fcn.0100a0d1
mov esi, dword [ebp + 8]
push 0
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a276
cmp dword [ebp - 8], esi
jne 0x100a276
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100a293
xor esi, esi
cmp dword [ebp - 4], esi
je 0x100a287
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100fd10
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1029fe8]
push esi
push 0
lea ecx, [ebp - 0x108]
push ecx
mov esi, 0x100
push esi
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ff21
cmp dword [ebp - 0x108], esi
jne 0x100ff21
push edi
xor eax, eax
push 0x40
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov ah, byte [ebp - 0x103]
lea ecx, [ebp - 0xf8]
mov al, byte [ebp - 0x104]
mov word [ebx], ax
mov eax, dword [ebp - 0x102]
mov dword [ebx + 2], eax
mov eax, dword [ebp - 0xfe]
mov dword [ebx + 6], eax
mov al, byte [ebp - 0xfa]
mov byte [ebx + 0xa], al
mov al, byte [ebp - 0xf9]
mov byte [ebx + 0xb], al
call fcn.0100fcf5
movzx cx, byte [ebp - 0xf4]
mov dword [ebx + 0xc], eax
xor eax, eax
mov ah, byte [ebp - 0xf3]
or eax, ecx
movzx cx, byte [ebp - 0xf2]
mov word [ebx + 0x10], ax
xor eax, eax
mov ah, byte [ebp - 0xf1]
or eax, ecx
lea ecx, [ebp - 0xf0]
mov word [ebx + 0x12], ax
call fcn.0100fcf5
movzx cx, byte [ebp - 0xeb]
mov dword [ebx + 0x14], eax
mov al, byte [ebp - 0xec]
mov byte [ebx + 0x18], al
xor eax, eax
mov ah, byte [ebp - 0xea]
lea edi, [ebx + 0x46]
lea esi, [ebp - 0xbe]
movsd dword es:[edi], dword [esi]
or eax, ecx
movzx cx, byte [ebp - 0xc4]
mov word [ebx + 0x19], ax
xor eax, eax
mov ah, byte [ebp - 0xc3]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or eax, ecx
movzx cx, byte [ebp - 0xc2]
mov word [ebx + 0x40], ax
xor eax, eax
mov ah, byte [ebp - 0xc1]
or eax, ecx
mov word [ebx + 0x42], ax
mov al, byte [ebp - 0xc0]
mov byte [ebx + 0x44], al
mov al, byte [ebp - 0xbf]
lea ecx, [ebp - 0xb2]
mov byte [ebx + 0x45], al
call fcn.0100fcf5
movzx cx, byte [ebp - 0xae]
mov dword [ebx + 0x52], eax
xor eax, eax
mov ah, byte [ebp - 0xad]
or eax, ecx
movzx cx, byte [ebp - 0xac]
mov word [ebx + 0x56], ax
xor eax, eax
mov ah, byte [ebp - 0xab]
or eax, ecx
movzx cx, byte [ebp - 0xaa]
mov word [ebx + 0x58], ax
xor eax, eax
mov ah, byte [ebp - 0xa9]
or eax, ecx
movzx cx, byte [ebp - 0xa8]
mov word [ebx + 0x5a], ax
xor eax, eax
mov ah, byte [ebp - 0xa7]
or eax, ecx
movzx cx, byte [ebp - 0xa6]
mov word [ebx + 0x5c], ax
xor eax, eax
mov ah, byte [ebp - 0xa5]
or eax, ecx
movzx cx, byte [ebp - 0xa4]
mov word [ebx + 0x5e], ax
xor eax, eax
mov ah, byte [ebp - 0xa3]
or eax, ecx
movzx cx, byte [ebp - 0xa1]
mov word [ebx + 0x60], ax
mov al, byte [ebp - 0xa2]
mov byte [ebx + 0x62], al
xor eax, eax
mov ah, byte [ebp - 0xa0]
or eax, ecx
mov word [ebx + 0x63], ax
mov al, byte [ebp - 0x9f]
lea ecx, [ebp - 0x9e]
mov byte [ebx + 0x65], al
call fcn.0100fcf5
lea ecx, [ebp - 0x9a]
mov dword [ebx + 0x66], eax
call fcn.0100fcf5
mov dword [ebx + 0x6a], eax
xor eax, eax
pop edi
jmp 0x100ff24
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
call fcn.01023881
leave
ret 4
Function at 0x101006e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0xe000
cmp edi, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
jb 0x10101f4
cmp dword [ebp + 0x10], ebx
jle 0x10101f4
lea eax, [edi - 0xdfff]
mov dword [0x102ac3c], eax
shl eax, 2
push eax
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [0x102ac40], eax
je 0x10101f4
push ebx
push ebx
mov ebx, 0x100
push ebx
push dword [0x102ac34]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, ebx
jne 0x10101c3
mov eax, dword [0x102ac2c]
add eax, 7
push 8
cdq
pop ecx
idiv ecx
mov ebx, eax
imul ebx, dword [0x102ac28]
add ebx, 4
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x10101c3
cmp edi, esi
jb 0x1010122
mov eax, esi
mov ecx, dword [0x102ac40]
or dword [ecx + eax*4 - 0x38000], 0xffffffff
inc esi
movzx eax, si
cmp eax, edi
jbe 0x101010c
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
jle 0x10101a4
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 4]
push dword [0x102ac34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10101c3
cmp dword [ebp - 0x10], ebx
jne 0x10101c3
mov eax, dword [ebp - 4]
xor ecx, ecx
mov ch, byte [eax + 3]
push 2
mov edi, 0x10022a8
mov esi, 0x102ac20
xor edx, edx
mov cl, byte [eax + 2]
mov eax, ecx
pop ecx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1010176
cmp word [0x102ac1c], 0x8001
je 0x101017c
push eax
call fcn.01009eb6
movzx ecx, ax
cmp ecx, dword [ebp + 0xc]
ja 0x1010199
cmp ax, 0xe000
jb 0x1010199
mov eax, dword [0x102ac40]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4 - 0x38000], edx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jl 0x101012c
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp + 0x10]
shl eax, 2
push eax
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x10101f9
mov eax, dword [0x102ac40]
test eax, eax
je 0x10101d4
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0xc], 0
je 0x10101e4
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 4], 0
je 0x10101f4
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
or eax, 0xffffffff
jmp 0x1010227
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], ecx
cmp dword [0x102ac3c], edx
jle 0x1010225
mov eax, dword [0x102ac40]
mov eax, dword [eax + edx*4]
test eax, eax
jle 0x101021c
mov dword [ecx], eax
add ecx, 4
inc edx
cmp edx, dword [0x102ac3c]
jl 0x101020b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10103fb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x102ac2c]
push ebx
push esi
push edi
add eax, 7
cdq
push 8
pop ecx
idiv ecx
push 0
push 0
mov ebx, eax
mov edi, eax
imul edi, dword [0x102ac28]
lea esi, [edi + 4]
imul esi, dword [ebp + 8]
lea eax, [ebx + 1]
cdq
sub eax, edx
add esi, 0x100
sar eax, 1
push esi
push dword [0x102ac34]
shl eax, 1
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
jne 0x1010527
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [0x102ac34]
call esi
test eax, eax
je 0x1010527
cmp dword [ebp + 8], 4
jne 0x1010527
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [ebp + 0x10], eax
jl 0x101048b
mov dword [ebp + 0x10], edi
cmp ebx, dword [ebp - 8]
je 0x1010531
push edi
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x1010527
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push dword [0x102ac34]
call esi
test eax, eax
je 0x101051d
cmp dword [ebp + 8], edi
jne 0x101051d
mov ecx, dword [ebp + 0x10]
mov eax, ecx
cdq
idiv ebx
mov edi, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
mov dword [ebp - 0x10], edi
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test esi, esi
rep stosb byte es:[edi], al
jle 0x1010511
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
add dword [ebp + 0x10], ebx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
add eax, dword [ebp - 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec dword [ebp + 0xc]
rep movsb byte es:[edi], byte [esi]
jne 0x10104f1
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x1010551
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x102ac34]
call esi
test eax, eax
je 0x1010527
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 8], eax
jne 0x1010527
movzx cx, byte [ebp - 0xa]
xor eax, eax
mov ah, byte [ebp - 9]
or eax, ecx
mov ecx, dword [ebp + 0x14]
mov word [ecx], ax
xor eax, eax
jmp 0x101052a

Function at 0x101063c
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x102ae90], 0
je 0x101067b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x3e8
jb 0x1010651
push 0
call sub.GDI32.dll_EnableEUDC
push 0x102ac88
push 0x102ac48
call fcn.0101d2a0
push 1
call sub.GDI32.dll_EnableEUDC
pop edi
pop esi
ret