Function at 0x54c6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f5124
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], edi
call fcn.0044a600
lea ecx, [esp + 0x50]
mov dword [esp + 0x310], 0
call fcn.0044a600
lea ecx, [esp + 0x68]
mov byte [esp + 0x310], 1
call fcn.0044a600
lea ecx, [esp + 0x80]
mov byte [esp + 0x310], 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 + 0x310], 3
cmp dword [esi + 0xc], ebx
jbe 0x54c797
call fcn.005a01dd
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xc0], edx
mov dword [esp + 0x24], eax
cmp eax, dword [esi + 0x10]
jbe 0x54c7b1
call fcn.005a01dd
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
push ebx
push ecx
push edx
push eax
lea eax, [esp + 0xd8]
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 0x54d27d
mov dword [esp + 0x24], 0
jmp 0x54c800
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
lea edi, [eax + 0x20]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax + 0xb0]
lea esi, [eax + 0xa0]
sub edx, 0xffffff80
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
cmp dword [esi + 0xc], edi
jbe 0x54c844
call fcn.005a01dd
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0xf4], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x54c85a
call fcn.005a01dd
mov edx, dword [esp + 0xf4]
mov eax, dword [esi]
push edi
push edx
push ebx
push eax
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.0054b420
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + 0x34]
sub esp, 0x2c
mov eax, esp
mov dword [esp + 0x44], esp
push 4
lea edi, [eax + 0x14]
call fcn.005a01ed
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x54c89d
mov dword [eax], edi
jmp 0x54c89f
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 + 0x340], 3
call fcn.0054c430
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x34], 0
mov dword [esp + 0x34], 0
jle 0x54cdbd
mov dword [esp + 0x1c], 0
jmp 0x54c8e0
mov esi, dword [esp + 0x20]
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 + 0x34], eax
jb 0x54c912
call fcn.005a01dd
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov cl, byte [edi]
inc edi
mov byte [esi], cl
mov edx, dword [edi]
add edi, 4
mov dword [esi + 4], edx
mov eax, dword [edi]
add edi, 4
mov dword [esi + 8], eax
mov ecx, dword [edi]
add edi, 4
mov dword [esi + 0x10], ecx
mov edx, dword [edi]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add edi, 4
mov ebx, eax
cmp ecx, eax
jbe 0x54c95d
call fcn.005a01dd
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xdc], edx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x54c975
call fcn.005a01dd
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push ebx
push eax
push ecx
push edx
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x4c]
call fcn.004e4340
mov edx, dword [esp + 0xd0]
mov ecx, dword [esi + 8]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe4]
push ecx
lea ecx, [esp + 0x48]
mov dword [eax + 8], edx
call fcn.004eda10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, eax
cmp ecx, eax
jbe 0x54c9e3
call fcn.005a01dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xfc], edx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x54c9fb
call fcn.005a01dd
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
push ebx
push eax
push ecx
push edx
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x64]
call fcn.00549d50
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x58]
call fcn.004bb0d0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebx, eax
cmp ecx, eax
jbe 0x54ca49
call fcn.005a01dd
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x54ca61
call fcn.005a01dd
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
push ebx
push eax
push ecx
push edx
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x7c]
call fcn.004deed0
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.004df1f0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov ebx, eax
cmp ecx, eax
jbe 0x54cac9
call fcn.005a01dd
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xec], edx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x54cae4
call fcn.005a01dd
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
push ebx
push eax
push ecx
push edx
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x94]
call fcn.00549d50
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.004bb0d0
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 ecx, edx
jne 0x54cb3f
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 + 0x6c]
sub edx, dword [esp + 0x68]
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 0x54cb75
call fcn.005a01dd
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x5c]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call fcn.005a02a0
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
mov edx, dword [esi + 0x10]
sar eax, 3
add esp, 0xc
lea edi, [edi + edx*4]
test eax, eax
ja 0x54cbab
call fcn.005a01dd
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x74]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push edi
push edx
call fcn.005a02a0
mov ecx, dword [esp + 0x9c]
sub ecx, dword [esp + 0x98]
mov eax, dword [esi + 0xc]
sar ecx, 2
add esp, 0xc
lea edi, [edi + eax*8]
test ecx, ecx
ja 0x54cbe3
call fcn.005a01dd
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x8c]
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 0x54cc13
call fcn.005a01dd
mov eax, dword [esi + 0x14]
mov dword [esp + 0xe4], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x24]
jbe 0x54cc2e
call fcn.005a01dd
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
push ebx
push ecx
lea edi, [esi + 0x14]
push edx
push eax
lea eax, [esp + 0x148]
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 0x54cda2
mov dword [esp + 0x30], ebx
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 0x54ccc2
call fcn.005a01dd
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
mov edi, dword [esi + 0x20]
add edi, dword [esp + 0x30]
sar ecx, 2
cmp ebx, ecx
jb 0x54ccdd
call fcn.005a01dd
mov ecx, dword [esp + 0x90]
sub ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + ebx*4]
sar ecx, 2
mov dword [esp + 0x9c], eax
cmp ebx, ecx
jb 0x54cd05
call fcn.005a01dd
mov edx, dword [esp + 0x8c]
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 + 0x18], ecx
cmp dword [esp + 0x9c], eax
jb 0x54cd3d
call fcn.005a01dd
mov ecx, dword [esp + 0x18]
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 + 0x78]
sub edx, dword [esp + 0x74]
sar edx, 3
cmp ecx, edx
jb 0x54cd76
call fcn.005a01dd
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov edx, dword [eax + ecx*8]
add dword [esp + 0x30], 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 0x54cca2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x1c], 0x2c
inc eax
cmp eax, dword [ecx + 0x34]
mov dword [esp + 0x34], eax
jl 0x54c8e0
mov esi, dword [esp + 0x20]
mov ebx, dword [esi + 0xc8]
add esi, 0xb8
cmp dword [esi + 0xc], ebx
jbe 0x54cdd7
call fcn.005a01dd
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xc8], edx
cmp edi, dword [esi + 0x10]
jbe 0x54cded
call fcn.005a01dd
mov ecx, dword [esp + 0xc8]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
lea edx, [esp + 0x138]
push edx
mov ecx, esi
call fcn.00549d50
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], 0
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x20]
add eax, 0x20
mov byte [esp + 0x310], 5
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x54ce40
mov edi, dword [esp + 0x20]
sub eax, ecx
lea ecx, [esp + 0x17c]
push ecx
push eax
add edi, 0x20
push edi
call fcn.005199d0
lea edx, [esp + 0x188]
push edx
call fcn.0051db40
mov ebx, dword [esp + 0x1a0]
add esp, 0x10
mov eax, ebx
cmp ebx, 3
jb 0x54ce82
mov eax, 3
cmp dword [esp + 0x194], 0x10
mov ecx, dword [esp + 0x180]
jae 0x54ce9a
lea ecx, [esp + 0x180]
push eax
push 0x616bac
push ecx
call fcn.004067e0
add esp, 0xc
test eax, eax
jne 0x54cebc
cmp ebx, 3
jb 0x54d1be
cmp ebx, 3
setne al
xor ebx, ebx
cmp eax, ebx
jne 0x54d1be
lea ecx, [esp + 0x1b4]
call fcn.0051a520
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1bc]
push ecx
mov ecx, dword [0x67d464]
mov byte [esp + 0x31c], 6
call fcn.0055f330
test al, al
je 0x54d1a8
lea ecx, [esp + 0x104]
call fcn.0051d480
push 4
mov byte [esp + 0x314], 7
call fcn.005a01ed
add esp, 4
cmp eax, ebx
je 0x54cf2b
lea edx, [esp + 0xa0]
mov dword [eax], edx
jmp 0x54cf2d
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 + 0xc0]
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x314], 9
call fcn.0051a7a0
push eax
lea ecx, [esp + 0x10c]
call fcn.0051d9d0
mov dword [esp + 0x1b0], 0xf
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], 0
lea ecx, [esp + 0x198]
push ecx
push edi
mov byte [esp + 0x318], 0xa
call fcn.00519a20
add esp, 8
mov dword [esp + 0x178], 0xf
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], 0
lea ecx, [esp + 0x104]
mov byte [esp + 0x310], 0xb
mov dword [esp + 0x1c], ebx
call fcn.0051d420
test eax, eax
jbe 0x54d0b6
nop
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x108]
call fcn.0051d440
mov edi, eax
cmp dword [edi + 0x14], ebx
je 0x54d099
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0x16c]
call fcn.004046b0
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x16c]
call fcn.00404050
cmp dword [esp + 0x178], 0x10
mov eax, dword [esp + 0x164]
jae 0x54d03b
lea eax, [esp + 0x164]
mov ecx, dword [0x67d560]
push eax
call fcn.004f2170
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
cmp edx, ebx
jne 0x54d056
xor ecx, ecx
jmp 0x54d05e
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 0x54d076
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x54d097
cmp edx, edi
jbe 0x54d07f
call fcn.005a01dd
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
lea edx, [esp + 0x14c]
push edx
mov ecx, esi
call fcn.004e75e0
xor ebx, ebx
mov edi, dword [esp + 0x1c]
inc edi
lea ecx, [esp + 0x104]
mov dword [esp + 0x1c], edi
call fcn.0051d420
cmp edi, eax
jb 0x54cfe0
mov edi, 0x10
cmp dword [esp + 0x178], edi
jb 0x54d0d4
mov eax, dword [esp + 0x164]
push eax
call fcn.0059fc2a
add esp, 4
mov esi, 0xf
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], 0
cmp dword [esp + 0x1b0], edi
jb 0x54d108
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], 0
cmp eax, ebx
je 0x54d16f
mov edi, dword [esp + 0xb0]
cmp eax, edi
je 0x54d166
lea esi, [eax + 0x18]
cmp dword [esi], 0x10
jb 0x54d148
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 0x54d137
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 + 0x104]
mov byte [esp + 0x310], 6
call fcn.0051d4a0
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x310], 5
call fcn.0051a950
jmp 0x54d21a
mov ecx, dword [0x67d560]
push edi
call fcn.004f2170
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
test edx, edx
jne 0x54d1d9
xor ecx, ecx
jmp 0x54d1e1
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 0x54d1f9
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x54d21a
cmp edx, edi
jbe 0x54d202
call fcn.005a01dd
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
lea edx, [esp + 0xdc]
push edx
mov ecx, esi
call fcn.004e75e0
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x44]
mov esi, dword [esp + 0x24]
sar eax, 2
cmp esi, eax
jb 0x54d234
call fcn.005a01dd
mov ecx, dword [edi + 0x44]
mov edx, dword [esp + 0x20]
mov dword [ecx + esi*4], edx
cmp dword [esp + 0x194], 0x10
mov byte [esp + 0x310], 3
jb 0x54d260
mov eax, dword [esp + 0x180]
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 + 0x24], eax
jl 0x54c800
mov eax, dword [esp + 0x8c]
xor esi, esi
cmp eax, esi
je 0x54d293
push eax
call fcn.0059fc2a
add esp, 4
mov ecx, dword [esp + 0x80]
push ecx
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 0x54d2c9
push eax
call fcn.0059fc2a
add esp, 4
mov edx, dword [esp + 0x68]
push edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
call fcn.0059fc2a
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, esi
je 0x54d2f6
push eax
call fcn.0059fc2a
add esp, 4
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.0059fc2a
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, esi
je 0x54d320
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 + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.005a09eb
mov esp, ebp
pop ebp
ret 8