Function at 0x5bdd10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x668d34
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x704e7c]
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.0047aee0
lea ecx, [esp + 0x68]
mov dword [esp + 0x2f8], 0
call fcn.0044a6f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f8], 1
call fcn.00577e00
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f8], 2
call fcn.0044a6f0
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 0x5bddc7
call fcn.006111cc
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 0x5bdde1
call fcn.006111cc
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.00571760
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, esi
call fcn.0050d090
cmp dword [edi + 0x30], 0
mov dword [esp + 0x98], 0
jle 0x5be89d
mov dword [esp + 0x2c], 0
jmp 0x5bde30
call fcn.005bc370
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 0x5bde95
call fcn.006111cc
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xc8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x5bdeab
call fcn.006111cc
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.005bbdc0
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.00610463
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x5bdeee
mov dword [eax], edi
jmp 0x5bdef0
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.005bcdd0
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x34], 0
mov dword [esp + 0x30], 0
jle 0x5be3db
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 0x5bdf62
call fcn.006111cc
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 0x5bdf9f
call fcn.006111cc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x5bdfb0
call fcn.006111cc
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.00556430
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.00556500
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edi, eax
cmp ecx, eax
jbe 0x5be017
call fcn.006111cc
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x5be028
call fcn.006111cc
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.0049f300
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.0049e5f0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edi, eax
cmp ecx, eax
jbe 0x5be07b
call fcn.006111cc
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x5be08f
call fcn.006111cc
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.005953b0
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.00547a80
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edi, eax
cmp ecx, eax
jbe 0x5be0ed
call fcn.006111cc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x5be0fe
call fcn.006111cc
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.0049f300
mov eax, dword [esi + 0x10]
push 0
push eax
lea ecx, [esp + 0x58]
call fcn.0049e5f0
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 0x5be155
call fcn.006111cc
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.00610070
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 0x5be191
call fcn.006111cc
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x74]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call fcn.00610070
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 0x5be1c7
call fcn.006111cc
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.00610070
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 0x5be1fc
call fcn.006111cc
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x5c]
add edx, edx
add edx, edx
push edx
push edi
push eax
call fcn.00610070
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 0x5be229
call fcn.006111cc
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 0x5be244
call fcn.006111cc
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.005ba8e0
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.005bb2c0
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jbe 0x5be3c0
mov dword [esp + 0x34], ebx
jmp 0x5be2c0
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 0x5be2e0
call fcn.006111cc
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 0x5be2fb
call fcn.006111cc
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 0x5be31d
call fcn.006111cc
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 0x5be352
call fcn.006111cc
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 0x5be391
call fcn.006111cc
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 [0x676918]
inc ebx
fstp dword [edi + 0x10]
cmp ebx, dword [esi + 0x10]
jb 0x5be2c0
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 0x5bdf30
mov esi, dword [esp + 0x1c]
mov ebx, dword [esi + 0xc8]
add esi, 0xb8
cmp dword [esi + 0xc], ebx
jbe 0x5be3f5
call fcn.006111cc
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xd0], edx
cmp edi, dword [esi + 0x10]
jbe 0x5be40b
call fcn.006111cc
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.00571760
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 0x5be457
mov edi, dword [esp + 0x1c]
sub eax, ecx
lea ecx, [esp + 0x164]
push ecx
push eax
add edi, 0x20
push edi
call fcn.00584a40
lea edx, [esp + 0x170]
push edx
call fcn.00586ad0
mov ebx, dword [esp + 0x188]
add esp, 0x10
mov eax, ebx
cmp ebx, 3
jb 0x5be499
mov eax, 3
cmp dword [esp + 0x17c], 0x10
mov ecx, dword [esp + 0x168]
jae 0x5be4b1
lea ecx, [esp + 0x168]
push eax
push 0x690e6c
push ecx
call fcn.0042f8e0
add esp, 0xc
test eax, eax
jne 0x5be4d3
cmp ebx, 3
jb 0x5be7de
cmp ebx, 3
setne al
xor ebx, ebx
cmp eax, ebx
jne 0x5be7de
lea ecx, [esp + 0x19c]
call fcn.00585820
lea eax, [esp + 0xbc]
push eax
push edi
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, dword [0x70d070]
mov byte [esp + 0x304], 6
call fcn.005d0220
test al, al
je 0x5be7c8
lea ecx, [esp + 0xec]
call fcn.00586410
push 4
mov byte [esp + 0x2fc], 7
call fcn.00610463
add esp, 4
cmp eax, ebx
je 0x5be542
lea edx, [esp + 0xa0]
mov dword [eax], edx
jmp 0x5be544
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.00585aa0
push eax
lea ecx, [esp + 0xf4]
call fcn.00586960
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.00584a90
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.005863b0
test eax, eax
jbe 0x5be6d6
jmp 0x5be600
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0xf0]
call fcn.005863d0
mov edi, eax
cmp dword [edi + 0x14], ebx
je 0x5be6b9
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x154]
call fcn.00417450
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x154]
call fcn.00416bc0
cmp dword [esp + 0x160], 0x10
mov eax, dword [esp + 0x14c]
jae 0x5be65b
lea eax, [esp + 0x14c]
mov ecx, dword [0x70d0e4]
push eax
call fcn.0055bd80
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
cmp edx, ebx
jne 0x5be676
xor ecx, ecx
jmp 0x5be67e
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 0x5be696
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x5be6b7
cmp edx, edi
jbe 0x5be69f
call fcn.006111cc
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.0063b380
xor ebx, ebx
mov edi, dword [esp + 0x18]
inc edi
lea ecx, [esp + 0xec]
mov dword [esp + 0x18], edi
call fcn.005863b0
cmp edi, eax
jb 0x5be600
mov edi, 0x10
cmp dword [esp + 0x160], edi
jb 0x5be6f4
mov eax, dword [esp + 0x14c]
push eax
call fcn.00610458
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 0x5be728
mov ecx, dword [esp + 0x184]
push ecx
call fcn.00610458
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 0x5be78f
mov edi, dword [esp + 0xb0]
cmp eax, edi
je 0x5be786
lea esi, [eax + 0x18]
cmp dword [esi], 0x10
jb 0x5be768
mov eax, dword [esi - 0x14]
push eax
call fcn.00610458
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 0x5be757
mov eax, dword [esp + 0xac]
push eax
call fcn.00610458
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.00610458
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x2f8], 6
call fcn.00586430
lea ecx, [esp + 0x19c]
mov byte [esp + 0x2f8], 5
call fcn.00585c50
jmp 0x5be83a
mov ecx, dword [0x70d0e4]
push edi
call fcn.0055bd80
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
test edx, edx
jne 0x5be7f9
xor ecx, ecx
jmp 0x5be801
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 0x5be819
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x5be83a
cmp edx, edi
jbe 0x5be822
call fcn.006111cc
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.0063b380
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 0x5be854
call fcn.006111cc
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 0x5be880
mov eax, dword [esp + 0x168]
push eax
call fcn.00610458
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 0x5bde30
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp eax, esi
je 0x5be8b0
push eax
call fcn.00610458
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.00610458
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, esi
je 0x5be8dd
push eax
call fcn.00610458
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.00610458
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, esi
je 0x5be913
push eax
call fcn.00610458
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.00610458
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, esi
je 0x5be940
push eax
call fcn.00610458
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.00610458
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.006108ae
mov esp, ebp
pop ebp
ret 8