joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d624
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44d644
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00451dd4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x44d665
test byte [esp + 8], 2
je 0x44d665
mov dword [0x6b799c], 0xd
mov dword [0x6b79a0], 5
jmp 0x44d640
xor eax, eax
ret

Function at 0x4555e2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x67d368
cmp edx, dword [eax]
je 0x455604
add eax, 8
inc ecx
cmp eax, 0x67d3f8
jl 0x4555f5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x67d368]
jne 0x455732
mov eax, dword [0x6b79f4]
cmp eax, 1
je 0x45570c
test eax, eax
jne 0x455635
cmp dword [0x67ad04], 1
je 0x45570c
cmp edx, 0xfc
je 0x455732
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45566c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0044bec0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044c440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4556af
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044c440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6326d0
push edi
call fcn.0044eba0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0044bec0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0044bed0
lea eax, [ebp - 0xa0]
push 0x6326b0
push eax
call fcn.0044bed0
push dword [esi + 0x67d36c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0044bed0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00457350
add esp, 0x2c
pop edi
jmp 0x455732
lea eax, [ebp + 8]
lea esi, [esi + 0x67d36c]
push 0
push eax
push dword [esi]
call fcn.0044c440
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x45c040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0044edc0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45c10b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x45c10b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45c0be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45c0c9
or bh, 8
and edi, 0x8000000
je 0x45c0e4
mov eax, dword [0x6bdabc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x45c10b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c4e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x45c50b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x45c52f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x45c54a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x48761e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x78]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0xdc]
push eax
call fcn.005a00cb
xor ebx, ebx
add esp, 0xc
cmp word [ebp + 0x24], bx
je 0x4876b9
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x18]
push eax
call fcn.005a00cb
add esp, 0xc
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x18]
push eax
call fcn.005a00cb
xor eax, eax
add esp, 0xc
cmp ebx, eax
je 0x48768a
cmp dword [ebp + 0x1c], eax
jle 0x48768a
xor byte [ebp + eax - 0x14], bl
inc eax
cmp eax, dword [ebp + 0x1c]
jl 0x487680
push dword [ebp + 0x20]
lea eax, [ebp - 0x14]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0xc]
push esi
call fcn.004e0b56
mov eax, esi
add esp, 0x1c
mov esi, edi
mov edi, eax
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, 0x14
mov dword [ebp + 0xc], eax
jl 0x487663
jmp 0x48770d
push 0x13
pop ebx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x18]
push eax
call fcn.005a00cb
xor eax, eax
add esp, 0xc
cmp ebx, eax
je 0x4876e3
cmp dword [ebp + 0x1c], eax
jle 0x4876e3
xor byte [ebp + eax - 0x14], bl
inc eax
cmp eax, dword [ebp + 0x1c]
jl 0x4876d9
push dword [ebp + 0x20]
lea eax, [ebp - 0x14]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0xc]
push esi
call fcn.004e0bc3
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 0x1c
dec ebx
mov dword [ebp + 0xc], eax
jns 0x4876bc
push eax
push esi
push dword [ebp + 0x10]
call fcn.005a00cb
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
pop edi
pop esi
pop ebx
je 0x487729
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
leave
ret
Function at 0x49505b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x61d0b4
call fcn.0044c384
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov di, word [ebp + 0x14]
cmp di, si
jne 0x49508c
cmp dword [ebp + 0xc], esi
jne 0x49508c
push 0x4a
call fcn.0045c701
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], esi
call fcn.005989f0
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 0x24], 0x5989d1
push 0x58
push 1
mov byte [ebp - 4], 1
call fcn.005a0894
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x38], esi
mov eax, dword [ebp - 0x14]
mov cx, word [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
mov cx, word [ebp + 0x10]
mov word [eax + 0xc], cx
mov eax, dword [ebp - 0x14]
mov word [eax + 0xe], di
mov eax, dword [ebp - 0x14]
mov word [eax + 0x14], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3c], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], esi
mov eax, dword [ebp - 0x14]
or word [eax + 0x40], 0xffff
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x44], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x48], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x49ab0a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 0x28]
push edi
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], eax
sub eax, ebx
mov dword [ebp - 4], eax
pop ecx
fild dword [ebp - 4]
pop ecx
fmul dword [0x634fd0]
fadd qword [0x62b0e0]
call fcn.0044d9cc
push 1
pop edi
cmp eax, edi
jl 0x49ab4b
mov edi, eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.005a0fe4
fstp dword [ebp - 0xc]
pop ecx
call fcn.005a259d
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x49abf9
fild dword [ebp - 4]
push esi
mov dword [ebp - 4], edi
fstp qword [ebp - 0x18]
cmp word [ebp + 0x14], 0
mov ecx, dword [ebp - 8]
je 0x49ab99
mov esi, dword [ebp + 0x10]
sub ecx, ebx
mov eax, ecx
imul eax, esi
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
jmp 0x49abae
mov esi, dword [ebp - 4]
sub ecx, ebx
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x28], eax
mov eax, esi
imul eax, ecx
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
add esp, 0xc
inc dword [ebp + 0x10]
fild dword [ebp + 0x10]
dec dword [ebp - 4]
fmul dword [ebp - 0xc]
fmul qword [0x634fc8]
fdiv qword [ebp - 0x18]
call fcn.0044d9cc
mov esi, dword [ebp - 0x10]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49abea
cmp dword [ebp + 0x10], edi
jl 0x49ab78
pop esi
pop edi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 0x28]
push edi
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
sub eax, ebx
mov dword [ebp - 4], eax
pop ecx
fild dword [ebp - 4]
pop ecx
fmul dword [0x634fd0]
fadd qword [0x62b0e0]
call fcn.0044d9cc
push 1
pop edi
cmp eax, edi
jl 0x49ae14
mov edi, eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.005a0fe4
fstp dword [ebp - 0xc]
pop ecx
call fcn.005a259d
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x49aec2
fild dword [ebp - 4]
push esi
mov dword [ebp - 4], edi
fstp qword [ebp - 0x18]
cmp word [ebp + 0x14], 0
mov ecx, dword [ebp - 8]
je 0x49ae62
mov esi, dword [ebp + 0x10]
sub ecx, ebx
mov eax, ecx
imul eax, esi
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x24], eax
lea eax, [esi + 1]
jmp 0x49ae77
mov esi, dword [ebp - 4]
sub ecx, ebx
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x24], eax
mov eax, esi
imul eax, ecx
cdq
idiv edi
add eax, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
add esp, 0xc
inc dword [ebp + 0x10]
fild dword [ebp + 0x10]
dec dword [ebp - 4]
fmul dword [ebp - 0xc]
fmul qword [0x634fc8]
fdiv qword [ebp - 0x18]
call fcn.0044d9cc
mov esi, dword [ebp - 0x10]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49aeb3
cmp dword [ebp + 0x10], edi
jl 0x49ae41
pop esi
pop edi
pop ebx
leave
ret
Function at 0x49b2bf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
sub eax, ebx
mov dword [ebp - 0xc], eax
pop ecx
fild dword [ebp - 0xc]
pop ecx
mov dword [ebp - 8], ebx
fmul dword [0x62d428]
fadd qword [0x62b0e0]
call fcn.0044d9cc
push 1
pop esi
cmp eax, esi
mov dword [ebp - 4], esi
jl 0x49b308
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul dword [0x634fd0]
fadd qword [0x62b0e0]
call fcn.0044d9cc
cmp eax, esi
mov edi, esi
jl 0x49b324
mov edi, eax
push dword [ebp + 0x10]
add dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
call fcn.005a0fe4
fstp dword [ebp - 0x14]
pop ecx
call fcn.005a259d
xor ebx, ebx
mov dword [ebp - 0x18], eax
test edi, edi
jle 0x49b42b
fild dword [ebp - 0xc]
mov esi, edi
fstp qword [ebp - 0x20]
jmp 0x49b355
mov esi, dword [ebp + 0x10]
cmp word [ebp + 0x14], 0
mov ecx, dword [ebp - 4]
je 0x49b375
sub ecx, dword [ebp - 8]
mov eax, ecx
imul eax, ebx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 1]
jmp 0x49b389
sub ecx, dword [ebp - 8]
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, esi
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
mov ecx, dword [ebp - 0x10]
add esp, 0xc
cmp word [ebp + 0x14], 0
je 0x49b3c7
sub ecx, dword [ebp - 4]
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, esi
jmp 0x49b3db
sub ecx, dword [ebp - 4]
mov eax, ecx
imul eax, ebx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
add esp, 0xc
inc ebx
mov dword [ebp - 0xc], ebx
dec esi
fild dword [ebp - 0xc]
mov dword [ebp + 0x10], esi
fmul dword [ebp - 0x14]
fmul qword [0x634fc8]
fdiv qword [ebp - 0x20]
call fcn.0044d9cc
mov esi, dword [ebp - 0x18]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49b41a
cmp ebx, edi
jl 0x49b352
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49b430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
sub eax, ebx
mov dword [ebp - 0xc], eax
pop ecx
fild dword [ebp - 0xc]
pop ecx
mov dword [ebp - 8], ebx
fmul dword [0x62d428]
fadd qword [0x62b0e0]
call fcn.0044d9cc
push 1
pop esi
cmp eax, esi
mov dword [ebp - 4], esi
jl 0x49b479
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul dword [0x634fd0]
fadd qword [0x62b0e0]
call fcn.0044d9cc
cmp eax, esi
mov edi, esi
jl 0x49b495
mov edi, eax
push dword [ebp + 0x10]
add dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
call fcn.005a0fe4
fstp dword [ebp - 0x14]
pop ecx
call fcn.005a259d
xor ebx, ebx
mov dword [ebp - 0x18], eax
test edi, edi
jle 0x49b59c
fild dword [ebp - 0xc]
mov esi, edi
fstp qword [ebp - 0x20]
jmp 0x49b4c6
mov esi, dword [ebp + 0x10]
cmp word [ebp + 0x14], 0
mov ecx, dword [ebp - 4]
je 0x49b4e6
sub ecx, dword [ebp - 8]
mov eax, ecx
imul eax, ebx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
lea eax, [ebx + 1]
jmp 0x49b4fa
sub ecx, dword [ebp - 8]
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, esi
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
mov ecx, dword [ebp - 0x10]
add esp, 0xc
cmp word [ebp + 0x14], 0
je 0x49b538
sub ecx, dword [ebp - 4]
lea eax, [esi - 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov eax, esi
jmp 0x49b54c
sub ecx, dword [ebp - 4]
mov eax, ecx
imul eax, ebx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebx + 1]
imul eax, ecx
cdq
idiv edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
add esp, 0xc
inc ebx
mov dword [ebp - 0xc], ebx
dec esi
fild dword [ebp - 0xc]
mov dword [ebp + 0x10], esi
fmul dword [ebp - 0x14]
fmul qword [0x634fc8]
fdiv qword [ebp - 0x20]
call fcn.0044d9cc
mov esi, dword [ebp - 0x18]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49b58b
cmp ebx, edi
jl 0x49b4c3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49c2b9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x18]
imul ebx, dword [ebp + 0x1c]
mov dword [ebp - 8], ebx
push esi
fild dword [ebp - 8]
push edi
fmul qword [ebp + 0x20]
call fcn.0044d9cc
push 1
pop ecx
cmp ebx, ecx
jle 0x49c2e4
shl ecx, 1
cmp ecx, ebx
jl 0x49c2de
dec ecx
test eax, eax
mov dword [ebp + 0x24], ecx
jle 0x49c342
mov dword [ebp - 4], eax
call fcn.005a116d
movsx eax, ax
and eax, dword [ebp + 0x24]
cmp eax, ebx
jl 0x49c302
sar eax, 1
jmp 0x49c2fa
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx + eax*8]
lea esi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x10], eax
call fcn.005a116d
movsx eax, ax
and eax, dword [ebp + 0x24]
cmp eax, ebx
jl 0x49c325
sar eax, 1
jmp 0x49c31d
mov ecx, dword [ebp + 0x14]
dec dword [ebp - 4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [eax + 4], ecx
jne 0x49c2ef
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call fcn.0049abfd
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov edi, dword [ebp + 0x14]
call fcn.005a259d
push dword [ebp + 0x10]
mov dword [ebp + 0x24], eax
call fcn.005a0fe4
and dword [ebp + 0x14], 0
add esp, 0x14
fstp qword [ebp - 0x14]
test ebx, ebx
jle 0x49c417
fild dword [ebp - 8]
fstp qword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [edi]
sub esi, dword [ebp - 0x24]
mov eax, ecx
imul eax, esi
cdq
idiv dword [ebp + 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 1]
imul eax, esi
cdq
idiv dword [ebp + 0x18]
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
sub esi, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, ecx
imul eax, esi
cdq
idiv dword [ebp + 0x1c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 1]
imul eax, esi
cdq
idiv dword [ebp + 0x1c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
add esp, 0xc
inc dword [ebp + 0x14]
fild dword [ebp + 0x14]
fmul qword [ebp - 0x14]
fmul qword [0x634fc8]
fdiv qword [ebp - 0xc]
call fcn.0044d9cc
mov esi, dword [ebp + 0x24]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49c402
add edi, 8
cmp dword [ebp + 0x14], ebx
jl 0x49c385
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c12e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x25
call fcn.0045d9d1
pop ecx
mov esi, dword [ebp + 8]
mov ecx, eax
and ecx, 7
mov dword [ebp - 8], ecx
mov ecx, eax
shr ecx, 3
shr eax, 7
and ecx, 0xf
and eax, 0xf
cmp word [esi + 0x104], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
je 0x4c1485
cmp dword [esi + 0xdc], 0xffffffff
je 0x4c1485
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.0049f091
push esi
call fcn.00476cb7
add esp, 0xc
cmp dword [esi + 0x100], eax
jne 0x4c1485
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00476cda
mov ax, word [esi + 0xfc]
pop ecx
pop ecx
mov word [ebp - 0x3e], ax
mov cx, word [esi + 0xfe]
lea edx, [eax + 6]
cmp dx, word [ebp - 0x20]
mov word [ebp - 0x40], dx
lea edi, [ecx + 6]
lea ebx, [ecx + 0xc]
mov word [ebp - 0x34], di
mov word [ebp - 0x32], bx
mov word [ebp - 0x3c], ax
mov word [ebp - 0x30], cx
mov word [ebp - 0x3a], dx
mov word [ebp - 0x2e], di
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], dx
mov word [ebp - 0x12], bx
jl 0x4c1485
cmp ax, word [ebp - 0x1c]
jg 0x4c1485
cmp cx, word [ebp - 0x1a]
jg 0x4c1485
cmp bx, word [ebp - 0x1e]
jl 0x4c1485
call fcn.004a314e
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x4c147d
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 1
jne 0x4c13f9
push 1
lea eax, [ebp - 0x34]
push 4
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.00475336
add esp, 0x14
jmp 0x4c1461
cmp dword [ebp - 4], 2
jne 0x4c1461
mov ax, word [esi + 0xfe]
mov cx, word [esi + 0xfc]
push 1
push 4
lea edi, [eax + 6]
lea ebx, [eax + 0xb]
add eax, 2
lea edx, [ecx + 5]
mov word [ebp - 8], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
inc ecx
push eax
push esi
mov word [ebp - 0x28], dx
mov word [ebp - 0xc], di
mov word [ebp - 0x26], cx
mov word [ebp - 0xa], bx
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], dx
mov word [ebp - 6], di
call fcn.00475336
push 1
lea eax, [ebp - 0xc]
push 4
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00475336
add esp, 0x28
call fcn.005a259d
mov edi, eax
add edi, dword [ebp - 0x10]
call fcn.005a259d
cmp eax, edi
jb 0x4c146b
dec dword [ebp + 8]
jne 0x4c13dc
and word [esi + 0x104], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x515378
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x61fe28
call fcn.0044c384
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.AcroStdBase.0
lea eax, [esi + 0x84]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [eax + 4], edi
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 1
call fcn.0051543d
lea eax, [esi + 0x10]
push 0xe
push eax
mov byte [ebp - 4], 2
mov dword [esi], vtable._t_PDPrintController.0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
call fcn.005a0047
lea eax, [esi + 0x1e]
push 0xe
push eax
call fcn.005a0047
push 1
mov word [esi + 0x2c], di
mov word [esi + 0x2e], di
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov word [esi + 0x4c], di
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call fcn.00578457
mov dword [esi + 0x68], eax
lea eax, [esi + 0x70]
push 0x10
push eax
mov word [esi + 0x6c], di
call fcn.005a0047
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov dword [esi + 0x80], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret