joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401550
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push 0x42c6ac
push 0x42c69c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push ecx
xor bl, bl
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x401589
lea edx, [esp + 8]
push 0
push edx
push 0x24000
push 0x40868c
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4015a7
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x4015c0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x42c6ac
push 0x42c69c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x42c6d8
push 0x42c69c
mov ebx, eax
call esi
push eax
call edi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push esi
call fcn.00401550
add esp, 4
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x401719
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00401eb0
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
jne 0x40164d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov dword [esp + 0x20], esi
mov ecx, ebx
lea eax, [esp + 0x20]
push 0
sub ecx, esi
push eax
lea edx, [esi + ebp]
push ecx
push edx
push edi
call dword [esp + 0x24]
add esi, dword [esp + 0x20]
cmp esi, ebx
jb 0x401651
push 0
push ebx
push 0x42c6c8
push ebp
call fcn.00401010
add esp, 0x10
test eax, eax
je 0x4016bd
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0x18]
push 0x37a
push esi
mov dword [esp + 0x18], 0
call fcn.00401070
add esp, 8
lea eax, [esp + 0x10]
push 0
push eax
push 0x37a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push ebx
push 0x42c6b8
push ebp
call fcn.00401010
add esp, 0x10
test eax, eax
je 0x401712
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
push ebx
call fcn.00401430
push 0x2e0
push ebx
call fcn.00401070
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x2e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x401730
Capabilities:
Set registry value

Disassembly:
sub esp, 0x108
push esi
push edi
push 0x42c740
push 0x42c730
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x10
mov esi, 0x42c6ec
lea edi, [esp + 0x10]
mov edx, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x2f
xor eax, eax
lea edi, [esp + 0x51]
mov dword [esp + 0xc], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 2
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
push 0x80000002
call edx
test eax, eax
je 0x4017b3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 0x114]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 2
push eax
mov eax, dword [esp + 0x18]
push 0x42c6e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret

Function at 0x401800
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x42c6ac
push 0x42c69c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x42c764
push 0x42c754
mov ebp, eax
call esi
push eax
call edi
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push 0
call edx
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x42c68c
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x4018dd
lea ecx, [esp + 0xc]
push 0
push ecx
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x18]
not ecx
dec ecx
mov dword [esp + 0x14], 0
push ecx
push edx
push esi
call ebp
lea eax, [esp + 0xc]
push 0
push eax
push 1
push 0x42c750
push esi
call ebp
mov edx, dword [esp + 0x118]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x108
ret
Function at 0x4018f0
Capabilities:
Create process on windows
Resume thread

Disassembly:
sub esp, 0x360
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x42c7ac
push 0x42c69c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x42c794
push 0x42c69c
mov ebx, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x64]
push 0x104
xor ebp, ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401a81
lea ecx, [esp + 0x64]
push 0x104
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401a81
lea eax, [esp + 0x26c]
push 0x104
push eax
push 0x42c78c
call esi
test eax, eax
je 0x401a81
lea ecx, [esp + 0x168]
push 0x42c780
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x64]
lea eax, [esp + 0x168]
push edx
push eax
call esi
lea ecx, [esp + 0x168]
push 0x42c778
push ecx
call esi
lea edx, [esp + 0x168]
lea eax, [esp + 0x26c]
push edx
push eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
push 0x100
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], 1
mov word [esp + 0x54], bp
call edi
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push 0xc
push 0
push 0
lea ecx, [esp + 0x288]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401a73
mov edx, dword [esp + 0x10]
push 0x40
push edx
call ebx
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff1
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x360
ret
push 0x20
call edi
push eax
call ebx
push 0
call ebp
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x360
ret
Function at 0xc3626d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c3626d
ret
Function at 0x40fe09
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x34]
jmp fcn.00900288
mov word [esp + 2], di
mov bp, di
lea esp, [esp + 2]
mov ebp, dword [esp + 0x30]
jmp 0x40fde6
Function at 0x4190f0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x419112
mov eax, GradientFill
jmp 0x4191f2
mov ebx, dword [0x6f6214]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4191c0
mov ebx, dword [0x6f6214]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x419161
mov ebx, dword [0x6f6214]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x419161
mov eax, 1
jmp 0x419166
mov eax, 0
test eax, eax
je 0x419192
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x41917b
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x6f6214]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4191e8
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4191f2
mov esp, ebp
pop ebp
ret 4

