Function at 0x48ebfc
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
mov ebx, edx
mov esi, eax
mov edx, dword [0x516e94]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test edx, edx
je 0x48f7e4
cmp esi, 0xfffffffb
jl 0x48ef89
mov eax, dword [0x50fea0]
cmp eax, 2
jge 0x48ec47
mov eax, dword [ebp + 0x14]
cmp eax, 6
je 0x48ef98
cmp esi, 0xfffffffb
je 0x48f61b
mov eax, 0x3ee4f99d
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x24], ecx
lea edi, [esi + 5]
imul edi
mov dword [ebp - 4], edi
mov eax, edi
mov dword [ebp - 0x20], edi
sar edx, 7
sar eax, 0x1f
sub edx, eax
imul eax, edx, 0x209
neg eax
add eax, edi
mov dword [ebp - 0x2c], eax
lea edx, [eax + 0x69]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 4]
cmp edx, 0x69
jge 0x48ee35
lea eax, [edx*4]
mov ecx, edx
shl ecx, 5
sub ecx, eax
mov edi, dword [ecx + 0x51816c]
test edi, edi
je 0x48ecdb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 4]
lea edi, [edx*4]
mov ecx, edx
shl ecx, 5
sub ecx, edi
cmp eax, dword [ecx + 0x518168]
jne 0x48ecdb
mov eax, 0x28
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [0x50fea0]
cmp eax, 2
jge 0x48ed22
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov edx, dword [edx + 0x518164]
test edx, edx
je 0x48ed05
mov eax, 0x98
jmp 0x48ed9a
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
xor eax, eax
mov dword [edx + 0x518164], 1
jmp 0x48ed9a
lea eax, [ecx + 0x518164]
push eax
call fcn.004833c0
pop ecx
test eax, eax
je 0x48ed3a
mov eax, 0x98
jmp 0x48ed9a
mov ecx, dword [ebp - 4]
lea eax, [ecx*4]
shl ecx, 5
sub ecx, eax
mov edx, dword [ecx + 0x518160]
test edx, edx
je 0x48f196
mov dword [ecx + 0x518164], 0
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x518160]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x518164]
push ecx
call fcn.004833c0
pop ecx
test eax, eax
je 0x48eda5
mov eax, 0x98
jmp 0x48edcc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x518168], eax
mov dword [ecx + 0x51816c], 1
xor eax, eax
test eax, eax
jne 0x48ecce
mov eax, dword [ebp - 4]
lea edx, [eax*4]
shl eax, 5
sub eax, edx
mov edx, dword [eax + 0x518178]
test edx, edx
je 0x48ee0e
movzx ecx, byte [edx + 0x159]
test cl, 0x20
jne 0x48ee03
test cl, 0x18
je 0x48ee03
cmp ebx, 6
je 0x48ee0e
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x48f181
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 8]
lea eax, [eax + 0x518160]
push eax
push edx
push ebx
push ecx
push esi
call fcn.00494c60
add esp, 0x14
cmp eax, 0xfffffffd
je 0x48ec86
jmp 0x48efb6
mov eax, dword [ebp - 0x34]
mov edx, dword [0x50fea0]
mov dword [ebp - 4], eax
cmp edx, 2
jge 0x48ee85
mov eax, dword [ebp - 0x2c]
lea edx, [eax*4 + 0x1a4]
lea ecx, [edx*8]
sub ecx, edx
mov edi, dword [ecx + 0x518164]
test edi, edi
jne 0x48ef18
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 1
jmp 0x48ef18
mov eax, dword [ebp - 0x2c]
lea edx, [eax*4 + 0x1a4]
lea ecx, [edx*8]
sub ecx, edx
lea edi, [ecx + 0x518164]
push edi
call fcn.004833c0
pop ecx
test eax, eax
jne 0x48ef18
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov ecx, dword [edx + 0x518160]
test ecx, ecx
je 0x48f5ec
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x518160]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x518164]
push ecx
call fcn.004833c0
pop ecx
mov eax, dword [0x50fea0]
cmp eax, 1
je 0x48f5cb
mov ecx, dword [ebp - 4]
lea eax, [ecx*4]
shl ecx, 5
sub ecx, eax
mov edx, dword [ecx + 0x518178]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x48f5c4
xor edi, edi
mov eax, dword [edx + 0xf0]
cmp eax, esi
jge 0x48f5a9
mov edi, edx
mov edx, dword [edx + 0x28]
mov dword [ebp - 0x1c], edx
test edx, edx
jne 0x48ef48
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
lea ecx, [ecx + 0x518160]
push ecx
push eax
push ebx
push edx
push esi
call fcn.00494c60
add esp, 0x14
cmp eax, 0xfffffffd
je 0x48ec86
jmp 0x48f1c5
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, 0x20
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x30], 2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], ecx
push eax
call fcn.00483ca0
mov ecx, dword [ebp - 0x24]
add esp, 4
jmp 0x48ec47
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
test eax, eax
jne 0x48ecce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48f07c
mov dword [0x5176c0], 1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x1c]
cmp edx, 6
mov dword [ebx], eax
jne 0x48efee
mov edx, 8
test ecx, ecx
je 0x48eff5
mov dword [ecx + 4], eax
mov dword [eax + 0x64], ecx
cmp edx, 0xd
je 0x48f01d
cmp edx, 0x10
je 0x48f01d
cmp edx, 0xa
jne 0x48f013
mov eax, dword [ebp - 0x1c]
or byte [eax + 0x162], 2
jmp 0x48f01d
mov eax, dword [ebp - 0x1c]
and byte [eax + 0x162], 0xfd
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x14c], dl
mov ecx, dword [ebp - 0x1c]
and byte [ecx + 0x162], 0xf7
mov edi, dword [ebp - 0x1c]
and byte [edi + 0x162], 0xef
mov eax, dword [ebp - 8]
test eax, eax
je 0x48f06d
mov eax, dword [ebp - 0x1c]
call fcn.0048e9c0
mov edi, eax
test edi, edi
je 0x48f06d
mov eax, esi
xor edx, edx
call fcn.0048f800
mov esi, dword [ebp - 0x14]
mov dword [ebx], 0
mov eax, edi
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
push eax
push 1
push 0x170
mov dword [ebp - 0x24], ecx
call fcn.00484a50
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
je 0x48f11b
mov esi, dword [ebp - 4]
mov ecx, dword [0x50fea0]
lea edx, [esi*4]
shl esi, 5
sub esi, edx
cmp ecx, 2
mov dword [esi + 0x51816c], 0
mov dword [esi + 0x518168], 0xffffffff
jge 0x48f0dd
mov dword [esi + 0x518164], 0
jmp 0x48f108
mov dword [esi + 0x518164], 0
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
mov dword [ebp - 0x38], eax
sub ecx, edx
push dword [ecx + 0x518160]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 0x170
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.004e2770
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xf0], esi
cmp edi, 0x69
jl 0x48f164
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [edx], eax
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0x1c]
mov dword [edx + 8], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
mov dword [edi + 0x518178], edx
jmp 0x48efd2
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], 1
mov dword [ebp - 0x1c], edx
jmp 0x48efd2
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x518160], eax
mov dword [ecx + 0x518164], 0
jmp 0x48ed61
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x48ecce
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x48f441
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x48f297
mov eax, dword [0x50fea0]
cmp eax, 1
je 0x48f264
cmp eax, 2
jge 0x48f225
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
jmp 0x48efdc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
mov eax, dword [ebp - 4]
lea edi, [eax*4]
shl eax, 5
sub eax, edi
push dword [eax + 0x518160]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x24]
jmp 0x48efdc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x518174]
push dword [edx + 0x518170]
call fcn.00483370
mov ecx, dword [ebp - 0x24]
add esp, 8
mov eax, dword [0x50fea0]
jmp 0x48f202
mov edx, dword [eax + 0xc]
test edx, edx
je 0x48f2c1
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, dword [edx + 8]
mov dword [ebp - 0x28], edx
jne 0x48f2c1
mov dword [ebp - 0x34], 0x28
jmp 0x48f37b
mov eax, dword [0x50fea0]
cmp eax, 2
jge 0x48f2ea
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
test edx, edx
je 0x48f2dc
mov eax, 0x98
jmp 0x48f340
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 1
xor eax, eax
jmp 0x48f340
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
add eax, 4
push eax
call fcn.004833c0
mov ecx, dword [ebp - 0x24]
add esp, 4
test eax, eax
je 0x48f30a
mov eax, 0x98
jmp 0x48f340
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
je 0x48f41c
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.004833c0
mov ecx, dword [ebp - 0x24]
add esp, 4
test eax, eax
je 0x48f34d
mov dword [ebp - 0x34], 0x98
jmp 0x48f370
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48f1f8
mov eax, dword [0x50fea0]
cmp eax, 1
je 0x48f3ef
cmp eax, 2
jge 0x48f3a5
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
jmp 0x48f3d9
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
mov esi, dword [ebp - 4]
lea ecx, [esi*4]
shl esi, 5
sub esi, ecx
push dword [esi + 0x518160]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x518174]
push dword [edx + 0x518170]
call fcn.00483370
add esp, 8
mov eax, dword [0x50fea0]
jmp 0x48f385
mov dword [ebp - 0x24], ecx
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
jmp 0x48f31e
mov dword [ebp - 8], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], edi
push eax
push 1
push 0x170
mov dword [ebp - 0x24], ecx
call fcn.00484a50
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
add esp, 0xc
test eax, eax
je 0x48f4e3
mov eax, dword [0x50fea0]
cmp eax, 1
je 0x48f55f
cmp eax, 2
jge 0x48f499
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
jmp 0x48f4cd
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x518164], 0
mov esi, dword [ebp - 4]
lea ecx, [esi*4]
shl esi, 5
sub esi, ecx
push dword [esi + 0x518160]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 0x170
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.004e2770
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xf0], esi
cmp edi, 0x69
jl 0x48f52c
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [edx], eax
mov edi, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], 0xffffffff
mov edi, dword [ebp - 0x38]
mov dword [edi + 0xc], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
mov dword [edx + 0x28], eax
test edi, edi
je 0x48f58c
mov eax, dword [ebp - 0x38]
mov edx, edi
mov dword [edx + 0x28], eax
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
mov dword [0x5176c0], 1
mov dword [ebp - 0x1c], eax
jmp 0x48f1ea
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x518174]
push dword [edx + 0x518170]
call fcn.00483370
add esp, 8
mov eax, dword [0x50fea0]
jmp 0x48f479
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x28], edx
lea eax, [edi*4]
shl edi, 5
sub edi, eax
mov dword [edi + 0x518178], edx
jmp 0x48f54a
jne 0x48ef62
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], 1
mov dword [ebp - 0x28], edx
jmp 0x48f1ea
xor edi, edi
jmp 0x48ef62
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x518170]
push ecx
call fcn.00483390
pop ecx
jmp 0x48ef26
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x518160], eax
mov dword [ecx + 0x518164], 0
jmp 0x48eedf
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
push eax
push 1
push 0x170
call fcn.00484a50
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
add esp, 0xc
test eax, eax
jne 0x48f688
push 0x170
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
call fcn.004e2770
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push edx
mov dword [eax + 0xf0], esi
push 0
push 0x54
call fcn.00484a50
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
add esp, 0x18
test eax, eax
je 0x48f6a2
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
call fcn.004849b0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48f6ff
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x58], eax
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x38]
mov dword [edi + 0x5c], esi
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [edx + 0x50], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [0x50fea0]
cmp eax, 2
jge 0x48f71c
cmp eax, 1
je 0x48f7b0
mov eax, 0x50fe00
mov dword [ebp - 0x34], eax
jmp 0x48f737
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
push eax
call fcn.00483740
mov ecx, dword [ebp - 0x24]
add esp, 4
mov esi, eax
test esi, esi
jne 0x48f792
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [edx + 0x28], eax
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
mov dword [edi], esi
mov eax, dword [0x50fea0]
cmp eax, 1
je 0x48f7c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x14]
mov byte [edx + 0x14c], al
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x48f767
mov dword [ecx + 4], eax
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x64], ecx
mov edx, dword [ebp - 0x1c]
and byte [edx + 0x162], 0xf7
mov ecx, dword [ebp - 0x1c]
and byte [ecx + 0x162], 0xef
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1c]
call fcn.004849b0
pop ecx
mov edi, dword [ebp - 0x18]
mov dword [ebx], 0
mov eax, esi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push 0x50fe64
mov dword [ebp - 0x24], ecx
call fcn.00483390
mov ecx, dword [ebp - 0x24]
add esp, 4
jmp 0x48f712
mov eax, dword [ebp - 0x34]
push dword [eax + 0x68]
push dword [eax + 0x64]
mov dword [ebp - 0x24], ecx
call fcn.00483370
mov ecx, dword [ebp - 0x24]
add esp, 8
jmp 0x48f751
mov dword [ebp - 0x24], ecx
call fcn.00483cc0
mov ecx, dword [ebp - 0x24]
jmp 0x48ec28