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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x68]
call fcn.004f93ac
mov esi, eax
mov eax, dword [0x6b0d98]
mov dword [esp], 0x536d6574
push dword [edi + 4]
call dword [eax + pe_nt_image_headers32]
pop ecx
xor ebx, ebx
cmp si, 0xffff
pop ecx
mov dword [ebp - 0xc], eax
je 0x43b150
push esi
call fcn.004f92a1
cmp eax, ebx
pop ecx
jne 0x43b12a
mov eax, 0x6ae2ac
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.0059301d
pop ecx
pop ecx
call fcn.004694e0
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043057e
jmp 0x43b15d
push 0xf9
push eax
call fcn.0042f979
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push dword [edi + 0x68]
call fcn.004f94f8
pop ecx
mov dword [ebp - 0x64], 0x26
pop ecx
mov dword [ebp - 0x60], 0x25
push 2
mov dword [ebp - 0x5c], 0x6e
pop eax
mov dword [ebp - 0x58], 0x6d
mov dword [ebp - 0x54], 0x6f707764
mov dword [ebp - 0x50], 1
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], bx
mov dword [ebp - 0x48], 0x73707764
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], bx
mov word [ebp - 0x3e], bx
mov dword [ebp - 0x3c], 0x70726e74
mov dword [ebp - 0x38], 4
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], bx
mov dword [ebp - 0x30], 0x63686e67
mov dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], bx
mov dword [ebp - 0x24], 0x73656c20
mov dword [ebp - 0x20], 0x10
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], bx
mov dword [ebp - 0x18], 0x616e6f74
mov dword [ebp - 0x14], 0x20
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], bx
lea esi, [ebp - 0x50]
mov dword [ebp - 4], 6
push dword [esi - 4]
mov eax, dword [0x6b0d98]
push dword [edi + 4]
call dword [eax + pe_nt_image_headers32]
cmp word [esi + 6], bx
pop ecx
pop ecx
jne 0x43b239
mov ecx, dword [ebp - 8]
test dword [esi], ecx
je 0x43b239
push 1
pop ecx
jmp 0x43b23b
xor ecx, ecx
movsx edx, word [esi + 4]
add edx, ecx
push dword [ebp + edx*4 - 0x64]
push eax
call fcn.0042f979
pop ecx
add esi, 0xc
dec dword [ebp - 4]
pop ecx
jne 0x43b214
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d0f3
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push str.ColorDrop
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov esi, eax
test esi, esi
je 0x43d1f4
cmp word [esi + 0x20], 0xffff
push 0x10
pop edi
jne 0x43d135
mov ecx, dword [esi + 0x1c]
xor eax, eax
movsx edx, ax
cmp dword [edx*4 + 0x672310], ecx
je 0x43d131
inc eax
cmp ax, di
jl 0x43d11f
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x14]
cmp eax, 0x25
ja 0x43d1e9
je 0x43d1b3
cmp eax, 8
jb 0x43d1f4
cmp eax, 9
jbe 0x43d17f
cmp eax, 0xd
je 0x43d17f
cmp eax, 0x1b
jne 0x43d1f4
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x28]
push dword [esi + 0x1c]
push 0
push dword [esi + 4]
call dword [esi + 0x24]
add esp, 0x10
jmp 0x43d27d
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ax, word [esi + 0x20]
cmp ax, di
jne 0x43d19c
push ebx
call fcn.0043d2dd
jmp 0x43d27c
push dword [esi + 0x28]
cmp ax, 0xffff
je 0x43d16c
movsx eax, ax
push dword [eax*4 + 0x672310]
push 1
jmp 0x43d171
mov ax, word [esi + 0x20]
cmp ax, di
jge 0x43d27d
push eax
push esi
call fcn.0043d4f3
pop ecx
pop ecx
mov cx, word [esi + 0x20]
push 4
movsx eax, cx
cdq
pop edi
idiv edi
test edx, edx
jne 0x43d1df
add ecx, 3
jmp 0x43d1e0
dec ecx
mov word [esi + 0x20], cx
jmp 0x43d270
sub eax, 0x26
je 0x43d253
dec eax
je 0x43d227
dec eax
je 0x43d1fc
push 1
pop eax
jmp 0x43d27f
mov ax, word [esi + 0x20]
push eax
push esi
call fcn.0043d4f3
mov ax, word [esi + 0x20]
pop ecx
cmp ax, di
pop ecx
jne 0x43d219
and word [esi + 0x20], 0
jmp 0x43d270
add eax, 4
cmp ax, di
mov word [esi + 0x20], ax
jle 0x43d270
jmp 0x43d26c
mov ax, word [esi + 0x20]
cmp ax, di
jge 0x43d27d
push eax
push esi
call fcn.0043d4f3
pop ecx
pop ecx
mov cx, word [esi + 0x20]
push 4
movsx eax, cx
inc eax
pop edi
cdq
idiv edi
test edx, edx
jne 0x43d250
add ecx, 0xfffffffd
jmp 0x43d1e0
inc ecx
jmp 0x43d1e0
mov ax, word [esi + 0x20]
push eax
push esi
call fcn.0043d4f3
add word [esi + 0x20], 0xfffc
cmp word [esi + 0x20], 0
pop ecx
pop ecx
jge 0x43d270
mov word [esi + 0x20], di
mov ax, word [esi + 0x20]
push eax
push esi
call fcn.0043d4f3
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x43d283
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push str.ColorDrop
push edi
call dword [sym.imp.USER32.dll_GetPropA]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ax, word [esi + 0x20]
cmp ax, 0x10
jne 0x43d2b3
push edi
call fcn.0043d2dd
pop ecx
jmp 0x43d2d8
push dword [esi + 0x28]
cmp ax, 0xffff
je 0x43d2ca
movsx eax, ax
push dword [eax*4 + 0x672310]
push 1
jmp 0x43d2cf
push dword [esi + 0x1c]
push 0
push dword [esi + 4]
call dword [esi + 0x24]
add esp, 0x10
pop edi
xor eax, eax
pop esi
ret
Function at 0x43e9e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x61420c
call fcn.0044c164
push ecx
push ecx
mov eax, dword [0x672530]
push esi
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov ecx, dword [0x6adfa0]
push 1
mov byte [ebp - 4], 1
call fcn.00411cc3
push 6
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.005f53d4
push 7
lea ecx, [ebp - 0x10]
call fcn.005f53d4
mov ecx, dword [0x6adfa0]
push esi
call fcn.00411cc3
call fcn.00603e5e
push dword [ebp - 0x10]
mov esi, dword [eax + 0xc]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43ea70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43ea70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x12]
push 1
mov dword [ecx], edx
mov eax, dword [eax + 0x16]
mov dword [ecx + 4], eax
pop esi
jmp 0x43ea83
call fcn.00603e5e
cmp esi, dword [eax + 0xc]
je 0x43ea81
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.005f05bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43f316
Capabilities:
Check os version