Function at 0x4193cf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x419482
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x419eda
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004193cf
test eax, eax
je 0x419f1d
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x419f1d
cmp word [eax], 0x5a4d
jne 0x419f1d
add eax, dword [eax + 0x3c]
cmp dword [eax], reloc.MSVFW32.dll_DrawDibDraw
jne 0x419f1d
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004194a1
mov eax, dword [ebp + 8]
jmp 0x419f36
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x702be0]
xor edx, edx
cmp eax, edx
jne 0x4d7026
xor eax, eax
mov byte [eax + 0x702ae0], al
inc eax
cmp eax, 0x100
jl 0x4d700e
mov dword [0x702be0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x702ae0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d70b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d708a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d7058
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d7130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d7183
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d716a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ecce0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59f628
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4ecd19
inc eax
mov dword [esi + 0x10], eax
jmp 0x4ece2c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4ecd2d
mov eax, 0xffffffc7
jmp 0x4ece2e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4ecd3e
cmp dword [esi + 8], eax
jne 0x4ecd2d
cmp dword [esi + 8], eax
jne 0x4ecd57
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4ecd57
mov eax, 0xffffffc7
jmp 0x4ece2e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4ecd6b
push eax
mov ecx, ebx
call fcn.004ec510
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004b57a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4ecd9c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004b57c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004ebc80
test eax, eax
mov dword [esp + 0x38], eax
je 0x4ecdcf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.MSVFW32.dll_DrawDibDraw
mov dword [esp + 0x10], 0x6b8e40
call fcn.004b59a0
mov eax, dword [esp + 0x38]
jmp 0x4ece2e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004ecb40
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4ece13
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004ecb60
mov esi, eax
test esi, esi
jne 0x4ece43
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004ecb40
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4ecde5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.MSVFW32.dll_DrawDibDraw
mov dword [esp + 0x10], 0x6b8e40
call fcn.004b59a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.MSVFW32.dll_DrawDibDraw
mov dword [esp + 0x10], 0x6b8e40
call fcn.004b59a0
mov eax, esi
jmp 0x4ece2e
Function at 0x520937
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0a96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.0058aa7b
mov eax, dword [0x6f164c]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x6bd29c
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x520994
push ebx
call fcn.0083de9c
fld qword [eax + 0x50]
call fcn.0058bd1b
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call fcn.0083daa9
mov bl, 0x8b
dec esp
and al, 0x10
mov ecx, dword [esp + 0x10]
or eax, reloc.MSVFW32.dll_DrawDibDraw
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x52bc74
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x52be2d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x52bda6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x52bda6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x52bd8d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x52bd8d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0052cee0
mov ebp, eax
test ebp, ebp
je 0x52bd85
push ebp
mov ecx, esi
call fcn.0052e370
test eax, eax
je 0x52bd85
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x52bd85
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x52bd46
xor eax, eax
jmp 0x52bd4e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0052ed40
inc ebx
xor ebp, ebp
jmp 0x52bcd7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x52bcb0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0052d1f0
test eax, eax
pop ebx
je 0x52be2d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0052cee0
mov edi, eax
cmp edi, ebp
je 0x52be2d
push edi
mov ecx, esi
call fcn.0052e370
test eax, eax
je 0x52be2d
mov eax, 1
lea edx, reloc.MSVFW32.dll_DrawDibDraw
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0052d430
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0052d4a0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0052ed40
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x56fb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0056f6c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0056f740
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0056f740
lea ecx, [esi + 0xc]
call fcn.0058bf65
lea ecx, [esi + 0x10]
call fcn.0058bf65
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00570b40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00570b40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00570b40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0058bfda
lea ecx, [esp + 4]
mov dword [esp + 0x14], reloc.MSVFW32.dll_DrawDibDraw
call fcn.0058bfda
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x766264
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ecx + edx]
mov ch, byte [esp + 5]
mov eax, 0x61b6a61
xchg dword [esp + 6], edx
jmp 0x766241
lea esp, [esp + 3]
lea esp, [esp + 0xc]
sub edi, 0x699181e6
mov dl, byte [esp]
cmp cx, si
jmp 0x76626b
xchg word [esp + 5], ax
jmp 0x766223
jb 0x766283
xchg ch, dl
mov cl, 0xec
jmp 0x766287
xchg ch, dl
mov cl, 0xec
jmp 0x7662bc
ror dx, cl
jg 0x7662e8
stc
jmp 0x7662e9
mov ecx, 0x16b7593d
dec edi
rdtsc
mov al, 0xae
lea ecx, [edi*4]
jmp 0x766289
sub edi, 0x451158c2
lea ecx, [ebx + ebp]
not dx
mov dh, byte [esp]
setne dh
bswap edx
jmp 0x76629f
lea edx, reloc.MSVFW32.dll_DrawDibDraw
xchg al, ch
xchg edx, ecx
stc
jmp 0x7663aa
stc
dec edi
jmp 0x7662d2
rdtsc
inc edi
xchg dh, cl
jmp 0x766367
mov ax, word [esp]
lea eax, [ebx*4]
jmp fcn.0076630a
mov ah, 0xd9
mov cl, dl
add edi, dword [esi]
lea edx, [ecx + esi]
mov cx, word [esp]
jmp 0x766320
je 0x7662ec
rdtsc
jmp 0x7662ee
Function at 0x7668be
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, reloc.MSVFW32.dll_DrawDibDraw
lea eax, reloc.MSVFW32.dll_DrawDibDraw
mov ax, cx
xchg dword [esp + 4], ebp
setle ah
mov ax, 0x6efc
call fcn.00766677
push es
test dword [reloc.MSVFW32.dll_DrawDibDraw], edx
movsb byte es:[edi], byte ss:[esi]
ret
mov eax, dword [esp]
bsr ax, si
bsf eax, edi
bsr eax, esp
lea ebp, reloc.MSVFW32.dll_DrawDibDraw
mov eax, dword [esp]
jmp 0x766691
setne ah
lea eax, [eax*4]
jmp 0x7666f1
stc
jmp 0x7666d8
inc dl
rcl al, 1
jge 0x766724
lea eax, [eax*4]
jmp 0x766743
mov ax, word [esp]
sub ah, 0xf5
mov ax, 0x9055
dec al
xchg ah, al
jmp 0x7667d1
lea eax, [eax*4]
jmp 0x76670e
mov ax, word [esp]
sub ah, 0xf5
mov ax, 0x9055
call fcn.0076677f
add eax, dword [eax - reloc.MSVFW32.dll_DrawDibDraw]
mov ebp, 0x87661f8c
insb byte es:[edi], dx
and al, 4
btc eax, ebp
jmp 0x7666c0
cmc
jmp 0x76684f
inc dl
sbb eax, ebp
jp 0x7667bb
cmc
mov ax, 0x683f
lea eax, reloc.MSVFW32.dll_DrawDibDraw
jmp 0x766859
mov ah, bh
call 0x766803
mov word [esp], sp
mov eax, dword [esp]
neg al
lea esp, [esp + 2]
jmp 0x76685d
mov ax, 0x683f
lea eax, reloc.MSVFW32.dll_DrawDibDraw
dec dl
jmp 0x766819
not dl
dec ax
jmp 0x7668a7
ror eax, cl
mov ah, byte [esp]
mov ah, al
sete ah
cmc
jmp 0x766911
mov ah, al
sete ah
cmc
jmp 0x766911
jnp 0x766867
ror eax, cl
mov ah, byte [esp]
jmp 0x766891
lea eax, [edx + ebp]
lea eax, [eax + edx]
lea eax, [esi*4]
call 0x76675d
inc edi
mov edx, dword [esp]
rdtsc
bsr ax, ax
jo 0x7668eb
cmc
jmp 0x7668f0
mov edx, dword [esp]
jmp 0x7668d0
call 0x76694a
rdtsc
inc ax
not ax
jmp 0x766959
setl ah
mov dl, byte [esp]
jmp 0x7669cb
add bl, dl
btr dx, bp
jl 0x7668e6
mov edx, dword [esp]
jmp 0x7668d0
neg dx
jmp 0x7669a7
jae 0x7668f9
setl ah
mov dl, byte [esp]
jmp 0x7669cb
rol cl, 0
mov dh, byte [esp]
mov ah, byte [esp]
bsf eax, edi
jmp 0x766983
setle dh
jmp 0x7669db
dec cl
bsr eax, ebx
jbe 0x7669b5
setle dh
jmp 0x766a28
mov edx, eax
inc ax
mov dx, word [esp]
pushal
pop word [esp + 5]
lea esp, [esp + 2]
call fcn.00766a84
pop edx
mov eax, ebp
mov ax, 0x4bc0
bsf eax, ebp
jp 0x7666ee
stc
setne ah
lea eax, [eax*4]
jmp 0x7666f1
pushal
jmp 0x7669e4
mov edx, eax
inc ax
mov dx, word [esp]
jmp 0x766a12