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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
cmp dword [0x1018ed58], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x30], ecx
je 0x51702f
push 0x10082b00
push 0x10090ba0
push esi
push 0x10090b94
push 0x10090b5c
lea ecx, [esp + 0x200]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8020
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x1ec]
call fcn.004d7f10
lea ecx, [esp + 0x24]
call fcn.004df200
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.004c3240
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.004c3240
lea edx, [esp + 0x2c]
push 4
push edx
call fcn.004c3240
lea eax, [esp + 0x38]
push 4
push eax
call fcn.004c3240
add esp, 0x20
lea ecx, [esp + 0x7c]
call fcn.0053ae20
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.0050aab0
push eax
push esi
call dword [0x1018ef38]
test al, al
je 0x51921b
mov edi, dword [ebp + 0xc]
jmp 0x5170a0
mov ebx, dword [ebp + 0x24]
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x100]
call fcn.0053ce10
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.004c3240
add esp, 8
lea ecx, [esp + 0x100]
call fcn.0053d0e0
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x40], eax
call fcn.0053cdb0
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x80]
call fcn.0053aad0
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x100]
push ecx
push 0
push 0x40
push edx
push eax
lea ecx, [esp + 0x304]
call fcn.0050ab00
mov ecx, eax
call fcn.0050aab0
push eax
push 0
lea ecx, [esp + 0x314]
call fcn.0050aa80
mov ecx, eax
call fcn.0050aab0
push eax
mov ecx, esi
call fcn.005135d0
test eax, eax
je 0x519327
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x104]
call fcn.0053d000
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x517170
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], 0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
je 0x517182
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x168]
test eax, eax
je 0x5171a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x168], 0
mov esi, dword [esp + 0x3c]
push esi
lea ecx, [esp + 0x1c4]
call fcn.00537160
lea eax, [esp + 0x40]
push 4
push eax
call fcn.004c3240
add esp, 8
lea ecx, [esp + 0x268]
call fcn.005372a0
lea ecx, [esp + 0x268]
push ecx
mov ecx, esi
call fcn.00537190
test eax, eax
je 0x517213
cmp dword [esp + 0x274], 1
je 0x517213
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5171f9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x40], eax
je 0x5172c0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x517274
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x144]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x517240
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x40], ecx
je 0x517256
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x144]
test eax, eax
je 0x517278
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x144], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x5172c0
lea esp, [esp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test eax, eax
jne 0x519345
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x194]
push eax
call edx
push eax
lea ecx, [esp + 0x44]
call fcn.0050afb0
lea ecx, [esp + 0x194]
call fcn.004e4310
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x517280
lea ecx, [esp + 0x40]
call fcn.004e4310
lea ecx, [esp + 0x1c0]
call fcn.00537180
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
test eax, eax
jne 0x5172f3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
test eax, eax
je 0x517329
lea ecx, [esp + 0x100]
call fcn.0053ade0
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x104]
call fcn.0053d000
push eax
lea ecx, [esp + 0x18]
call fcn.0050afb0
lea ecx, [esp + 0x190]
call fcn.004e4310
cmp dword [esp + 0x10], 0
je 0x517358
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x14]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x18], eax
call edx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x5193bf
mov esi, dword [ebp + 0x28]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
call fcn.0050afb0
lea ecx, [esp + 0x18]
call fcn.004e4310
lea ecx, [esp + 0x1c]
call fcn.0050af70
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.0050afb0
lea ecx, [esp + 0xb0]
call fcn.0053cde0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
call fcn.004dbf50
lea ecx, [esp + 0xe0]
call fcn.005372a0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xe0]
push eax
call fcn.00537190
test eax, eax
je 0x517613
mov esi, dword [esp + 0x28]
jmp 0x5173e0
mov eax, dword [esp + 0xec]
sub eax, 0
jne 0x5177e4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, 1
je 0x517d82
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test eax, eax
jne 0x517dbf
lea ecx, [esp + 0x54]
call fcn.00525340
lea ecx, [esp + 0x5c]
call fcn.00525340
cmp dword [esp + 0xe0], 0
je 0x517477
lea ecx, [esp + 0xe4]
push ecx
call fcn.005247f0
add esp, 4
test eax, eax
je 0x518772
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push edx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x180], 0x10
call fcn.005253e0
push eax
lea ecx, [esp + 0x58]
call fcn.00525440
jmp 0x5174d3
lea ecx, [esp + 0xe4]
push ecx
call fcn.00524190
add esp, 4
test eax, eax
je 0x51956c
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xf0]
push edx
push eax
lea ecx, [esp + 0x2cc]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00536f70
push eax
call fcn.00524870
add esp, 0x14
test eax, eax
je 0x518772
test dword [esp + 0x178], 0x10
jne 0x51752c
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x18c]
call fcn.00537160
lea ecx, [esp + 0x210]
call fcn.005372a0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x210]
push eax
call fcn.00537190
test eax, eax
je 0x517520
cmp dword [esp + 0x21c], 0
je 0x518118
lea ecx, [esp + 0x188]
call fcn.00537180
mov ecx, dword [esp + 0x3c]
call fcn.005370f0
test eax, eax
je 0x5184db
lea ecx, [esp + 0x1f8]
push ecx
lea ecx, [esp + 0x60]
call fcn.0053aad0
lea edx, [esp + 0x240]
push edx
lea ecx, [esp + 0x58]
call fcn.0053aad0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push 2
lea eax, [esp + 0x1fc]
push eax
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0xc4]
push eax
call edx
mov eax, dword [esp + 0xb8]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [esp + 0xb8]
test esi, esi
mov dword [esp + 0x28], esi
je 0x5175d9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x5175d9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x5c]
call fcn.00525460
lea ecx, [esp + 0x54]
call fcn.00525460
lea ecx, [esp + 0xe0]
call fcn.005372a0
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00537190
test eax, eax
jne 0x5173e0
mov esi, dword [ebp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp eax, 3
push 4
jne 0x518f2b
lea eax, [esp + 0x78]
push eax
call fcn.004c3240
add esp, 8
test esi, esi
jne 0x518ef1
lea ecx, [esp + 0x74]
push ecx
call fcn.0053d020
add esp, 4
lea ecx, [esp + 0x98]
push 4
push ecx
call fcn.004c3240
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x98]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x20c]
push eax
call edx
mov ecx, eax
call fcn.0053aad0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x9c]
push eax
call edx
lea ecx, [esp + 0x208]
call fcn.00525460
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov ebx, dword [esp + 0x94]
lea edx, [esp + 0x16c]
push edx
call eax
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x517709
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x16c], 0
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
push ecx
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push ebx
lea edx, [esp + 0x168]
push esi
push edx
call fcn.004f2c60
mov ebx, dword [eax]
xor esi, esi
add esp, 0x14
cmp ebx, esi
je 0x517751
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x517761
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp ebx, esi
mov dword [esp + 0x10], ebx
je 0x517779
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x15c]
cmp eax, esi
je 0x517793
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x15c], esi
mov eax, dword [esp + 0x94]
cmp eax, esi
je 0x5177ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x98]
cmp eax, esi
je 0x5177c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x74], esi
jmp 0x519174
sub eax, 1
jne 0x519174
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test eax, eax
je 0x517b1d
cmp dword [ebp + 0x28], 0
jne 0x517ae0
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
add eax, 2
lea edx, [esp + 0x38]
add ecx, 0xfffffffe
push 4
push edx
mov dword [esp + 0x104], ecx
mov word [esp + 0x100], ax
mov word [esp + 0x102], ax
call fcn.004c3240
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
add esp, 8
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call edx
mov ebx, dword [ebp + 0x18]
lea eax, [ebx - 1]
cmp eax, 4
ja 0x519438
jmp dword [eax*4 + 0x1005a7d8]
cmp dword [0x1018ed58], 0
je 0x517b0d
push 0x10090af8
lea ecx, [esp + 0x27c]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x278]
call fcn.004d7f10
push 3
lea ecx, [esp + 0x28]
call fcn.004df220
jmp 0x519174
lea eax, [esp + 0x64]
push 4
push eax
call fcn.004c3240
mov ebx, dword [ebp + 0x28]
add esp, 8
test ebx, ebx
je 0x517bef
lea ecx, [esp + 0x88]
push 4
push ecx
call fcn.004c3240
mov edx, dword [ebx]
mov ecx, dword [edx]
add esp, 8
lea eax, [esp + 0x88]
push eax
push 0x100925a8
push ebx
call ecx
test eax, eax
je 0x517bd1
xor esi, esi
cmp dword [0x1018ed58], esi
je 0x517b8f
push 0x10090a90
lea ecx, [esp + 0x294]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x290]
call fcn.004d7f10
push 3
lea ecx, [esp + 0x28]
call fcn.004df220
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x517bb4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], esi
jmp 0x519174
mov eax, dword [esp + 0x88]
test eax, eax
je 0x517bef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x88], 0
lea eax, [esp + 0x64]
push eax
call fcn.0053d020
add esp, 4
test eax, eax
je 0x517c21
mov eax, dword [esp + 0x64]
test eax, eax
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], 0
jmp 0x519174
lea eax, [esp + 0x84]
push 4
push eax
call fcn.004c3240
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x84]
push eax
call edx
test eax, eax
je 0x517c6f
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, esi
je 0x517bb4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
jmp 0x517bb4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x98]
push eax
call edx
mov eax, dword [esp + 0x90]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
push ecx
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea edx, [esp + 0x144]
push ebx
push edx
call fcn.004f2c60
mov esi, dword [eax]
xor ebx, ebx
add esp, 0x14
cmp esi, ebx
je 0x517cef
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x517cff
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x517d17
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x517d31
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x138], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x517d4b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x517d65
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], ebx
jmp 0x519174
cmp dword [0x1018ed58], 0
je 0x517daf
push 0x10090a48
lea ecx, [esp + 0x2a0]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x29c]
call fcn.004d7f10
push 3
lea ecx, [esp + 0x28]
call fcn.004df220
jmp 0x519174
cmp dword [ebp + 0x28], 0
jne 0x5180db
mov eax, dword [esp + 0xe8]
push eax
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00536fd0
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x34]
push 4
push eax
call fcn.004c3240
mov eax, dword [ebp + 0x18]
add eax, 0xffffffff
add esp, 8
cmp eax, 4
ja 0x5194d2
jmp dword [eax*4 + 0x1005a7ec]
cmp dword [0x1018ed58], 0
je 0x518108
push 0x100909e0
lea ecx, [esp + 0x1cc]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x1c8]
call fcn.004d7f10
push 3
lea ecx, [esp + 0x28]
call fcn.004df220
jmp 0x519174
cmp dword [ebp + 0x28], 0
je 0x51812f
lea ecx, [esp + 0x188]
call fcn.00537180
jmp 0x518eda
lea eax, [esp + 0x6c]
push 4
push eax
call fcn.004c3240
lea ecx, [esp + 0x74]
push ecx
push 0
push 1
call fcn.004f7d30
mov edx, dword [esp + 0x22c]
mov ecx, dword [esp + 0x50]
add esp, 0x14
push edx
lea eax, [esp + 0x2fc]
push eax
call fcn.00536fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x15c]
call fcn.0050ab00
lea eax, [esp + 0x50]
push 4
push eax
call fcn.004c3240
mov eax, dword [ebp + 0x18]
add eax, 0xffffffff
add esp, 8
cmp eax, 4
ja 0x51964f
jmp dword [eax*4 + 0x1005a800]
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.004c3240
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x518580
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push ebx
push edx
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push ebx
call fcn.004f7d30
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x170]
push eax
push 0x1008241c
lea ecx, [esp + 0x2d0]
add esi, 0x18
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x5185b6
test dword [esp + 0x170], 0x10
jne 0x5185c3
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
jmp 0x518eda
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x10092588
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x51851a
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], 0
jmp 0x518eda
test dword [esp + 0x170], 0x10
jne 0x518563
push 0
push 0x1008241c
lea ecx, [esp + 0x1b8]
call fcn.0050aac0
lea eax, [esp + 0xcc]
push 4
push eax
call fcn.004c3240
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xcc]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x28], eax
add esi, 0x10
call fcn.0050aab0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esi]
call eax
lea ecx, [esp + 0x200]
push ecx
lea ecx, [esp + 0x60]
call fcn.0053aad0
lea edx, [esp + 0x220]
push edx
lea ecx, [esp + 0x58]
call fcn.0053aad0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x98]
xor eax, eax
test ebx, ebx
setne al
add eax, 1
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0xb4]
push eax
call edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xcc]
mov ebx, dword [esp + 0xa4]
push edx
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1bc]
call fcn.0050aab0
push eax
lea eax, [esp + 0x194]
push ebx
push eax
call fcn.004f4280
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x5186dd
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x5186ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x518707
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x184]
cmp eax, ebx
je 0x518721
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x184], ebx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x51873b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x518755
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], ebx
jmp 0x518eda
lea ecx, [esp + 0x1d4]
call fcn.005372a0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1d4]
push eax
call fcn.00537190
test eax, eax
je 0x518c5e
mov eax, dword [esp + 0x1e0]
test eax, eax
jne 0x5189a0
cmp dword [ebp + 0x28], eax
jne 0x518eda
lea ecx, [esp + 0x8c]
push 4
push ecx
call fcn.004c3240
mov ebx, dword [ebp + 0x1c]
add esp, 8
lea edx, [esp + 0x8c]
push edx
push 1
push ebx
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push 1
call fcn.004f7d30
lea eax, [esp + 0xdc]
push 4
push eax
call fcn.004c3240
mov ecx, dword [esp + 0x1f0]
add esp, 0x14
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x2ec]
push edx
call fcn.00536fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x1a8]
call fcn.0050ab00
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0xd0]
push eax
push ecx
push edx
push ebx
push edi
lea ecx, [esp + 0x1b4]
call fcn.0050aab0
push eax
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.0050b2b0
mov eax, dword [esp + 0x8c]
mov ebx, dword [esi + 8]
mov esi, dword [ebx]
push eax
push 2
push 0x1008241c
lea ecx, [esp + 0x2e4]
add esi, 0x98
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xbc]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xac]
push eax
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1ac]
call fcn.0050aab0
push eax
lea ecx, [esp + 0x14c]
push ebx
push ecx
call fcn.004f4280
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x518905
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x518917
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x51892f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x13c]
cmp eax, ebx
je 0x518949
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x13c], ebx
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x518963
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xac], ebx
mov eax, dword [esp + 0xd0]
cmp eax, ebx
je 0x51897d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd0], ebx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], ebx
jmp 0x518eda
cmp eax, 1
jne 0x518eda
lea eax, [esp + 0x44]
push 4
push eax
call fcn.004c3240
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x5189e9
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push ebx
call fcn.004f7d30
add esp, 0xc
jmp 0x518a8e
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x10092588
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 0x44]
je 0x518a1f
test eax, eax
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], 0
jmp 0x518eda
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x160]
push eax
push 0x1008241c
lea ecx, [esp + 0x2b0]
add esi, 0x18
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x518a81
test dword [esp + 0x160], 0x10
jne 0x518a8e
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], esi
jmp 0x518eda
test dword [esp + 0x160], 0x10
jne 0x518a64
mov eax, dword [esp + 0x1dc]
push eax
lea ecx, [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00536fd0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c0]
call fcn.0050ab00
lea ecx, [esp + 0xd4]
push 4
push ecx
call fcn.004c3240
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov ecx, dword [ebp + 0x1c]
add esp, 8
lea edx, [esp + 0xd4]
push edx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push 0x40
push eax
push 0
push ecx
add esi, 0xc
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push edi
lea ecx, [esp + 0x1cc]
call fcn.0050aab0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
mov esi, dword [ebx]
mov ecx, dword [esp + 0x44]
xor edx, edx
add esi, 0x98
cmp dword [ebp + 0x24], edx
push ecx
setne dl
lea ecx, [esp + 0x2d4]
add edx, 1
push edx
push 0x1008241c
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov edx, dword [esi]
push eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xb4]
push edx
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1c4]
call fcn.0050aab0
push eax
lea eax, [esp + 0x140]
push ebx
push eax
call fcn.004f4280
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x518bc9
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x518bdb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x518bf3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x130]
cmp eax, ebx
je 0x518c0d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], ebx
mov eax, dword [esp + 0xb4]
cmp eax, ebx
je 0x518c27
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0xd4]
cmp eax, ebx
je 0x518c41
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd4], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], ebx
jmp 0x518eda
lea eax, [esp + 0x48]
push 4
push eax
call fcn.004c3240
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x518d03
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x48]
push ecx
push ebx
push edx
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push ebx
call fcn.004f7d30
add esp, 0xc
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x164]
push eax
push 0x1008241c
lea ecx, [esp + 0x2e8]
add esi, 0x18
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x518d39
test dword [esp + 0x164], 0x10
jne 0x518d46
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], esi
jmp 0x518eda
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push 0x10092588
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x518c9d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
jmp 0x518eda
test dword [esp + 0x164], 0x10
jne 0x518ce6
push 0x1008241c
lea ecx, [esp + 0x1ac]
call fcn.0050aae0
lea eax, [esp + 0xd8]
push 4
push eax
call fcn.004c3240
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xd8]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1b8]
mov ebx, eax
add esi, 0x10
call fcn.0050aab0
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov esi, dword [ebx]
mov edx, dword [esp + 0x48]
xor eax, eax
add esi, 0x98
cmp dword [ebp + 0x24], eax
push edx
setne al
lea ecx, [esp + 0x1f0]
add eax, 1
push eax
push 0x1008241c
call fcn.0050aae0
mov ecx, eax
call fcn.0050aab0
push eax
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xbc]
push eax
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1b4]
call fcn.0050aab0
push eax
lea ecx, [esp + 0x160]
push ebx
push ecx
call fcn.004f4280
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x518e4e
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x518e60
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x518e78
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x150]
cmp eax, ebx
je 0x518e92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x150], ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x518eac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0xd8]
cmp eax, ebx
je 0x518ec6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x518eda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x5c]
call fcn.00525460
lea ecx, [esp + 0x54]
call fcn.00525460
jmp 0x519174
mov edx, dword [esi]
mov ecx, dword [edx]
lea eax, [esp + 0x74]
push eax
push 0x100925a8
push esi
call ecx
test eax, eax
je 0x51764b
mov eax, dword [esp + 0x74]
test eax, eax
je 0x519174
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x74], 0
jmp 0x519174
lea eax, [esp + 0x7c]
push eax
call fcn.004c3240
add esp, 8
test esi, esi
lea ecx, [esp + 0x78]
push ecx
jne 0x5192f2
mov edx, dword [ebp + 0x1c]
push ebx
push edx
call fcn.005246e0
add esp, 4
push eax
call fcn.00524710
add esp, 8
push eax
push ebx
call fcn.004f7d30
add esp, 0xc
push 0
push 0x1008241c
lea ecx, [esp + 0x1a0]
call fcn.0050aac0
lea eax, [esp + 0xa8]
push 4
push eax
call fcn.004c3240
mov eax, dword [esp + 0x80]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xa8]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1a8]
mov ebx, eax
add esi, 0x10
call fcn.0050aab0
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
lea ecx, [esp + 0x258]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x23c]
push eax
call edx
mov ecx, eax
call fcn.0053aad0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24c]
push eax
call edx
mov ecx, eax
call fcn.0053aad0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x98]
xor eax, eax
cmp dword [ebp + 0x24], eax
setne al
add eax, 1
push eax
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0xb0]
push eax
call edx
lea ecx, [esp + 0x248]
call fcn.00525460
lea ecx, [esp + 0x238]
call fcn.00525460
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov esi, dword [esp + 0xa0]
lea edx, [esp + 0x174]
push edx
call eax
mov ecx, dword [eax]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.0050aed0
mov eax, dword [esp + 0x174]
test eax, eax
je 0x519095
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x174], 0
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
push ecx
push edi
call fcn.005247b0
add esp, 8
push eax
push edi
call fcn.005247d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1a4]
call fcn.0050aab0
push eax
lea edx, [esp + 0x18c]
push ebx
push edx
call fcn.004f4280
mov esi, dword [eax]
xor ebx, ebx
add esp, 0x18
cmp esi, ebx
je 0x5190ea
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5190fa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x519112
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x17c]
cmp eax, ebx
je 0x51912c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x17c], ebx
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x519146
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x519160
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x519707
cmp eax, esi
je 0x519194
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x5191a8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x128]
cmp eax, esi
je 0x5191c2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], esi
mov eax, dword [esp + 0x108]
cmp eax, esi
je 0x5191dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], esi
lea ecx, [esp + 0x100]
call fcn.00525460
lea ecx, [esp + 0x7c]
call fcn.0053aac0
lea ecx, [esp + 0x7c]
call fcn.0053ae20
push esi
push esi
lea ecx, [esp + 0x84]
call fcn.0050aab0
mov esi, dword [ebp + 8]
push eax
push esi
call dword [0x1018ef38]
test al, al
jne 0x5170a0
xor edi, edi
cmp dword [0x1018ed58], edi
je 0x519275
push 0x10082b00
push 0x10090900
push esi
push 0x100908c4
push 0x10090b5c
lea ecx, [esp + 0x1dc]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8020
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x1c8]
call fcn.004d7f10
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004df220
lea ecx, [esp + 0x7c]
call fcn.0053aac0
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x51929d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x5192b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x5192c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x5197c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edi
call fcn.004df230
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esi]
mov edx, dword [eax]
push 0x10092588
push esi
call edx
test eax, eax
je 0x518f65
mov eax, dword [esp + 0x78]
test eax, eax
je 0x519174
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], 0
jmp 0x519174
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004df220
lea ecx, [esp + 0xb0]
call fcn.0053cde0
xor esi, esi
jmp 0x519713
push 5
lea ecx, [esp + 0x28]
call fcn.004df220
lea ecx, [esp + 0x40]
call fcn.004e4310
lea ecx, [esp + 0x1c0]
call fcn.00537180
lea ecx, [esp + 0xb0]
call fcn.0053cde0
lea ecx, [esp + 0x14]
call fcn.004e4310
lea ecx, [esp + 0x100]
call fcn.0050bb50
lea ecx, [esp + 0x7c]
call fcn.0053aac0
lea ecx, [esp + 0x1c]
call fcn.0050b4f0
lea ecx, [esp + 0x10]
call fcn.004e4310
lea ecx, [esp + 0x2c]
call fcn.004e4310
lea ecx, [esp + 0x24]
call fcn.004df230
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x1c]
call fcn.0050aeb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
shr edi, 0x14
and edi, 1
push edi
push eax
call fcn.0050e950
lea ecx, [esp + 0xb0]
mov esi, eax
call fcn.0053cde0
lea ecx, [esp + 0x14]
call fcn.004e4310
lea ecx, [esp + 0x100]
call fcn.0050bb50
lea ecx, [esp + 0x7c]
call fcn.0053aac0
lea ecx, [esp + 0x1c]
call fcn.0050b4f0
lea ecx, [esp + 0x10]
call fcn.004e4310
lea ecx, [esp + 0x2c]
call fcn.004e4310
lea ecx, [esp + 0x24]
call fcn.004df230
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x57
lea ecx, [esp + 0x28]
call fcn.004df220
mov eax, dword [esp + 0x70]
xor edi, edi
cmp eax, edi
je 0x519459
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x51946d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], edi
cmp esi, edi
je 0x519479
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x51948d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x5194a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x5194c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00525460
jmp 0x519280
push 0x57
lea ecx, [esp + 0x28]
call fcn.004df220
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, edi
je 0x5194f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x519507
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x68], edi
cmp esi, edi
je 0x519513
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x519527
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x519541
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x51955b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00525460
jmp 0x519280
xor edi, edi
cmp dword [0x1018ed58], edi
je 0x5195cd
push 0x10082b00
push 0x10090970
lea eax, [esp + 0xec]
push eax
push 0x10090954
push 0x10090b5c
lea ecx, [esp + 0x298]
call fcn.004d90d0
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d9110
mov ecx, eax
call fcn.004d8000
mov ecx, eax
call fcn.004d8000
lea ecx, [esp + 0x284]
call fcn.004d7f10
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004df220
lea ecx, [esp + 0x5c]
call fcn.00525460
lea ecx, [esp + 0x54]
call fcn.00525460
cmp esi, edi
je 0x5195f6
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x51960a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x519624
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x51963e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00525460
jmp 0x519280
push 0x57
lea ecx, [esp + 0x28]
call fcn.004df220
mov eax, dword [esp + 0x50]
xor edi, edi
cmp eax, edi
je 0x519670
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x519684
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x188]
call fcn.00537180
lea ecx, [esp + 0x5c]
call fcn.00525460
lea ecx, [esp + 0x54]
call fcn.00525460
cmp esi, edi
je 0x5196ae
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x5196c2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x5196dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x5196f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00525460
jmp 0x519280
cmp eax, esi
je 0x519713
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x519727
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x128]
cmp eax, esi
je 0x519741
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], esi
mov eax, dword [esp + 0x108]
cmp eax, esi
je 0x51975b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], esi
lea ecx, [esp + 0x100]
call fcn.00525460
lea ecx, [esp + 0x7c]
call fcn.0053aac0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x519784
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x519798
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x5197ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x5197c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x24]
call fcn.004df230
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x24