Disassembly:
mov eax, 0x6142de
call fcn.0044c164
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push dword [ebp + 0x1c]
mov esi, ecx
push ebx
mov dword [ebp - 0x14], esi
call fcn.005f4f32
mov eax, dword [0x672530]
mov dword [ebp - 4], ebx
mov dword [esi + 0xb8], eax
lea edi, [esi + 0x5c]
push 0x58
push ebx
push edi
mov byte [ebp - 4], 1
mov dword [esi], 0x626eb8
mov dword [esi + 0x204], ebx
call fcn.0044c9b0
mov eax, dword [ebp + 8]
and byte [esi + 0xbc], bl
add esp, 0xc
mov dword [esi + 0xb4], eax
neg eax
sbb eax, eax
mov dword [esi + 0x200], ebx
add eax, 0x7005
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, 0xff
mov byte [ebp - 4], 2
and eax, ebx
cmp eax, 5
sbb eax, eax
and al, 0xf4
add eax, 0x58
mov dword [edi], eax
call fcn.00593582
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0x593563
push 0x10400
mov byte [ebp - 4], 3
call fcn.0059b438
pop ecx
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x7c], 0x103ff
mov dword [eax], ecx
jmp 0x43f401
mov eax, dword [esi + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], 1
and byte [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x98], eax
lea eax, [esi + 0xbc]
mov dword [esi + 0x80], eax
mov eax, dword [ebp + 0x14]
or eax, 0x800020
mov dword [esi + 0x84], 0x3f
or dword [esi + 0x90], eax
call edi
and eax, ebx
cmp eax, 4
jb 0x43f45c
or byte [esi + 0x92], 8
call fcn.00603e5e
mov eax, dword [eax + 0xc]
mov dword [esi + 0x64], eax
call edi
and eax, ebx
cmp eax, 5
jb 0x43f46c
or byte [esi + 0x92], 0x40
xor ebx, ebx
mov dword [esi + 0xa0], 0x43f247
cmp dword [ebp + 0x10], ebx
mov dword [esi + 0x9c], esi
je 0x43f492
push dword [esi + 0x7c]
push dword [ebp + 0x10]
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x43f4ca
push dword [ebp + 0x18]
lea edi, [esi + 0xb8]
mov ecx, edi
call fcn.005f0744
push ebx
mov ecx, edi
call fcn.005f09eb
push 0x7c
push eax
call fcn.0044d700
pop ecx
cmp eax, ebx
pop ecx
je 0x43f4c5
and byte [eax], 0
push 0x7c
inc eax
jmp 0x43f4b1
mov eax, dword [edi]
mov dword [esi + 0x68], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
Function at 0x43fdd6
Capabilities:
Check os version

