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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
cmp dword [0x1018ed14], 0
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
je 0x52b5ab
test eax, eax
je 0x52b5ab
mov dword [eax], 0
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004c3240
mov edi, dword [ebp + 0x10]
lea esi, [edi + 4]
add esp, 8
cmp dword [esi], 0
je 0x52b716
lea edx, [esp + 0x14]
push edx
lea ecx, [ebx + 0x14]
push esi
mov dword [esp + 0x78], ecx
call fcn.005288b0
test eax, eax
je 0x52b716
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x52b6cf
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x52b6cf
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.004c3240
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [edi + 8]
push eax
call edx
test eax, eax
je 0x52b684
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x20]
call fcn.004e4310
lea ecx, [esp + 0x18]
call fcn.004e4310
lea ecx, [esp + 0x14]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00528b10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
mov esi, eax
push edx
mov dword [esp + 0x30], esi
call fcn.005289e0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x52b6bb
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x52b660
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
je 0x52b6f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52cb18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xb0]
call fcn.0053d0f0
push 0
lea eax, [esp + 0xb4]
push eax
push edi
mov ecx, ebx
call fcn.0052b400
test eax, eax
jne 0x52b7e4
cmp dword [0x1018ed58], eax
je 0x52b76e
push 0x10091b2c
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
cmp dword [ebx + 0x38], 1
jne 0x52b7d9
mov esi, dword [esi]
test esi, esi
je 0x52b79e
push esi
call fcn.005376b0
add esp, 4
test eax, eax
je 0x52b79e
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
jmp 0x52cb03
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0xb0]
call fcn.00526410
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52cb18
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x52b7b0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0053d000
jmp 0x52b800
lea ecx, [esp + 0xb0]
call fcn.0053d0e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x44], esi
call eax
test eax, eax
je 0x52bd52
mov ecx, esi
call fcn.00537540
test eax, eax
jne 0x52c1a3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x52ba23
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
call eax
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x52c438
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x104]
push eax
call edx
mov ecx, eax
call fcn.0053aad0
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x60]
push edx
call eax
lea ecx, [esp + 0x100]
call fcn.00525460
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.004c3240
lea edx, [esp + 0x84]
push 4
push edx
call fcn.004c3240
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.005261d0
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0xa4]
call fcn.0053d080
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.0052b400
test eax, eax
je 0x52c1ba
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0xb4]
call fcn.0053d000
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x80]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x52c240
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52b979
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x52b9aa
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x52b9aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0xa0]
call fcn.0053d0b0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x52b9ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x52b9de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x52b9f2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x52ba06
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x52b800
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebx
jmp 0x52b800
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x38], 1
jne 0x52bc23
lea eax, [esp + 0x38]
push 4
push eax
call fcn.004c3240
lea ecx, [esp + 0x40]
push ecx
call fcn.004ed630
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x52c44b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x40]
push eax
call edx
cmp dword [esp + 0x40], ebx
je 0x52c724
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xfc]
push eax
call edx
mov ecx, eax
call fcn.0053aad0
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x30]
push edx
call eax
lea ecx, [esp + 0xf8]
call fcn.00525460
lea ecx, [esp + 0x90]
push 4
push ecx
call fcn.004c3240
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.004c3240
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.005261d0
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0x74]
call fcn.0053d080
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.0052b400
test eax, eax
je 0x52c4c6
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0xb4]
call fcn.0053d000
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x10]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x52c53b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52bb70
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x52bba1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x52bba1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x70]
call fcn.0053d0b0
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x52bbc4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x52bbde
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x52bbf2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x52bc06
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x52b800
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], ebx
jmp 0x52b800
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x1018efa4]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add ecx, 0x6a0
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
cmp dword [edi + 0x38], 1
mov esi, eax
jne 0x52bc99
cmp esi, 0xc0000022
jne 0x52bc99
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x1018efa4]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x6a0]
add ecx, 0x6a0
push 0x2000000
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov esi, eax
test esi, esi
jne 0x52c7c4
test ebx, ebx
je 0x52bcab
mov dword [ebx], 1
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0053d080
mov eax, dword [ebp + 0x10]
push 0
lea edx, [esp + 0xb4]
push edx
push eax
mov ecx, edi
call fcn.0052b400
test eax, eax
je 0x52c737
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0053d000
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x10]
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
cmp ebx, eax
je 0x52c7a7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x52bd18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x52bd44
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x52bd44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x48]
call fcn.0053d0b0
jmp 0x52b800
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x52c7d7
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 1
jne 0x52caf1
mov ecx, esi
call fcn.00537540
test eax, eax
je 0x52c90b
lea ecx, [esp + 0x5c]
push 4
push ecx
call fcn.004c3240
lea edx, [esp + 0x68]
push 4
push edx
call fcn.004c3240
lea eax, [esp + 0x34]
push 4
push eax
call fcn.004c3240
mov edi, dword [esp + 0x28]
xor ebx, ebx
add esp, 0x18
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x52bdbf
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
lea ecx, [esp + 0xa8]
call fcn.00537610
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00537580
test eax, eax
je 0x52bfd6
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x10c]
push edx
call fcn.005370a0
mov esi, dword [0x1018efa4]
push ebx
push 0x40
push eax
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x2c], ebx
add esi, 0x850
call fcn.0050aa80
mov ecx, eax
call fcn.0050aab0
mov edx, dword [esi]
push eax
push 1
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
add esi, 1
call fcn.004c4570
cmp esi, ebx
je 0x52bf35
lea ecx, [esp + 0x54]
push 4
push ecx
call fcn.004c3240
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
add esp, 8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x52bee7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xa8]
push eax
push edi
lea eax, [esp + 0x30]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x52beae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x54], eax
je 0x52bec4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x52bedc
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ebx
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.005261d0
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0x54]
cmp edi, ebx
je 0x52bf13
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x52bf13
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa8]
push eax
call fcn.00537580
test eax, eax
jne 0x52bde2
mov dword [esp + 0x1c], edi
jmp 0x52bfd6
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
call fcn.00537540
test eax, eax
jne 0x52c919
lea ecx, [esp + 0x24]
push ecx
call fcn.004ed630
add esp, 4
cmp eax, ebx
jne 0x52c947
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xb0]
push edx
push edi
lea edx, [esp + 0xb4]
push edx
call eax
mov ecx, dword [esp + 0xa4]
push ecx
push edi
lea ecx, [esp + 0x64]
call fcn.005261d0
cmp edi, ebx
je 0x52bfa5
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0xa4]
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x52bfd6
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x52bfd6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
test eax, eax
je 0x52c958
lea eax, [esp + 0x58]
push 4
push eax
call fcn.004c3240
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x58]
push ecx
push edx
push 0x1008241c
lea ecx, [esp + 0xe4]
mov ebx, eax
add esi, 0x10
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
test eax, eax
jne 0x52c9ce
lea ecx, [esp + 0x4c]
push 4
push ecx
call fcn.004c3240
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x60]
add esp, 8
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
push 0x1008241c
lea ecx, [esp + 0x74]
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
push edi
call fcn.004eec00
add esp, 0x14
test eax, eax
jne 0x52c9ef
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x78]
call fcn.0053d080
mov ecx, dword [ebp + 0x10]
push 0
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, esi
call fcn.0052b400
test eax, eax
je 0x52ca19
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xb4]
call fcn.0053d000
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
call edx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x52ca86
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x52c0f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x52c125
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x52c125
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x74]
call fcn.0053d0b0
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x52c142
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x52c156
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], esi
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x52c172
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x52c186
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x52b800
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x5c], esi
jmp 0x52b800
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x52cafa
cmp dword [0x1018ed58], ebx
je 0x52c1ec
push 0x10091b2c
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
cmp dword [edi + 0x38], 1
jne 0x52c235
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
lea ecx, [esp + 0xa0]
call fcn.0053d0b0
lea ecx, [esp + 0x78]
call fcn.0050b4f0
lea ecx, [esp + 0x50]
call fcn.004e4310
lea ecx, [esp + 0x30]
call fcn.004e4310
lea ecx, [esp + 0x3c]
call fcn.004e4310
jmp 0x52cafa
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x52c200
lea ecx, [esp + 0x78]
call fcn.00526160
lea ecx, [esp + 0x80]
call fcn.004e4310
lea ecx, [esp + 0xa0]
call fcn.0053d0b0
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.004c3240
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x9c]
push eax
push ecx
push 0x1008241c
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x52c335
cmp dword [0x1018ed58], 0
je 0x52c310
push 0x10082b00
push esi
lea ecx, [esp + 0xe0]
call fcn.00526970
push eax
push 0x100918ac
push 0x10091af0
lea ecx, [esp + 0x74]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d9190
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
lea ecx, [esp + 0xd8]
call fcn.004c4e20
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x9c]
call fcn.004e4310
jmp 0x52c20c
lea edx, [esp + 0x88]
push 4
push edx
call fcn.004c3240
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x58]
add esp, 8
lea eax, [esp + 0x88]
push eax
push ecx
push edx
push 0x1008241c
lea ecx, [esp + 0x74]
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
push esi
call fcn.004eec00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52c3e8
cmp dword [0x1018ed58], 0
je 0x52c3b7
push 0x10091ac0
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x88]
call fcn.004e4310
lea ecx, [esp + 0x9c]
call fcn.004e4310
jmp 0x52c20c
mov edx, dword [esp + 0x88]
push edx
mov ecx, edi
call fcn.00528b10
mov esi, eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005289e0
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x52c424
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x52c3cb
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x52c21e
cmp dword [0x1018ed58], ebx
je 0x52c4aa
push 0x10082b00
push eax
lea ecx, [esp + 0xe0]
call fcn.00526970
push eax
push 0x100918d4
push 0x10091af0
lea ecx, [esp + 0x74]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d9190
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
lea ecx, [esp + 0xd8]
call fcn.004c4e20
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
lea ecx, [esp + 0x38]
mov dword [edx], 0xc0000229
call fcn.004e4310
jmp 0x52cafa
cmp dword [0x1018ed58], ebx
je 0x52c4f8
push 0x10091b2c
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], ebx
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x70]
call fcn.0053d0b0
lea ecx, [esp + 0x90]
call fcn.0050b4f0
lea ecx, [esp + 0x20]
call fcn.004e4310
lea ecx, [esp + 0x40]
call fcn.004e4310
lea ecx, [esp + 0x38]
call fcn.004e4310
jmp 0x52cafa
lea ecx, [esp + 0x90]
call fcn.00526160
lea ecx, [esp + 0x8c]
call fcn.004e4310
lea ecx, [esp + 0x70]
call fcn.0053d0b0
lea edx, [esp + 0x34]
push 4
push edx
call fcn.004c3240
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x34]
push eax
push ecx
push 0x1008241c
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x52c627
cmp dword [0x1018ed58], 0
je 0x52c605
push 0x10082b00
push esi
lea ecx, [esp + 0xe0]
call fcn.00526970
push eax
push 0x100918ac
push 0x10091af0
lea ecx, [esp + 0x74]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d9190
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
lea ecx, [esp + 0xd8]
call fcn.004c4e20
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x34]
call fcn.004e4310
jmp 0x52c50f
lea edx, [esp + 0x98]
push 4
push edx
call fcn.004c3240
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x98]
push eax
push ecx
push edx
push 0x1008241c
lea ecx, [esp + 0x74]
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
push esi
call fcn.004eec00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x52c6d4
cmp dword [0x1018ed58], 0
je 0x52c6a6
push 0x10091ac0
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x98]
call fcn.004e4310
lea ecx, [esp + 0x34]
call fcn.004e4310
jmp 0x52c50f
mov edx, dword [esp + 0x98]
push edx
mov ecx, edi
call fcn.00528b10
mov esi, eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005289e0
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x52c710
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x52c6ba
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x52c524
cmp dword [0x1018ed58], 0
je 0x52c76a
push 0x10091b2c
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
cmp dword [edi + 0x38], 1
jne 0x52c790
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0x48]
mov dword [edx], 0xc0000229
call fcn.0053d0b0
jmp 0x52cafa
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x48]
mov dword [eax], 1
call fcn.0053d0b0
jmp 0x52cafa
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x2c]
call fcn.004e4310
lea ecx, [esp + 0x48]
call fcn.0053d0b0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], esi
jmp 0x52cafa
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x48]
push edx
call eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00537550
lea edx, [esp + 0x34]
push 4
push edx
call fcn.004c3240
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add esp, 8
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x74]
push edx
mov edx, dword [ebp + 0x18]
push esi
push edx
lea edx, [esp + 0xb8]
push edx
call eax
test eax, eax
je 0x52c85a
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x34]
mov dword [edx], eax
call fcn.004e4310
lea ecx, [esp + 0x48]
call fcn.004e4310
jmp 0x52cafa
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.004c3240
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
call fcn.004eec00
add esp, 0x1c
test eax, eax
je 0x52c8bd
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.004e4310
lea ecx, [esp + 0x34]
call fcn.004e4310
lea ecx, [esp + 0x48]
call fcn.004e4310
jmp 0x52cafa
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.00528b10
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005289e0
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x52c8f7
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x52c89d
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x52cafa
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x1c]
call fcn.004e4310
lea ecx, [esp + 0x24]
call fcn.004e4310
lea ecx, [esp + 0x5c]
call fcn.0050b4f0
jmp 0x52cafa
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x52c927
mov ecx, dword [0x1018efa4]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x850]
mov esi, dword [ebp + 8]
push edi
add ecx, 0x850
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x38], 1
jne 0x52c9ae
cmp eax, 0xc0000022
jne 0x52c9ae
mov ecx, dword [0x1018efa4]
mov edx, dword [ecx + 0x850]
mov eax, dword [edx + 0x24]
push edi
add ecx, 0x850
push 0x2000000
push esi
call eax
call eax
cmp eax, ebx
jne 0x52c9bf
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x52c9bf
mov dword [ecx], 2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x52c927
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x58]
mov dword [edx], eax
call fcn.004e4310
jmp 0x52c927
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x4c]
call fcn.004e4310
lea ecx, [esp + 0x58]
call fcn.004e4310
jmp 0x52c927
cmp dword [0x1018ed58], 0
je 0x52ca4c
push 0x10091b2c
push 0x10091af0
lea ecx, [esp + 0x6c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x64]
call fcn.004d7f10
cmp dword [esi + 0x38], 1
jne 0x52ca6f
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x74]
call fcn.0053d0b0
jmp 0x52ca02
mov edx, dword [ebp + 0x24]
lea ecx, [esp + 0x74]
mov dword [edx], 1
call fcn.0053d0b0
jmp 0x52ca02
lea ecx, [esp + 0x5c]
call fcn.00526160
lea ecx, [esp + 0x84]
call fcn.004e4310
lea ecx, [esp + 0x74]
call fcn.0053d0b0
mov eax, dword [esp + 0x4c]
push eax
mov ecx, esi
call fcn.00528b10
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
mov edi, eax
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], edi
call fcn.005289e0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x52cada
mov dword [eax], 1
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x52ca02
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
lea ecx, [esp + 0x10]
call fcn.004e4310
lea ecx, [esp + 0xb0]
call fcn.00526410
lea ecx, [esp + 0x14]
call fcn.004e4310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24