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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57b833
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5d52e0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x98]
lea eax, [edi + 0x98]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 0x9c]
je 0x53e2bc
cmp dword [esi + 0x28], 0
je 0x53e2a7
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x110]
mov ecx, dword [esi + 4]
push eax
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
push 0x5a95c8
push 0x5a9974
mov ecx, edi
mov dword [esp + 0xd0], 0
call fcn.00402c50
mov ebx, edi
call fcn.004036f0
mov ebx, eax
call fcn.00403770
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x53e267
mov dword [esp + 0xc8], 0xffffffff
jmp 0x53e28b
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x18]
push 0
push eax
add ecx, 0x120
call fcn.00416511
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53e2a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
add esi, 0x60
cmp esi, dword [ecx + 0x9c]
jne 0x53e202
mov edi, ecx
xor esi, esi
xor ecx, ecx
cmp dword [edi + 0x110], 0x9fbf1
jne 0x53e2cf
lea ecx, [esi + 1]
mov ebx, dword [0x5dd530]
cmp ebx, esi
jne 0x53e2dd
xor eax, eax
jmp 0x53e2f2
mov edx, dword [ecx*4 + 0x5dd9a0]
push 0x2000000
push edx
call ebx
mov ebx, dword [0x5dd530]
xor ecx, ecx
cmp dword [edi + 0x110], 0x9fbf1
jne 0x53e305
mov ecx, 1
cmp ebx, esi
jne 0x53e312
mov dword [esp + 0x84], esi
jmp 0x53e32f
add eax, 0xff040000
push eax
mov eax, dword [ecx*4 + 0x5dd9a0]
push eax
call ebx
mov ebx, dword [0x5dd530]
mov dword [esp + 0x84], eax
xor ecx, ecx
cmp dword [edi + 0x110], 0x9fbf1
jne 0x53e342
mov ecx, 1
cmp ebx, esi
je 0x53e367
mov ecx, dword [ecx*4 + 0x5dd9a0]
push 0x10018
push ecx
call ebx
cmp eax, 0x13ba
jne 0x53e367
mov dword [esp + 0x84], 0x127a
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x98]
push edx
push eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
sub ebx, dword [esp + 0x9c]
sub esi, dword [esp + 0x98]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0x28], ebx
lea ebx, [edi + 0xa8]
mov dword [eax + 0x24], esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp eax, ecx
je 0x53e409
mov edx, dword [esp + 0x14]
push edx
push ecx
call fcn.0040b600
mov ecx, dword [ebx + 4]
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov esi, eax
cmp eax, ecx
je 0x53e406
push esi
call fcn.00539950
add esi, 0x60
cmp esi, dword [esp + 0x10]
jne 0x53e3f3
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004126d5
mov edx, dword [eax + 0x20]
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x88]
push ecx
push edx
mov dword [esp + 0x9c], 0x14
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
cmp eax, 0x24
jge 0x53e469
mov esi, 0x24
xor eax, eax
jmp 0x53e471
mov esi, eax
xor eax, eax
cmp esi, eax
jl 0x53e4cb
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
lea ecx, [esi*4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0xbc], eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xac]
cmp esi, eax
jle 0x53e4cd
mov eax, esi
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x40], 0xfffffffe
mov dword [ecx + 0x44], 0xffffffff
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
push 1
lea esi, [esp + 0x8c]
mov dword [esp + 0xcc], 1
call fcn.00403cd0
mov eax, dword [esp + 0x8c]
xor edi, edi
cmp eax, edi
je 0x53e528
mov dword [eax], 0x24
mov edx, dword [esp + 0x88]
add eax, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x1c], 0x24
cmp ecx, eax
jae 0x53e5eb
cmp edx, ecx
ja 0x53e5eb
mov esi, ecx
mov ecx, dword [esp + 0x90]
sub esi, edx
sar esi, 2
mov dword [esp + 0x10], esi
cmp eax, ecx
jne 0x53e5d9
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, 0x3ffffffe
jbe 0x53e584
push str.vector_T__too_long
call fcn.0051b7f8
inc esi
mov dword [esp + 0x14], esi
mov esi, ecx
sub esi, edx
mov edx, dword [esp + 0x14]
sar esi, 2
cmp edx, esi
jbe 0x53e5ce
mov eax, esi
shr eax, 1
mov ecx, 0x3fffffff
sub ecx, eax
cmp ecx, esi
jae 0x53e5ab
xor esi, esi
jmp 0x53e5ad
add esi, eax
cmp esi, edx
jae 0x53e5b3
mov esi, edx
push esi
lea esi, [esp + 0x8c]
call fcn.00403cd0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
cmp eax, edi
je 0x53e66a
mov esi, dword [edx + esi*4]
mov dword [eax], esi
jmp 0x53e66a
mov ecx, dword [esp + 0x90]
cmp eax, ecx
jne 0x53e660
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, 0x3ffffffe
jbe 0x53e60f
push str.vector_T__too_long
call fcn.0051b7f8
inc esi
mov dword [esp + 0x14], esi
mov esi, ecx
sub esi, edx
mov edx, dword [esp + 0x14]
sar esi, 2
cmp edx, esi
jbe 0x53e659
mov eax, esi
shr eax, 1
mov ecx, 0x3fffffff
sub ecx, eax
cmp ecx, esi
jae 0x53e636
xor esi, esi
jmp 0x53e638
add esi, eax
cmp esi, edx
jae 0x53e63e
mov esi, edx
push esi
lea esi, [esp + 0x8c]
call fcn.00403cd0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
cmp eax, edi
je 0x53e66a
mov dword [eax], 0x24
add eax, 4
lea esi, [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x1c], 0x311
cmp esi, eax
jae 0x53e701
cmp edx, esi
ja 0x53e701
sub esi, edx
sar esi, 2
mov dword [esp + 0x10], esi
cmp eax, ecx
jne 0x53e6f6
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, 0x3ffffffe
jbe 0x53e6b2
push str.vector_T__too_long
call fcn.0051b7f8
sub ecx, edx
inc esi
sar ecx, 2
cmp esi, ecx
jbe 0x53e6f2
mov eax, ecx
shr ecx, 1
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, eax
jae 0x53e6cf
xor eax, eax
jmp 0x53e6d1
add eax, ecx
cmp eax, esi
jae 0x53e6d7
mov eax, esi
push eax
lea esi, [esp + 0x8c]
call fcn.00403cd0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
cmp eax, edi
je 0x53e768
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
jmp 0x53e768
cmp eax, ecx
jne 0x53e75e
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, 0x3ffffffe
jbe 0x53e71e
push str.vector_T__too_long
call fcn.0051b7f8
sub ecx, edx
inc esi
sar ecx, 2
cmp esi, ecx
jbe 0x53e75e
mov eax, ecx
shr ecx, 1
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, eax
jae 0x53e73b
xor eax, eax
jmp 0x53e73d
add eax, ecx
cmp eax, esi
jae 0x53e743
mov eax, esi
push eax
lea esi, [esp + 0x8c]
call fcn.00403cd0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
cmp eax, edi
je 0x53e768
mov dword [eax], 0x311
add eax, 4
mov dword [esp + 0x8c], eax
sub eax, edx
sar eax, 2
cmp eax, 2
ja 0x53e786
push str.invalid_vector_T__subscript
call fcn.0051b845
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov dword [edx + 8], 0x2fc
mov esi, dword [eax + 0x110]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0x1f64
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xfd8
call fcn.0040be10
mov byte [esp + 0xc8], 2
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53e80e
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 3
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53e898
mov eax, dword [ebx]
cmp eax, edx
ja 0x53e898
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53e874
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 4
cmp ecx, edi
je 0x53e8c7
push ecx
mov edi, eax
jmp 0x53e8c0
cmp ecx, dword [ebx + 8]
jne 0x53e8a4
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 5
cmp eax, edi
je 0x53e8c7
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x110]
mov dword [esp + 0x24], 0x339f
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xfb4
mov dword [esp + 0x34], 0xfa0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53e949
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 6
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53e9d3
mov eax, dword [ebx]
cmp eax, edx
ja 0x53e9d3
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53e9af
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 7
cmp ecx, edi
je 0x53ea02
push ecx
mov edi, eax
jmp 0x53e9fb
cmp ecx, dword [ebx + 8]
jne 0x53e9df
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 8
cmp eax, edi
je 0x53ea02
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], 0x2ff
mov esi, dword [edx + 0x110]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0x1f65
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xff1
call fcn.0040be10
mov byte [esp + 0xc8], 9
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53eaa7
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0xa
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53eb31
mov eax, dword [ebx]
cmp eax, edx
ja 0x53eb31
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53eb0d
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0xb
cmp ecx, edi
je 0x53eb60
push ecx
mov edi, eax
jmp 0x53eb59
cmp ecx, dword [ebx + 8]
jne 0x53eb3d
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0xc
cmp eax, edi
je 0x53eb60
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x110]
mov dword [esp + 0x24], 0x339f
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xfb4
mov dword [esp + 0x34], 0xfa0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53ebe2
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0xd
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53ec6c
mov eax, dword [ebx]
cmp eax, edx
ja 0x53ec6c
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53ec48
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0xe
cmp ecx, edi
je 0x53ec9b
push ecx
mov edi, eax
jmp 0x53ec94
cmp ecx, dword [ebx + 8]
jne 0x53ec78
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0xf
cmp eax, edi
je 0x53ec9b
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], 0x311
mov esi, dword [edx + 0x110]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0x1f68
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xfd8
call fcn.0040be10
mov byte [esp + 0xc8], 0x10
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53ed40
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0x11
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53edca
mov eax, dword [ebx]
cmp eax, edx
ja 0x53edca
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53eda6
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0x12
cmp ecx, edi
je 0x53edf9
push ecx
mov edi, eax
jmp 0x53edf2
cmp ecx, dword [ebx + 8]
jne 0x53edd6
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0x13
cmp eax, edi
je 0x53edf9
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], 0x310
mov esi, dword [edx + 0x110]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0x1f67
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xfd8
call fcn.0040be10
mov byte [esp + 0xc8], 0x14
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53ee9e
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0x15
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53ef28
mov eax, dword [ebx]
cmp eax, edx
ja 0x53ef28
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53ef04
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0x16
cmp ecx, edi
je 0x53ef57
push ecx
mov edi, eax
jmp 0x53ef50
cmp ecx, dword [ebx + 8]
jne 0x53ef34
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0x17
cmp eax, edi
je 0x53ef57
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], 0x312
mov esi, dword [edx + 0x110]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0x1f69
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xfd8
call fcn.0040be10
mov byte [esp + 0xc8], 0x18
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53effc
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0x19
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53f086
mov eax, dword [ebx]
cmp eax, edx
ja 0x53f086
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53f062
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0x1a
cmp ecx, edi
je 0x53f0b5
push ecx
mov edi, eax
jmp 0x53f0ae
cmp ecx, dword [ebx + 8]
jne 0x53f092
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0x1b
cmp eax, edi
je 0x53f0b5
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
cmp dword [esp + 0x84], 0x127a
jne 0x53f27d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x110]
mov dword [esp + 0x24], 0x339f
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xfb4
mov dword [esp + 0x34], 0xfa0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53f148
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x1c
call fcn.0040b230
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xcc], 1
call fcn.00539950
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov dword [edx + 8], 0x305
mov esi, dword [eax + 0x110]
xor edi, edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], 0xd5a
mov dword [esp + 0x2c], 0xe35
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xfb4
mov dword [esp + 0x38], 0xfa0
mov dword [esp + 0x3c], 0xfd8
call fcn.0040be10
mov byte [esp + 0xc8], 0x1d
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53f22a
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x1e
call fcn.0040b230
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xcc], 1
call fcn.00539950
xor edi, edi
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x110]
mov dword [esp + 0x24], 0xd48
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xfb4
mov dword [esp + 0x34], 0xfa0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call fcn.0040c84f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x53f2e9
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov byte [esp + 0xc8], 0x1f
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x53f373
mov eax, dword [ebx]
cmp eax, edx
ja 0x53f373
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x53f34f
mov ecx, ebx
call fcn.0040b420
mov ecx, dword [ebx + 4]
lea eax, [esi + esi*2]
shl eax, 5
add eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0xc8], 0x20
cmp ecx, edi
je 0x53f3a2
push ecx
mov edi, eax
jmp 0x53f39b
cmp ecx, dword [ebx + 8]
jne 0x53f37f
mov ecx, ebx
call fcn.0040b420
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 0x21
cmp eax, edi
je 0x53f3a2
push eax
lea edi, [esp + 0x28]
call fcn.00539b00
xor edi, edi
add dword [ebx + 4], 0x60
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 1
call fcn.00539950
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00536520
mov edx, dword [esp + 0x20]
push 1
push edx
call fcn.00536c50
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp eax, ecx
je 0x53f42b
mov edx, dword [esp + 0x14]
push edx
push ecx
call fcn.0040b600
mov ecx, dword [ebx + 4]
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], eax
cmp eax, ecx
je 0x53f424
nop
mov eax, dword [esp + 0x84]
push eax
call fcn.00539950
mov eax, dword [esp + 0x84]
add eax, 0x60
mov dword [esp + 0x84], eax
cmp eax, dword [esp + 0x14]
jne 0x53f400
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xc4]
push 6
push ecx
push eax
push edi
push edi
push 0x5d8620
mov ecx, esi
call fcn.0041ac47
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x9c]
je 0x53f5a6
nop
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x53f58f
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
cmp ecx, 0xe2f
je 0x53f57d
cmp ecx, 0xe31
je 0x53f57d
cmp ecx, 0xe35
je 0x53f57d
mov eax, dword [esi + 0x110]
push eax
lea edi, [esp + 0x1c]
call fcn.00530ca0
add esp, 4
push 0x5a95c8
push 0x5a9974
mov ecx, edi
mov byte [esp + 0xd0], 0x22
call fcn.00402c50
mov ebx, edi
call fcn.004036f0
mov ebx, eax
call fcn.00403770
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x53f50b
add eax, 0xfffffff0
mov byte [esp + 0xc8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53f58f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x53f58f
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x28]
push 0x58025c
call fcn.00419148
push 0
push 0
test eax, eax
je 0x53f548
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x20]
push ecx
push 0
push 0
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.004126d5
push eax
jmp 0x53f551
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 0x28]
push eax
push edi
lea ecx, [esi + 0x120]
call fcn.00416427
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x53f4f6
push 0
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x120]
call fcn.00416427
mov eax, dword [esp + 0x20]
add eax, 0x60
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x9c]
jne 0x53f460
mov eax, dword [esp + 0x88]
test eax, eax
je 0x53f5ba
push eax
call fcn.0040c6ec
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004ff57c
mov esp, ebp
pop ebp
ret