Disassembly:
mov eax, 0x6143d3
call fcn.0044c164
sub esp, 0x320
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.005f0330
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 5
jb 0x43ff0a
cmp dword [ebp + 0xc], ebx
je 0x43ff0a
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x43ff0a
lea ecx, [ebp + 0x14]
call fcn.0060f4d1
mov edi, eax
cmp edi, ebx
je 0x43ff0a
push edi
call fcn.0043f19a
cmp eax, ebx
pop ecx
je 0x43ff03
push 0x103
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.0044ebdf
lea eax, [ebp - 0x32c]
mov word [ebp - 0x126], bx
push eax
call fcn.0043f1ea
add esp, 0x10
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], ebx
push ebx
push ecx
lea ecx, [ebp - 0x32c]
push ebx
push ecx
push ebx
push ebx
push esi
call dword [eax + 0xc]
cmp dword [ebp + 0x10], ebx
je 0x43ff03
mov eax, dword [esi]
lea ecx, [ebp - 0x124]
push ecx
push 0xa000
push dword [ebp + 0x10]
push esi
call dword [eax + 0x2c]
test eax, eax
jl 0x43fef7
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x124]
push dword [ebp + 0x10]
push eax
call fcn.0043f019
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x43fef7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.005f067b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.005f06f4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005f05bb
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.005f0330
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005f05bb
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44d414
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44d434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00451bb4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x44d455
test byte [esp + 8], 2
je 0x44d455
mov dword [0x6b04cc], 0xd
mov dword [0x6b04d0], 5
jmp 0x44d430
xor eax, eax
ret
Function at 0x45be20
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.0044ebb0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45beeb
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 0x45beeb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45be9e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45bea9
or bh, 8
and edi, 0x8000000
je 0x45bec4
mov eax, dword [0x6b651c]
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 0x45beeb
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 0x45c2c0
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 0x45c2eb
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 0x45c30f
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 0x45c32a
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 0x4949d9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x617ba8
call fcn.0044c164
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 0x494a0a
cmp dword [ebp + 0xc], esi
jne 0x494a0a
push 0x4a
call fcn.0045c4e1
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], esi
call fcn.00593582
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], 0x593563
push 0x58
push 1
mov byte [ebp - 4], 1
call fcn.0059b47d
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 0x49a457
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.0049a54a
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 [0x62efb0]
fadd qword [0x6250c0]
call fcn.0044d7bc
push 1
pop edi
cmp eax, edi
jl 0x49a498
mov edi, eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.0059bbcd
fstp dword [ebp - 0xc]
pop ecx
call fcn.0059d186
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x49a546
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 0x49a4e6
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 0x49a4fb
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.0049a57f
add esp, 0xc
inc dword [ebp + 0x10]
fild dword [ebp + 0x10]
dec dword [ebp - 4]
fmul dword [ebp - 0xc]
fmul qword [0x62efa8]
fdiv qword [ebp - 0x18]
call fcn.0044d7bc
mov esi, dword [ebp - 0x10]
sub esi, eax
call fcn.0059d186
cmp eax, esi
jbe 0x49a537
cmp dword [ebp + 0x10], edi
jl 0x49a4c5
pop esi
pop edi
pop ebx
leave
ret

Function at 0x49a720
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.0049a54a
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 [0x62efb0]
fadd qword [0x6250c0]
call fcn.0044d7bc
push 1
pop edi
cmp eax, edi
jl 0x49a761
mov edi, eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.0059bbcd
fstp dword [ebp - 0xc]
pop ecx
call fcn.0059d186
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x49a80f
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 0x49a7af
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 0x49a7c4
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.0049a57f
add esp, 0xc
inc dword [ebp + 0x10]
fild dword [ebp + 0x10]
dec dword [ebp - 4]
fmul dword [ebp - 0xc]
fmul qword [0x62efa8]
fdiv qword [ebp - 0x18]
call fcn.0044d7bc
mov esi, dword [ebp - 0x10]
sub esi, eax
call fcn.0059d186
cmp eax, esi
jbe 0x49a800
cmp dword [ebp + 0x10], edi
jl 0x49a78e
pop esi
pop edi
pop ebx
leave
ret
Function at 0x49ac0c
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.0049a54a
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 [0x627408]
fadd qword [0x6250c0]
call fcn.0044d7bc
push 1
pop esi
cmp eax, esi
mov dword [ebp - 4], esi
jl 0x49ac55
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul dword [0x62efb0]
fadd qword [0x6250c0]
call fcn.0044d7bc
cmp eax, esi
mov edi, esi
jl 0x49ac71
mov edi, eax
push dword [ebp + 0x10]
add dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
call fcn.0059bbcd
fstp dword [ebp - 0x14]
pop ecx
call fcn.0059d186
xor ebx, ebx
mov dword [ebp - 0x18], eax
test edi, edi
jle 0x49ad78
fild dword [ebp - 0xc]
mov esi, edi
fstp qword [ebp - 0x20]
jmp 0x49aca2
mov esi, dword [ebp + 0x10]
cmp word [ebp + 0x14], 0
mov ecx, dword [ebp - 4]
je 0x49acc2
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 0x49acd6
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.0049a57f
mov ecx, dword [ebp - 0x10]
add esp, 0xc
cmp word [ebp + 0x14], 0
je 0x49ad14
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 0x49ad28
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.0049a57f
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 [0x62efa8]
fdiv qword [ebp - 0x20]
call fcn.0044d7bc
mov esi, dword [ebp - 0x18]
sub esi, eax
call fcn.0059d186
cmp eax, esi
jbe 0x49ad67
cmp ebx, edi
jl 0x49ac9f
pop edi
pop esi
pop ebx
leave
ret