Function at 0x4d0980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59199e
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1d8], esi
xorps xmm0, xmm0
lea edi, [esi + 0x24]
xor al, al
movq qword [esp + 0x26c], xmm0
mov dword [esp + 0x26c], edi
mov byte [esp + 0x213], al
mov byte [esp + 0x270], al
test edi, edi
je 0x4d0a22
mov eax, dword [edi]
test eax, eax
jne 0x4d09f6
xor al, al
jmp 0x4d0a14
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4d0a0e
cmp eax, 0x80
je 0x4d0a0e
xor al, al
jmp 0x4d0a14
mov byte [edi + 4], 1
mov al, 1
mov byte [esp + 0x213], al
mov byte [esp + 0x270], al
mov dword [esp + 0x280], 0
xorps xmm0, xmm0
movq qword [esp + 0x260], xmm0
mov dword [esp + 0x268], 0
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0
mov dword [esp + 0x268], 0
mov byte [esp + 0x280], 1
lea eax, [esp + 0x260]
push eax
mov ecx, esi
call fcn.004d2420
push dword [esp + 0x1d8]
lea ecx, [esp + 0x264]
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x270]
call fcn.004d3130
mov esi, dword [esp + 0x260]
cmp esi, dword [esp + 0x264]
je 0x4d1ac6
xorps xmm0, xmm0
lea ecx, [esp + 0x214]
movdqu xmmword [esp + 0x214], xmm0
movq qword [esp + 0x224], xmm0
call fcn.004c5990
mov byte [esp + 0x280], 2
xorps xmm0, xmm0
lea ecx, [esp + 0x22c]
movq qword [esp + 0x23c], xmm0
movdqu xmmword [esp + 0x22c], xmm0
call fcn.004c6230
mov byte [esp + 0x280], 3
xorps xmm0, xmm0
lea ecx, [esp + 0x244]
movdqu xmmword [esp + 0x244], xmm0
movq qword [esp + 0x254], xmm0
call fcn.004c5990
mov byte [esp + 0x280], 4
lea ecx, [esp + 0xc]
push esi
call fcn.004c6390
mov byte [esp + 0x280], 5
xor eax, eax
push 7
mov dword [esp + 0x110], 0
lea ecx, [esp + 0x100]
mov dword [esp + 0x114], 0
push 0x5bc410
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], 0
mov word [esp + 0x104], ax
call fcn.00404a80
mov byte [esp + 0x280], 6
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 5
cmp dword [esp + 0x110], 8
jb 0x4d0bc7
push dword [esp + 0xfc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], 0
mov word [esp + 0xfc], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x14]
cmp eax, 4
je 0x4d0c11
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d0c27
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d0c27
push ecx
call fcn.004f6270
jmp 0x4d0c27
test dword [esp + 0x14], 0x100
je 0x4d0c27
push dword [esp + 0xc]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d0c4b
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x18]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x70]
movlpd qword [esp + 0x10], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 8
xor eax, eax
push 7
mov dword [esp + 0x188], 0
lea ecx, [esp + 0x178]
mov dword [esp + 0x18c], 0
push 0x5bc450
mov dword [esp + 0x190], 7
mov dword [esp + 0x18c], 0
mov word [esp + 0x17c], ax
call fcn.00404a80
mov byte [esp + 0x280], 9
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 8
cmp dword [esp + 0x188], 8
jb 0x4d0cf4
push dword [esp + 0x174]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], 0
mov word [esp + 0x174], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x74]
cmp eax, 4
je 0x4d0d3e
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d0d54
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4d0d54
push ecx
call fcn.004f6270
jmp 0x4d0d54
test dword [esp + 0x74], 0x100
je 0x4d0d54
push dword [esp + 0x6c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4d0d78
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x30]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x40]
movlpd qword [esp + 0x70], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0xb
xor eax, eax
push 0xc
mov dword [esp + 0x128], 0
lea ecx, [esp + 0x118]
mov dword [esp + 0x12c], 0
push 0x5bc460
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.00404a80
mov byte [esp + 0x280], 0xc
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0xb
cmp dword [esp + 0x128], 8
jb 0x4d0e21
push dword [esp + 0x114]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x44]
cmp eax, 4
je 0x4d0e6b
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d0e81
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d0e81
push ecx
call fcn.004f6270
jmp 0x4d0e81
test dword [esp + 0x44], 0x100
je 0x4d0e81
push dword [esp + 0x3c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4d0ea5
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x48]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x40], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0xe
xor eax, eax
push 0xf
mov dword [esp + 0xf8], 0
lea ecx, [esp + 0xe8]
mov dword [esp + 0xfc], 0
push 0x5bc420
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
call fcn.00404a80
mov byte [esp + 0x280], 0xf
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0xe
cmp dword [esp + 0xf8], 8
jb 0x4d0f54
push dword [esp + 0xe4]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0xd4]
cmp eax, 4
je 0x4d0fa4
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d0fc0
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x4d0fc0
push ecx
call fcn.004f6270
jmp 0x4d0fc0
test dword [esp + 0xd4], 0x100
je 0x4d0fc0
push dword [esp + 0xcc]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4d0fe7
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x60]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x58]
movlpd qword [esp + 0xd0], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x11
xor eax, eax
push 7
mov dword [esp + 0x140], 0
lea ecx, [esp + 0x130]
mov dword [esp + 0x144], 0
push 0x5bc440
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], 0
mov word [esp + 0x134], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x12
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x11
cmp dword [esp + 0x140], 8
jb 0x4d1093
push dword [esp + 0x12c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x140], 7
mov dword [esp + 0x13c], 0
mov word [esp + 0x12c], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x5c]
cmp eax, 4
je 0x4d10dd
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d10f3
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4d10f3
push ecx
call fcn.004f6270
jmp 0x4d10f3
test dword [esp + 0x5c], 0x100
je 0x4d10f3
push dword [esp + 0x54]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4d1117
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x78]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x88]
movlpd qword [esp + 0x58], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x14
xor eax, eax
push 8
mov dword [esp + 0x158], 0
lea ecx, [esp + 0x148]
mov dword [esp + 0x15c], 0
push 0x5bc4a4
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], 0
mov word [esp + 0x14c], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x15
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x14
cmp dword [esp + 0x158], 8
jb 0x4d11c6
push dword [esp + 0x144]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x158], 7
mov dword [esp + 0x154], 0
mov word [esp + 0x144], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x8c]
cmp eax, 4
je 0x4d1216
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d1232
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4d1232
push ecx
call fcn.004f6270
jmp 0x4d1232
test dword [esp + 0x8c], 0x100
je 0x4d1232
push dword [esp + 0x84]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4d1259
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0x90]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x28]
movlpd qword [esp + 0x88], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x17
xor eax, eax
push 7
mov dword [esp + 0x170], 0
lea ecx, [esp + 0x160]
mov dword [esp + 0x174], 0
push 0x5bc4b8
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], 0
mov word [esp + 0x164], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x18
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x17
cmp dword [esp + 0x170], 8
jb 0x4d1308
push dword [esp + 0x15c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x170], 7
mov dword [esp + 0x16c], 0
mov word [esp + 0x15c], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x2c]
cmp eax, 4
je 0x4d1352
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d1368
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d1368
push ecx
call fcn.004f6270
jmp 0x4d1368
test dword [esp + 0x2c], 0x100
je 0x4d1368
push dword [esp + 0x24]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d138c
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0xa8]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0xb8]
movlpd qword [esp + 0x28], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x1a
xor eax, eax
push 8
mov dword [esp + 0x1b8], 0
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x1bc], 0
push 0x5bc47c
mov dword [esp + 0x1c0], 7
mov dword [esp + 0x1bc], 0
mov word [esp + 0x1ac], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x1b
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x1a
cmp dword [esp + 0x1b8], 8
jb 0x4d143e
push dword [esp + 0x1a4]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x1b8], 7
mov dword [esp + 0x1b4], 0
mov word [esp + 0x1a4], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0xbc]
cmp eax, 4
je 0x4d148e
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d14aa
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4d14aa
push ecx
call fcn.004f6270
jmp 0x4d14aa
test dword [esp + 0xbc], 0x100
je 0x4d14aa
push dword [esp + 0xb4]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4d14d1
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0xc0]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0xa0]
movlpd qword [esp + 0xb8], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x1d
xor eax, eax
push 9
mov dword [esp + 0x1a0], 0
lea ecx, [esp + 0x190]
mov dword [esp + 0x1a4], 0
push 0x5bc490
mov dword [esp + 0x1a8], 7
mov dword [esp + 0x1a4], 0
mov word [esp + 0x194], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x1e
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x1d
cmp dword [esp + 0x1a0], 8
jb 0x4d1586
push dword [esp + 0x18c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x1a0], 7
mov dword [esp + 0x19c], 0
mov word [esp + 0x18c], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0xa4]
cmp eax, 4
je 0x4d15d6
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d15f2
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4d15f2
push ecx
call fcn.004f6270
jmp 0x4d15f2
test dword [esp + 0xa4], 0x100
je 0x4d15f2
push dword [esp + 0x9c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4d1619
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esi + 0xd8]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x1c0]
movlpd qword [esp + 0xa0], xmm0
call fcn.004c6390
mov byte [esp + 0x280], 0x20
xor eax, eax
push 0xa
mov dword [esp + 0x20c], 0
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x210], 0
push 0x5bc52c
mov dword [esp + 0x214], 7
mov dword [esp + 0x210], 0
mov word [esp + 0x200], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x21
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x24c]
call fcn.004c5aa0
mov byte [esp + 0x280], 0x20
cmp dword [esp + 0x20c], 8
jb 0x4d16ce
push dword [esp + 0x1f8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20c], 7
mov dword [esp + 0x208], 0
mov word [esp + 0x1f8], ax
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x1c4]
cmp eax, 4
je 0x4d171e
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d173a
mov ecx, dword [esp + 0x1bc]
test ecx, ecx
je 0x4d173a
push ecx
call fcn.004f6270
jmp 0x4d173a
test dword [esp + 0x1c4], 0x100
je 0x4d173a
push dword [esp + 0x1bc]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x1c8]
test eax, eax
je 0x4d1761
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esp + 0x244]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x1e0]
movlpd qword [esp + 0x1c0], xmm0
call fcn.004f6040
mov byte [esp + 0x280], 0x23
lea ecx, [esp + 0x22c]
call fcn.004f6f10
push eax
lea ecx, [esp + 0x230]
call fcn.004f6fc0
mov edi, eax
mov byte [esp + 0x280], 0x24
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x1e4]
mov byte [edi + 8], cl
mov ecx, dword [esp + 0x1e4]
mov eax, ecx
xor eax, edx
and eax, 0xff
xor ecx, eax
mov dword [esp + 0x1e4], ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x1dc]
mov dword [edi], eax
mov eax, dword [esp + 0x1e0]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1dc], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
xor eax, ecx
shr edx, 8
mov dword [edi + 8], eax
and edx, 1
mov eax, dword [esp + 0x1e4]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x1e4], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x1e8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x1e8], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x1ec], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x1f0], ecx
mov byte [esp + 0x280], 4
movsx eax, byte [esp + 0x1e4]
cmp eax, 4
je 0x4d189e
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d18ba
mov ecx, dword [esp + 0x1dc]
test ecx, ecx
je 0x4d18ba
push ecx
call fcn.004f6270
jmp 0x4d18ba
test dword [esp + 0x1e4], 0x100
je 0x4d18ba
push dword [esp + 0x1dc]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x4d18e1
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x1dc], xmm0
mov byte [esp + 0x280], 3
movsx eax, byte [esp + 0x24c]
cmp eax, 4
je 0x4d191d
add eax, 0xfffffffa
cmp eax, 1
ja 0x4d1939
mov ecx, dword [esp + 0x244]
test ecx, ecx
je 0x4d1939
push ecx
call fcn.004f6270
jmp 0x4d1939
test dword [esp + 0x24c], 0x100
je 0x4d1939
push dword [esp + 0x244]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x250]
test eax, eax
je 0x4d1960
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
add esi, 0xf0
xorps xmm0, xmm0
movlpd qword [esp + 0x244], xmm0
cmp esi, dword [esp + 0x264]
jne 0x4d0b01
push 0xc
xor eax, eax
mov dword [esp + 0x20c], 0
mov dword [esp + 0x210], 0
lea ecx, [esp + 0x1fc]
push 0x5bc544
mov dword [esp + 0x214], 7
mov dword [esp + 0x210], 0
mov word [esp + 0x200], ax
call fcn.00404a80
mov byte [esp + 0x280], 0x27
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x21c]
call fcn.004c5aa0
mov byte [esp + 0x280], 3
cmp dword [esp + 0x20c], 8
jb 0x4d1a0d
push dword [esp + 0x1f8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20c], 7
mov word [esp + 0x1f8], ax
lea ecx, [esp + 0x214]
push 1
lea eax, [esp + 0x1c0]
mov dword [esp + 0x20c], 0
push eax
call fcn.004c6680
mov byte [esp + 0x280], 0x28
mov ecx, dword [esp + 0x1d8]
push eax
call fcn.004d1b40
mov byte [esp + 0x280], 3
cmp dword [esp + 0x1d0], 0x10
jb 0x4d1a79
push dword [esp + 0x1bc]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x1d0], 0xf
mov dword [esp + 0x1cc], 0
mov byte [esp + 0x1bc], 0
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x22c]
call fcn.004f6200
mov byte [esp + 0x280], 1
lea ecx, [esp + 0x214]
call fcn.004f6200
mov edi, dword [esp + 0x26c]
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x260]
call fcn.004cba70
mov dword [esp + 0x280], 0xffffffff
test edi, edi
je 0x4d1b04
cmp byte [esp + 0x213], 0
je 0x4d1b04
mov eax, dword [edi]
test eax, eax
je 0x4d1b00
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [edi + 4], 0
mov dword [esp + 0x26c], 0
mov al, 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00564de8
add esp, 0x278
ret