joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f9e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
push 0x50
mov dword [0x4fe450], edi
mov byte [0x4fe48d], 2
mov dword [0x4fe460], 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x502c64]
mov ebx, eax
mov dword [0x502c60], 0
test ecx, ecx
je 0x43fa46
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x502c64], 0
push 4
push 0x3000
shl ebx, 4
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x502c60
push 0x447940
push 0
push 0
mov dword [0x502c64], eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004479e0
movzx edx, al
add esp, 0x10
mov byte [0x4fe46c], al
cmp edx, dword [0x502c60]
jl 0x43faad
xorps xmm0, xmm0
movups xmmword [0x4fe470], xmm0
jmp 0x43fad8
mov ecx, dword [0x502c64]
add edx, edx
mov eax, dword [ecx + edx*8]
mov dword [0x4fe470], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [0x4fe474], eax
mov eax, dword [ecx + edx*8 + 8]
mov dword [0x4fe478], eax
mov eax, dword [ecx + edx*8 + 0xc]
mov dword [0x4fe47c], eax
push esi
call fcn.0043fbf0
test al, al
je 0x43fbcc
push esi
sub esp, 0x10
call fcn.0043ff10
test al, al
je 0x43fbcc
push esi
push 0x2d0
push 0x500
push 2
mov ecx, 0x4fe450
call fcn.00440180
test al, al
je 0x43fbcc
mov eax, dword [0x4fe45c]
lea edx, [ebp - 0x10]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edx
movq qword [ebp - 0x10], xmm0
mov ecx, dword [eax]
push 0x1b
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 8], 0xa
jge 0x43fb52
push str.Raytracing_not_supported_on_device_n
mov byte [0x4fe48c], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x43fb59
mov byte [0x4fe48c], 1
movaps xmm0, xmmword [0x4f4530]
mov al, 1
mov dword [0x4fe454], 0x2d00500
movups xmmword [0x4fe554], xmm0
mov dword [0x4fe564], 0
mov dword [0x4fe568], 0x3f800000
mov dword [0x4fe56c], 0
mov dword [0x4fe574], 0x500
mov dword [0x4fe570], 0
mov dword [0x4fe578], 0x2d0
mov dword [0x4fe458], 0x2d00500
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x18
Function at 0x440b20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x20c], eax
mov edx, ecx
xorps xmm0, xmm0
push esi
movss dword [esp + 8], xmm0
push edi
cmp dword [edx + 0x10], 1
movzx esi, word [edx + 4]
movzx edi, word [edx + 6]
mov dword [edx + 0x104], 0
mov dword [edx + 0x108], 0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [edx + 0x114], 0
mov dword [edx + 0x118], 0x3f800000
mov dword [edx + 0x11c], 0
mov dword [edx + 0x124], esi
mov dword [edx + 0x120], 0
movss dword [edx + 0x10c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [edx + 0x128], edi
movss dword [esp + 8], xmm0
movss dword [edx + 0x110], xmm0
je 0x440c89
mov ax, word [0x4fe458]
shr ax, 4
mov cx, ax
shl ax, 3
add cx, ax
movzx eax, word [0x4fe45a]
sub ax, cx
movzx eax, ax
test ax, ax
je 0x440c3f
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, eax
movzx eax, word [edx + 0xa]
xorps xmm2, xmm2
cvtsi2sd xmm0, eax
cvtsi2sd xmm2, edi
divsd xmm1, xmm0
mulsd xmm1, xmm2
movaps xmm0, xmm1
subsd xmm2, xmm1
mulsd xmm0, qword [0x4f3d40]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movss dword [edx + 0x108], xmm0
cvtpd2ps xmm0, xmm2
movss dword [esp + 8], xmm0
movss dword [edx + 0x110], xmm0
push 0x200
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0047ebc0
cvttss2si eax, dword [esp + 0x14]
movd xmm0, esi
push eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x2c]
push str.SetVpScissor:vp__d__d__d__d__n
push eax
call fcn.0044d1b0
add esp, 0x24
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x441360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
push edi
mov eax, dword [edx]
push ebx
push dword [esi + 0x20]
push edx
call dword [eax + 0x38]
test eax, eax
je 0x441396
push str.SIGNAL_FAILED_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x18], 1
adc dword [esi + 0x1c], 0
cmp dword [esi + 0x1c], 0
ja 0x4413aa
cmp dword [esi + 0x18], 0xffffffff
jb 0x4413b8
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp eax, ebx
jne 0x4413c9
cmp edx, edi
je 0x4413f8
mov ecx, dword [esi + 0x20]
push dword [esi + 0x24]
push edi
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x24]
test eax, eax
je 0x4413ed
push str.EVENT_ON_COMPLETION_FAILED_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 8]
push 0
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0xc]
push edi
mov byte [esi + 8], 0
lea edi, [esi + 0xc]
test ecx, ecx
je 0x441535
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
xor eax, eax
mov word [esi + 0x10], ax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x441558
push eax
call fcn.0047d79d
add esp, 4
mov dword [esi + 0x1c], 0
xor eax, eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x441574
push eax
call fcn.0047d79d
add esp, 4
mov dword [esi + 0x24], 0
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [esi + 0x28], eax
xorps xmm0, xmm0
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], eax
mov al, byte [ebp + 0x14]
add al, 0x10
mov byte [ebp + 0x14], al
movzx eax, al
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
test ebx, ebx
jne 0x4415ae
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 1
jmp 0x4415cf
cmp ebx, 1
jne 0x4415bc
mov dword [ebp - 0x18], 2
jmp 0x4415c8
cmp ebx, 2
jne 0x4415cf
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edi
push 0x4f07ec
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
test eax, eax
jns 0x44161d
push str.C12DsHeap::CreateDescriptorHeap_failed_n
push 0x200
push 0x502860
call fcn.00483128
add esp, 0xc
push 0x502860
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], eax
xor eax, eax
mov word [esi + 0x10], ax
mov dword [esi], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x2c], al
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [esi + 4], ebx
mov dword [esi + 0x30], eax
mov al, 1
mov byte [esi + 8], 1
pop esi
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x14
Function at 0x443ea0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x121], 0
je 0x443f32
lea eax, [ebp - 0x98]
push eax
push dword [edi + 0x974]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0
push eax
push dword [edi + 0x974]
mov dword [ebp - 0xa0], 0
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push str.Mouse_SetCursorClip:T__d__d__d__d__n
jmp 0x443f58
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.USER32.dll_ClipCursor]
push dword [edi + 0x130]
push dword [edi + 0x12c]
push dword [edi + 0x128]
push dword [esi]
push str.Mouse_SetCursorClip:F__d__d__d__d__n
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x445df0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x110], eax
mov edx, ecx
mov eax, 0xffff
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
cmp word [edx + 2], ax
je 0x446044
xor eax, eax
xor ebx, ebx
cmp ax, word [edx]
jae 0x446044
nop
mov edi, dword [edx + 4]
movzx eax, bx
imul esi, eax, 0x378
mov dword [esp + 0x14], eax
mov eax, dword [esi + edi + 0x364]
test eax, eax
je 0x44603a
cmp eax, 1
je 0x44603a
movsd xmm0, qword [esi + edi + 0x368]
cmp word [edx + 2], bx
jne 0x445ecc
movsd xmm1, qword [0x4f3de8]
comisd xmm0, xmm1
jae 0x44603a
cmp bx, 1
jne 0x445e89
addsd xmm0, qword [0x4f3d48]
jmp 0x445ea9
movzx eax, word [esi + edi + 0x370]
cmp eax, 0x3c
jae 0x445ea1
inc eax
mov word [esi + edi + 0x370], ax
jmp 0x445eb2
addsd xmm0, qword [0x4f3d30]
movsd qword [esi + edi + 0x368], xmm0
comisd xmm0, xmm1
jbe 0x445ec4
movsd qword [esi + edi + 0x368], xmm1
movaps xmm0, xmm1
xorps xmm2, xmm2
jmp 0x445fb1
cmp bx, 1
jne 0x445edc
subsd xmm0, qword [0x4f3d00]
jmp 0x445ee4
subsd xmm0, qword [0x4f3d10]
movsd xmm1, qword [0x4f3dd0]
xor eax, eax
comisd xmm1, xmm0
mov word [esi + edi + 0x370], ax
movsd qword [esi + edi + 0x368], xmm0
jbe 0x445f16
subsd xmm0, qword [0x4f3d40]
movsd qword [esi + edi + 0x368], xmm0
xorps xmm2, xmm2
comisd xmm2, xmm0
jbe 0x445fa9
movsd qword [esi + edi + 0x368], xmm2
cmp byte [edx + 0xd0], 3
jne 0x445f44
push ecx
lea ecx, [edi + 0x50]
push 0
add ecx, esi
call fcn.004491e0
jmp 0x445f63
mov ecx, dword [esi + edi + 4]
test ecx, ecx
je 0x445f63
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esi + edi + 4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov byte [esi + edi + 0x43], 1
movzx eax, word [esi + edi + 0x360]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esi + edi + 0x364], 0
push str.CS9SS::TickAttach_Stop__d___track:_d__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movsd xmm0, qword [esi + edi + 0x368]
xorps xmm2, xmm2
mov edx, dword [esp + 0x10]
movsd xmm1, qword [0x4f3de8]
mov eax, dword [edx + 8]
xor ecx, ecx
mulsd xmm0, qword [0x4f3cd8]
movzx eax, byte [eax]
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov eax, 9
cmp ecx, eax
cmovb eax, ecx
cmp byte [edx + 0xd0], 3
mulsd xmm0, qword [eax*8 + 0x4f1028]
jne 0x44600b
comisd xmm0, xmm1
ja 0x44603a
comisd xmm2, xmm0
ja 0x44603a
mov ecx, dword [esi + edi + 0x328]
subsd xmm0, xmm1
mulsd xmm0, xmm1
cvttsd2si edx, xmm0
mov dword [esi + edi + 0x34c], edx
jmp 0x44602b
comisd xmm0, xmm1
ja 0x44603a
comisd xmm2, xmm0
ja 0x44603a
mov ecx, dword [esi + edi + 4]
subsd xmm0, xmm1
mulsd xmm0, xmm1
cvttsd2si edx, xmm0
mov dword [esi + edi + 0x20], edx
test ecx, ecx
je 0x446036
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
inc ebx
cmp bx, word [edx]
jb 0x445e30
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x4461a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
test edx, edx
je 0x4461df
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4461b3
sub esi, ecx
je 0x4461df
mov ecx, edi
mov dword [edi + 0x48], 1
sub ecx, edx
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx + 7], al
test al, al
jne 0x4461d0
jmp 0x4461e6
mov dword [edi + 0x48], 0
mov cx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x50], eax
mov al, byte [ebp + 0x20]
movzx esi, cx
mov byte [edi + 0x95], al
push 4
push 0x3000
lea eax, [esi + esi*2]
mov word [edi + 0x4c], cx
shl eax, 2
push eax
push 0
mov byte [edi + 0x54], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi + 4], eax
test eax, eax
jne 0x446239
push str.Sound_Alloc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x1c]
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x54], al
test al, al
jne 0x446240
push 4
lea eax, [esi*8]
sub eax, esi
push 0x3000
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi + 0x98], eax
test eax, eax
jne 0x446286
push str.Sound_State_Alloc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
pop ebp
ret 0x1c
pop edi
mov al, 1
pop esi
pop ebp
ret 0x1c
Function at 0x446c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 8]
push edi
mov al, byte [esi + 0x18]
cmp cl, al
jb 0x446c60
movzx eax, al
push eax
movzx eax, cl
push eax
push str._t_tTextureStage_Over__d__d__n
push 0x502a60
call fcn.0044d1b0
add esp, 0x10
push 0x502a60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
xor edi, edi
cmp ax, word [esi + 0x16]
jae 0x446c9a
nop dword [eax]
movzx eax, di
push ecx
push dword [ebp + 0x10]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0xc]
lea ecx, [eax + ecx*8]
call fcn.00441780
inc edi
movzx ebx, ax
cmp di, word [esi + 0x16]
jb 0x446c70
test bx, bx
jne 0x446ce2
mov eax, dword [esi + 0xc]
mov ecx, 0
movzx edx, byte [eax + 0x2c]
movzx eax, word [eax + 0x10]
sub edx, eax
movzx eax, dx
cmovns ecx, eax
test cx, cx
jne 0x446ce2
push str.stEx12RenderCore::RegistSRV_Slot
push str.__s:Regist_Failed__n
push 0x502a60
call fcn.0044d1b0
add esp, 0xc
push 0x502a60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
movzx ecx, byte [ebp + 8]
movzx eax, byte [ebp + 0xc]
pop edi
lea eax, [eax + ecx*8]
mov ecx, dword [ebp + 0x10]
mov word [esi + eax*2 + 0x1a], bx
mov word [esi + eax*2 + 0x11a], cx
mov al, 1
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x448fa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
lea edi, [ebp - 0xa0]
mov dword [ebp - 0x98], 0
push edi
mov esi, ecx
lea edi, [ebp - 0xa4]
push edi
lea edi, [ebp - 0x90]
mov ebx, 0x1000
push edi
mov edx, dword [esi + 0x300]
lea edi, [ebp - 0x94]
mov eax, dword [esi + 0x2d8]
push edi
shr edx, 1
push edx
imul edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x449169
mov edx, dword [ebp - 0x90]
xor edi, edi
test edx, edx
je 0x44914a
nop word [eax + eax]
sub edx, edi
cmp byte [esi + 0x306], 0
jne 0x449130
cmp edx, 0x1000
lea eax, [ebp - 0x98]
mov ecx, esi
cmovb ebx, edx
mov edx, dword [ebp - 0x94]
sub esp, 8
mov dword [ebp - 0x9c], ebx
lea edx, [edx + edi]
push eax
sub esp, 0xc
push ebx
call fcn.0044cd10
add esp, 0x1c
mov ebx, eax
cmp dword [esi + 0x2e4], 0
je 0x4490e0
mov ecx, dword [esi + 0x58]
cmp ecx, 2
jge 0x44907c
mov edx, 0xffffff7d
or eax, 0xffffffff
jmp 0x449082
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
test eax, eax
jl 0x4490e0
jg 0x449090
cmp edx, dword [esi + 0x2e4]
jb 0x4490e0
cmp ecx, 2
jge 0x44909f
mov eax, 0xffffff7d
or ecx, 0xffffffff
jmp 0x4490a5
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
push ecx
push eax
push dword [esi + 0x2e4]
lea eax, [ebp - 0x8c]
push str._togg_loop___loopEnd:_d___tell_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push dword [esi + 0x2e0]
push esi
call fcn.0044c630
add esp, 0xc
test ebx, ebx
jne 0x449107
cmp byte [esi + 0x305], bl
je 0x44911e
push ebx
push dword [esi + 0x2e0]
push esi
call fcn.0044c630
add esp, 0xc
push str._t_togg_loop_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x90]
add edi, ebx
cmp edi, edx
jae 0x44914a
mov ebx, dword [ebp - 0x9c]
jmp 0x449020
mov eax, dword [ebp - 0x90]
sub eax, edi
mov byte [esi + 0x306], 1
push eax
jmp 0x449131
push edx
mov eax, dword [ebp - 0x94]
add eax, edi
push 0
push eax
call fcn.0047ebc0
mov edx, dword [ebp - 0x90]
add esp, 0xc
push dword [ebp - 0xa0]
mov eax, dword [esi + 0x2d8]
push dword [ebp - 0xa4]
push edx
push dword [ebp - 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret 4
Function at 0x4491e0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3c
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2d8]
test ecx, ecx
je 0x44934b
mov al, byte [ebp + 8]
test al, al
jne 0x44928d
push str.ogg_stop_call_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x2d8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi + 0x2d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [esi + 0x2d8]
lea edx, [esp + 0x38]
push 0
push 0
push 0
push edx
lea edx, [esp + 0x4c]
mov byte [esi + 0x306], 1
mov ecx, dword [eax]
push edx
push dword [esi + 0x300]
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x44934b
push dword [esp + 0x38]
push eax
push dword [esp + 0x44]
call fcn.0047ebc0
mov eax, dword [esi + 0x2d8]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push dword [esp + 0x40]
push dword [esp + 0x48]
push eax
call dword [ecx + 0x4c]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp al, 2
je 0x4492b1
mov byte [esi + 0x305], 0
mov dword [esi + 0x2e0], 0
mov dword [esi + 0x2e4], 0
jmp 0x449332
mov eax, dword [esi + 0x2d0]
mov dword [esi + 0x2e0], eax
mov eax, dword [esi + 0x2d4]
mov word [esi + 0x305], 0x101
mov dword [esi + 0x2e4], eax
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x34]
mov eax, dword [esi + 0x2d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
push 0xffffffffffffffff
push dword [esi + 0x2f4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov byte [esi + 0x306], 0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push esi
call fcn.0044cb70
add esp, 0xc
lea eax, [esi + 0x2f8]
push eax
push 0
push esi
push 0x4491d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2f4], eax
test eax, eax
je 0x44934b
mov eax, dword [esi + 0x2d8]
push 1
push 0
mov byte [esi + 0x306], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x30]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x449360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
cmp dword [ecx + 4], 0
je 0x44939c
cmp dword [ecx + 0x58], 3
jl 0x44939c
mov edi, dword [ecx + 0x60]
shl edi, 4
add edi, dword [ecx + 0x4c]
jmp 0x44939f
mov edi, dword [ecx + 0x4c]
test edi, edi
jne 0x4493b6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
push dword [edi + 0xc]
lea eax, [ebp - 0x108]
push dword [edi + 8]
push str._t_comments:_d____s__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x328]
call fcn.0044ef60
mov ecx, dword [edi + 8]
xor edx, edx
test ecx, ecx
jle 0x449563
nop word [eax + eax]
mov eax, dword [edi + 4]
lea esi, [edx*4]
inc edx
mov dword [ebp - 0x338], edx
push dword [esi + eax]
mov eax, dword [edi]
push dword [eax + esi]
lea eax, [ebp - 0x108]
push ecx
push edx
push str._t__d__d___s____d__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x328]
mov eax, dword [esi + eax]
mov dword [ebp - 0x330], eax
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov dword [ebp - 0x334], eax
call fcn.0044f000
mov esi, dword [ebp - 0x330]
push 4
push 0x3000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x328], eax
test eax, eax
je 0x449552
push esi
push dword [ebp - 0x334]
mov dword [ebp - 0x320], esi
push eax
call fcn.004803e0
add esp, 0xc
mov dword [ebp - 0x324], 0
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x214], 1
call fcn.0044f080
mov eax, dword [ebp - 0x328]
mov esi, dword [ebp - 0x324]
add eax, esi
push 0xa
push str.LOOPSTART
push eax
call fcn.00495592
add esp, 0xc
lea ecx, [ebp - 0x328]
test eax, eax
jne 0x449503
lea eax, [ebp - 0x32c]
add esi, 0xa
push eax
mov dword [ebp - 0x324], esi
call fcn.0044f160
test eax, eax
je 0x449552
mov eax, dword [ebp - 0x32c]
mov dword [ebx], eax
jmp 0x449552
call fcn.0044f080
mov eax, dword [ebp - 0x328]
mov esi, dword [ebp - 0x324]
add eax, esi
push 0xb
push str.LOOPLENGTH
push eax
call fcn.00495592
add esp, 0xc
test eax, eax
jne 0x449552
lea eax, [ebp - 0x32c]
add esi, 0xb
push eax
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x324], esi
call fcn.0044f160
test eax, eax
je 0x449552
mov eax, dword [ebp - 0x32c]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x338]
cmp edx, ecx
jl 0x449400
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x449571
mov eax, dword [ebx]
add eax, ecx
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x328]
call fcn.0044f000
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x449594
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x4495b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push esi
push edi
push 4
push 0x3000
push 0x14
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x4495f9
push 0
push 0x10000000
push 3
push 0
push 1
push Ordinal_4
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4495fe
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
xor eax, eax
pop esi
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi], eax
push edi
test eax, eax
jne 0x44962a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44964d
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
push 0
push 0
push 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x449661
push dword [esi]
call edi
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
xor eax, eax
pop esi
ret
mov dword [esi + 0xc], ebx
mov eax, esi
pop ebx
pop edi
mov dword [esi + 0x10], 0
pop esi
ret