Function at 0x4153d0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45430b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
xor ebx, ebx
push ebp
mov dword [0x483780], eax
push ebx
mov eax, 0x40
push 0x483758
push ebx
mov dword [0x483758], ebx
mov dword [0x48374c], ebx
mov dword [0x483770], ebx
mov dword [0x483778], ebx
mov byte [0x483818], bl
mov dword [0x483754], ebx
mov dword [0x48377c], 0xffffffff
mov dword [0x48375c], eax
mov dword [0x4837e8], eax
call sub.DSOUND.dll_DirectSoundCreate
cmp eax, ebx
mov dword [0x483728], eax
je 0x41545a
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x483758]
mov edx, dword [0x483780]
push 3
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, ebx
mov dword [0x483728], eax
je 0x41548d
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x483758]
mov dword [0x483788], 0x60
push 0x483788
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [0x483798]
mov ebp, 1
cmp eax, ebp
je 0x4154c8
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [0x48378c]
mov eax, dword [0x483758]
push ebx
mov dword [0x483824], edx
mov dword [0x483830], 0x14
mov dword [0x483834], ebp
mov dword [0x483838], ebx
mov dword [0x483840], ebx
mov ecx, dword [eax]
push 0x483770
push 0x483830
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [0x483728], eax
je 0x415522
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x483824]
mov edx, eax
and edx, 0xff
shr edx, 1
and edx, ebp
test al, 8
mov dword [0x483784], edx
je 0x415553
mov dword [0x483768], 0x10
mov dword [0x483774], 0xac44
jmp 0x415567
mov dword [0x483768], 8
mov dword [0x483774], 0x5622
mov eax, dword [0x483770]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
call fcn.00415050
cmp dword [0x483728], ebx
je 0x415592
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x483770]
push ebx
push 0x12
push 0x483738
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
cmp eax, ebx
mov dword [0x483728], eax
je 0x4155c1
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x483770]
mov dword [0x4837f0], 0x14
push 0x4837f0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [0x4837f8]
push ebx
push ebx
push ebx
mov dword [0x483844], edx
mov dword [0x4832a0], ebx
mov byte [0x483818], 1
mov dword [0x4832a8], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x48377c], eax
mov eax, dword [0x483784]
cmp eax, ebp
jne 0x41561d
mov eax, dword [0x4832a8]
or al, 2
mov dword [0x4832a8], eax
cmp dword [0x483768], 0x10
jne 0x41562c
or dword [0x4832a8], ebp
push str.EXELWEISS_AFX_EVENT1
push ebx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x483764], eax
call fcn.00414fb0
mov eax, dword [0x483828]
push ebx
mov dword [0x483834], 0x100
mov dword [0x483840], 0x483738
lea ecx, [eax + eax]
mov eax, dword [0x483758]
mov dword [0x483838], ecx
push 0x48374c
mov edx, dword [eax]
push 0x483830
push eax
call dword [edx + 0xc]
cmp eax, ebx
mov dword [0x483728], eax
je 0x415698
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x48374c]
push 0x483778
push 0x47a800
push eax
mov ecx, dword [eax]
call dword [ecx]
cmp eax, ebx
mov dword [0x483728], eax
je 0x4156c8
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x483828]
mov eax, dword [0x48374c]
push ebx
push 0x4832ac
mov edx, dword [eax]
push 0x483730
push 0x4837ec
add ecx, ecx
push 0x483820
push ecx
push ebx
push eax
call dword [edx + 0x2c]
cmp eax, ebx
mov dword [0x483728], eax
je 0x415714
mov byte [0x483818], bl
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
push 0x26c
call fcn.00429f70
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x415754
mov edx, dword [0x483828]
mov ecx, dword [0x483820]
push edx
mov edx, dword [0x48373c]
push ecx
mov ecx, dword [0x4832a8]
push 0x20
push edx
push ecx
mov ecx, eax
call fcn.00421bb0
jmp 0x415756
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [0x4832a0], eax
call fcn.004228a0
mov edx, dword [0x483828]
mov eax, dword [0x483820]
mov ecx, dword [0x4832a0]
add eax, edx
push eax
call fcn.00421f70
mov ecx, dword [0x4832a0]
call fcn.004228a0
mov edx, dword [0x4832ac]
mov eax, dword [0x48374c]
push edx
mov edx, dword [0x483730]
mov ecx, dword [eax]
push edx
mov edx, dword [0x483828]
add edx, edx
push edx
mov edx, dword [0x483820]
push edx
push eax
call dword [ecx + 0x4c]
mov eax, dword [0x483778]
push 0x483808
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [0x483728], eax
je 0x4157e5
mov eax, ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc
ret
push 0x48372c
push ebx
push ebx
push 0x4152e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x483754], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x48374c]
push ebp
push ebx
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
call fcn.004150e0
mov ecx, dword [esp + 8]
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret