Function at 0x54d370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f51e4
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edi
call fcn.0044a600
lea ecx, [esp + 0x68]
mov dword [esp + 0x2f8], 0
call fcn.0044a600
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f8], 1
call fcn.0044a600
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f8], 2
call fcn.0044a600
mov eax, dword [esi]
add esi, 4
mov dword [edi + 0x30], eax
mov ecx, dword [esi]
add esi, 4
mov dword [esp + 0x28], esi
lea esi, [edi + 0x38]
mov dword [edi + 0x34], ecx
mov ebx, dword [esi + 0x10]
mov byte [esp + 0x2f8], 3
cmp dword [esi + 0xc], ebx
jbe 0x54d427
call fcn.005a01dd
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xbc], edx
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jbe 0x54d441
call fcn.005a01dd
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push ebx
push ecx
push edx
push eax
lea eax, [esp + 0xe0]
push eax
mov ecx, esi
call fcn.00549d50
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, esi
call fcn.004bb0d0
cmp dword [edi + 0x30], 0
mov dword [esp + 0x98], 0
jle 0x54defd
mov dword [esp + 0x2c], 0
jmp 0x54d490
call fcn.0054b9d0
mov edx, dword [esp + 0x28]
mov esi, edx
add edx, 0x20
mov ecx, 8
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, edx
sub edx, 0xffffff80
lea edi, [eax + 0x20]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx]
mov edi, dword [eax + 0xb0]
add edx, 4
mov dword [esp + 0xc4], ecx
mov ecx, dword [edx]
add edx, 4
lea esi, [eax + 0xa0]
mov dword [esp + 0xb8], ecx
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
cmp dword [esi + 0xc], edi
jbe 0x54d4f5
call fcn.005a01dd
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xc8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x54d50b
call fcn.005a01dd
mov ecx, dword [esp + 0xc8]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea edx, [esp + 0x118]
push edx
mov ecx, esi
call fcn.0054b420
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x34]
sub esp, 0x2c
mov eax, esp
mov dword [esp + 0x40], esp
push 4
lea edi, [eax + 0x14]
call fcn.005a01ed
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x54d54e
mov dword [eax], edi
jmp 0x54d550
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
push ebx
mov ecx, esi
mov byte [esp + 0x328], 3
call fcn.0054c430
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x34], 0
mov dword [esp + 0x30], 0
jle 0x54da3b
mov dword [esp + 0x18], 0
lea esp, [esp]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0xb0]
sub ecx, dword [esi + 0xac]
add esi, 0xa0
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x30], eax
jb 0x54d5c2
call fcn.005a01dd
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xb8]
mov dword [esi + 8], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edi, eax
cmp ecx, eax
jbe 0x54d5ff
call fcn.005a01dd
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x54d610
call fcn.005a01dd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push edi
push ebx
push ecx
push edx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x4c]
call fcn.004e4340
mov edx, dword [esp + 0xd8]
mov ecx, dword [esi + 8]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xe8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xec]
push ecx
lea ecx, [esp + 0x48]
mov dword [eax + 8], edx
call fcn.004eda10
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edi, eax
cmp ecx, eax
jbe 0x54d677
call fcn.005a01dd
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x54d688
call fcn.005a01dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
push edi
push ebx
push eax
push ecx
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x7c]
call fcn.00549d50
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.004bb0d0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edi, eax
cmp ecx, eax
jbe 0x54d6db
call fcn.005a01dd
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x54d6ef
call fcn.005a01dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
push edi
push ebx
push eax
push ecx
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x94]
call fcn.004deed0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004df1f0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edi, eax
cmp ecx, eax
jbe 0x54d74d
call fcn.005a01dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x54d75e
call fcn.005a01dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push edi
push ebx
push eax
push ecx
lea edx, [esp + 0x148]
push edx
lea ecx, [esp + 0x64]
call fcn.00549d50
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x58]
call fcn.004bb0d0
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edi, 4
add ecx, edx
jne 0x54d7b5
call fcn.005a01dd
mov eax, dword [esi + 8]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
add edx, edx
add edx, edx
push edx
push edi
push eax
call fcn.005a02a0
mov edx, dword [esp + 0x84]
sub edx, dword [esp + 0x80]
mov eax, dword [esi + 8]
sar edx, 2
add esp, 0xc
lea ecx, [eax + eax*2]
lea edi, [edi + ecx*4]
test edx, edx
ja 0x54d7f1
call fcn.005a01dd
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x74]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call fcn.005a02a0
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x98]
mov edx, dword [esi + 0x10]
sar eax, 3
add esp, 0xc
lea edi, [edi + edx*4]
test eax, eax
ja 0x54d827
call fcn.005a01dd
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x8c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push edi
push edx
call fcn.005a02a0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, dword [esi + 0xc]
sar ecx, 2
add esp, 0xc
lea edi, [edi + eax*8]
test ecx, ecx
ja 0x54d85c
call fcn.005a01dd
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x5c]
add edx, edx
add edx, edx
push edx
push edi
push eax
call fcn.005a02a0
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x24]
add esp, 0xc
lea edx, [edi + ecx*4]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x20], ebx
jbe 0x54d889
call fcn.005a01dd
mov eax, dword [esi + 0x14]
mov dword [esp + 0xe4], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x24]
jbe 0x54d8a4
call fcn.005a01dd
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
push ebx
push ecx
lea edi, [esi + 0x14]
push edx
push eax
lea eax, [esp + 0x130]
push eax
mov ecx, edi
call fcn.00549ef0
mov edx, dword [esp + 0xa0]
mov ecx, dword [esi + 0x10]
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xbc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc0]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xc4]
push ecx
mov ecx, edi
mov dword [eax + 0x10], edx
call fcn.0054a920
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jbe 0x54da20
mov dword [esp + 0x34], ebx
jmp 0x54d920
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x20]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x54d940
call fcn.005a01dd
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x74]
mov edi, dword [esi + 0x20]
add edi, dword [esp + 0x34]
sar ecx, 2
cmp ebx, ecx
jb 0x54d95b
call fcn.005a01dd
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x74]
mov eax, dword [edx + ebx*4]
sar ecx, 2
mov dword [esp + 0x9c], eax
cmp ebx, ecx
jb 0x54d97d
call fcn.005a01dd
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + ebx*4]
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x44]
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x9c], eax
jb 0x54d9b2
call fcn.005a01dd
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x9c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
lea eax, [eax + edx*4]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov edx, dword [esp + 0x90]
sub edx, dword [esp + 0x8c]
sar edx, 3
cmp ecx, edx
jb 0x54d9f1
call fcn.005a01dd
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + ecx*8]
add dword [esp + 0x34], 0x14
mov dword [edi + 0xc], edx
mov eax, dword [eax + ecx*8 + 4]
mov dword [edi + 0x10], eax
fld dword [edi + 0x10]
fmul qword [0x602cd8]
inc ebx
fstp dword [edi + 0x10]
cmp ebx, dword [esi + 0x10]
jb 0x54d920
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x18], 0x2c
inc eax
cmp eax, dword [ecx + 0x34]
mov dword [esp + 0x30], eax
jl 0x54d590
mov esi, dword [esp + 0x1c]
mov ebx, dword [esi + 0xc8]
add esi, 0xb8
cmp dword [esi + 0xc], ebx
jbe 0x54da55
call fcn.005a01dd
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xd0], edx
cmp edi, dword [esi + 0x10]
jbe 0x54da6b
call fcn.005a01dd
mov ecx, dword [esp + 0xd0]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
lea edx, [esp + 0x120]
push edx
mov ecx, esi
call fcn.00549d50
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], 0
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x1c]
add eax, 0x20
mov byte [esp + 0x2f8], 5
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x54dab7
mov edi, dword [esp + 0x1c]
sub eax, ecx
lea ecx, [esp + 0x164]
push ecx
push eax
add edi, 0x20
push edi
call fcn.005199d0
lea edx, [esp + 0x170]
push edx
call fcn.0051db40
mov ebx, dword [esp + 0x188]
add esp, 0x10
mov eax, ebx
cmp ebx, 3
jb 0x54daf9
mov eax, 3
cmp dword [esp + 0x17c], 0x10
mov ecx, dword [esp + 0x168]
jae 0x54db11
lea ecx, [esp + 0x168]
push eax
push 0x616bac
push ecx
call fcn.004067e0
add esp, 0xc
test eax, eax
jne 0x54db33
cmp ebx, 3
jb 0x54de3e
cmp ebx, 3
setne al
xor ebx, ebx
cmp eax, ebx
jne 0x54de3e
lea ecx, [esp + 0x19c]
call fcn.0051a520
lea eax, [esp + 0xbc]
push eax
push edi
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, dword [0x67d464]
mov byte [esp + 0x304], 6
call fcn.0055f330
test al, al
je 0x54de28
lea ecx, [esp + 0xec]
call fcn.0051d480
push 4
mov byte [esp + 0x2fc], 7
call fcn.005a01ed
add esp, 4
cmp eax, ebx
je 0x54dba2
lea edx, [esp + 0xa0]
mov dword [eax], edx
jmp 0x54dba4
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0xbc]
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x2fc], 9
call fcn.0051a7a0
push eax
lea ecx, [esp + 0xf4]
call fcn.0051d9d0
mov dword [esp + 0x198], 0xf
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], 0
lea ecx, [esp + 0x180]
push ecx
push edi
mov byte [esp + 0x300], 0xa
call fcn.00519a20
add esp, 8
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], 0
lea ecx, [esp + 0xec]
mov byte [esp + 0x2f8], 0xb
mov dword [esp + 0x18], ebx
call fcn.0051d420
test eax, eax
jbe 0x54dd36
jmp 0x54dc60
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0xf0]
call fcn.0051d440
mov edi, eax
cmp dword [edi + 0x14], ebx
je 0x54dd19
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x154]
call fcn.004046b0
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x154]
call fcn.00404050
cmp dword [esp + 0x160], 0x10
mov eax, dword [esp + 0x14c]
jae 0x54dcbb
lea eax, [esp + 0x14c]
mov ecx, dword [0x67d560]
push eax
call fcn.004f2170
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
cmp edx, ebx
jne 0x54dcd6
xor ecx, ecx
jmp 0x54dcde
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x54dcf6
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x54dd17
cmp edx, edi
jbe 0x54dcff
call fcn.005a01dd
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call fcn.004e75e0
xor ebx, ebx
mov edi, dword [esp + 0x18]
inc edi
lea ecx, [esp + 0xec]
mov dword [esp + 0x18], edi
call fcn.0051d420
cmp edi, eax
jb 0x54dc60
mov edi, 0x10
cmp dword [esp + 0x160], edi
jb 0x54dd54
mov eax, dword [esp + 0x14c]
push eax
call fcn.0059fc2a
add esp, 4
mov esi, 0xf
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], 0
cmp dword [esp + 0x198], edi
jb 0x54dd88
mov ecx, dword [esp + 0x184]
push ecx
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], 0
cmp eax, ebx
je 0x54ddef
mov edi, dword [esp + 0xb0]
cmp eax, edi
je 0x54dde6
lea esi, [eax + 0x18]
cmp dword [esi], 0x10
jb 0x54ddc8
mov eax, dword [esi - 0x14]
push eax
call fcn.0059fc2a
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], 0
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x54ddb7
mov eax, dword [esp + 0xac]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0xa0]
push eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.0059fc2a
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x2f8], 6
call fcn.0051d4a0
lea ecx, [esp + 0x19c]
mov byte [esp + 0x2f8], 5
call fcn.0051a950
jmp 0x54de9a
mov ecx, dword [0x67d560]
push edi
call fcn.004f2170
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
test edx, edx
jne 0x54de59
xor ecx, ecx
jmp 0x54de61
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x54de79
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x54de9a
cmp edx, edi
jbe 0x54de82
call fcn.005a01dd
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
lea edx, [esp + 0xe4]
push edx
mov ecx, esi
call fcn.004e75e0
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x44]
mov esi, dword [esp + 0x2c]
sar eax, 2
cmp esi, eax
jb 0x54deb4
call fcn.005a01dd
mov ecx, dword [edi + 0x44]
mov edx, dword [esp + 0x1c]
mov dword [ecx + esi*4], edx
cmp dword [esp + 0x17c], 0x10
mov byte [esp + 0x2f8], 3
jb 0x54dee0
mov eax, dword [esp + 0x168]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0x98]
inc eax
mov dword [esp + 0x98], eax
cwde
cmp eax, dword [edi + 0x30]
mov dword [esp + 0x2c], eax
jl 0x54d490
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp eax, esi
je 0x54df10
push eax
call fcn.0059fc2a
add esp, 4
mov ecx, dword [esp + 0x50]
push ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.0059fc2a
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, esi
je 0x54df3d
push eax
call fcn.0059fc2a
add esp, 4
mov edx, dword [esp + 0x80]
push edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.0059fc2a
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, esi
je 0x54df73
push eax
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
call fcn.0059fc2a
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, esi
je 0x54dfa0
push eax
call fcn.0059fc2a
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.0059fc2a
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.005a09eb
mov esp, ebp
pop ebp
ret 8