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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x134]
cmp eax, dword [ecx + 8]
jbe 0x5099e0
sub esp, 0x1b4
mov eax, dword [esp + 0x1bc]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c4]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00506b60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x5080c1
test edx, edx
je 0x507bb8
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x507ab6
test eax, 0x200
jne 0x507ab6
mov ecx, dword [esp + 0x1bc]
lea eax, [0x663100]
jmp 0x507adc
mov ecx, dword [esp + 0x1bc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x34], eax
lea edx, [0x5f7580]
mov dword [esp], edx
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x60be32]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507b25
mov ecx, dword [esp + 0x114]
mov dword [eax + 0xc], ecx
jmp 0x507b38
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x114]
call fcn.00463730
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x507b93
mov dword [esp], ecx
lea edx, [0x661a6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507b89
mov dword [edx + 0x40], eax
jmp 0x507b91
lea edi, [edx + 0x40]
call fcn.00463730
mov ecx, edx
mov dword [esp], ecx
call fcn.00506590
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x174], ebp
mov dword [esp + 0x170], esi
test ebx, ebx
je 0x507be3
test ebx, 0x200
jne 0x507be3
mov eax, esi
lea ecx, [0x663100]
jmp 0x507c12
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x174]
mov ecx, eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x110], esi
nop
mov edx, ebx
and ebx, 0x1f
mov dword [esp + 0xa4], ebx
cmp ebx, 0x14
je 0x507c33
xor edi, edi
jmp 0x507c75
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004bd6e0
mov eax, dword [esp + 0xc]
test eax, eax
sete al
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x174]
mov esi, dword [esp + 0x110]
mov edi, eax
mov eax, dword [esp + 0x170]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x507fed
cmp ebx, 0x15
je 0x507d8f
cmp ebx, 0x19
jne 0x507cbe
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.005145f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, eax
mov ebp, edx
mov edx, dword [esp + 0x174]
mov eax, ecx
mov ecx, dword [esp + 0xa8]
jmp 0x507eac
lea eax, [0x5f7580]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x60be32]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507cfc
mov ecx, dword [esp + 0x110]
mov dword [eax + 0xc], ecx
jmp 0x507d0f
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.00463730
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x507d6a
mov dword [esp], ecx
lea edx, [0x661a6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507d60
mov dword [edx + 0x40], eax
jmp 0x507d68
lea edi, [edx + 0x40]
call fcn.00463730
mov ecx, edx
mov dword [esp], ecx
call fcn.00506590
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [ecx + 0x4c]
mov dword [esp], esi
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 0xa
jbe 0x507e1c
cmp eax, 0x18
je 0x507e1c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [0x663104]
lea ebx, [0x663100]
cmp eax, ebx
jne 0x5099c9
mov dword [esp], ecx
call fcn.004b65a0
mov eax, dword [0x7a16f0]
mov ecx, dword [0x7a16f4]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004b6860
movzx eax, byte [esp + 0xc]
test al, al
je 0x507f1c
mov ecx, dword [esp + 0xa8]
test ecx, 0x200
je 0x507e34
mov edx, dword [esp + 0x174]
jmp 0x507ea6
test ecx, 0x80
je 0x507e47
mov edx, dword [esp + 0x174]
mov ebp, dword [edx]
jmp 0x507e50
mov edx, dword [esp + 0x174]
mov ebp, edx
test ebp, ebp
jne 0x507ea6
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004bf6a0
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov ecx, dword [esp + 0x174]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004bd9d0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x174]
xor eax, eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x78], eax
lea edi, [esp + 0x1a0]
mov esi, eax
xor eax, eax
call fcn.0046395b
mov ecx, dword [esp + 0x1b8]
mov eax, edx
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x507ee9
lea edi, [esp + 0x1a0]
mov esi, edx
call fcn.00463e3e
mov ecx, dword [esp + 0x1b8]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x144], ebp
lea edx, [ecx + 0x38]
mov dword [esp + 0x16c], edx
xor edi, edi
xor edi, edi
mov dword [esp + 0x130], edi
xor edi, edi
mov dword [esp + 0x134], edi
xor edi, edi
jmp 0x50816a
lea eax, [0x5f7580]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x60be32]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507f5a
mov ecx, dword [esp + 0x110]
mov dword [eax + 0xc], ecx
jmp 0x507f6d
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.00463730
mov eax, ecx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x507fc8
mov dword [esp], ecx
lea edx, [0x661a6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x507fbe
mov dword [edx + 0x40], eax
jmp 0x507fc6
lea edi, [edx + 0x40]
call fcn.00463730
mov ecx, edx
mov dword [esp], ecx
call fcn.00506590
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
call fcn.0050c7e0
mov eax, dword [esp + 4]
nop
movzx ecx, byte [0x7a1de0]
test cl, cl
je 0x508037
lea ecx, [0x5e3520]
mov dword [0x7a1de4], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x50802a
mov dword [0x7a1de8], eax
jmp 0x50803d
lea edi, [0x7a1de8]
call fcn.00463730
jmp 0x50803d
lea ecx, [0x5e3520]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x50806d
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x508073
or edx, 0x80
jmp 0x508073
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x170]
mov dword [esp], ebx
mov ebx, dword [esp + 0x174]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004bd9d0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x118], ecx
nop
mov eax, dword [esp + 0x1b8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa0], ecx
mov dword [esp], eax
call fcn.00506590
mov eax, dword [esp + 0x1b8]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp edx, eax
jb 0x50815d
mov ebx, dword [esp + 0xa0]
lea ebp, [ebx - 1]
cmp eax, ebp
jb 0x508154
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 0x10]
mov edi, dword [esp + 0x118]
mov dword [esp], edi
sub edx, ebx
inc edx
mov edi, edx
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, ebp
mov dword [esp + 4], ecx
sub eax, ebx
inc eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], ecx
add esp, 0x1b4
ret
mov ecx, eax
mov eax, ebp
call fcn.00463810
mov ecx, eax
call fcn.004637f0
mov ecx, edx
mov edi, dword [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp], ecx
mov dword [esp + 4], 9
call fcn.005066c0
mov eax, dword [esp + 0x1b8]
mov ecx, dword [eax + 0x10]
cmp ecx, 5
je 0x5092b2
cmp ecx, 1
jne 0x5099b1
nop
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa0], ecx
mov dword [esp], eax
call fcn.00506780
mov eax, dword [esp + 0x1b8]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
lea ebp, [ebx - 1]
cmp edx, ebp
jb 0x5099aa
mov esi, dword [esp + 0xa0]
lea edi, [esi - 1]
cmp ebp, edi
jb 0x5099a1
sub edx, esi
lea eax, [edx + 1]
mov dword [esp + 0x6c], eax
mov edx, eax
neg eax
sar eax, 0x1f
and edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x140], eax
mov dword [esp], eax
sub ebx, esi
mov dword [esp + 0x68], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0050cd20
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test cl, cl
je 0x509989
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0xa4]
cmp ecx, 0x15
jne 0x508301
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x58]
test edx, edx
je 0x5082c0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bf750
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x130]
mov dword [esp], ebx
mov ebp, dword [esp + 0x134]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004bd9d0
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
jmp 0x5082f4
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bf830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004bc180
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, edi
mov ebp, eax
mov esi, ecx
jmp 0x50855b
lea ecx, [0x5e34e0]
mov dword [esp], ecx
mov edx, dword [esp + 0x144]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0040fa80
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x50835d
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jbe 0x509984
lea edx, [eax + eax*8]
mov ebx, dword [esp + 0x148]
lea edx, [ebx + edx*8]
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
jmp 0x5083a3
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
xor edx, edx
jmp 0x5092f0
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov edx, dword [esp + 0x14c]
jmp 0x5083a3
xor edx, edx
test edx, edx
je 0x50842c
mov dword [esp + 0x14c], edx
mov edi, ecx
movzx ecx, byte [edx + 0x41]
mov byte [esp + 0x2f], cl
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x164], ecx
mov edx, dword [edx + 0x30]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x120], ecx
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x11c], edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
jmp 0x509512
mov edx, dword [esp + 0x1b8]
movzx edi, byte [edx + 0x45]
xchg edi, eax
test al, al
xchg edi, eax
je 0x508519
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00409700
mov eax, dword [esp + 0xc]
lea ecx, [0x5dc060]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [0x61219c]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea edx, [esp + 0x198]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
jne 0x5084ff
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5084f7
mov dword [edx + 0x40], eax
jmp 0x5084ff
lea edi, [edx + 0x40]
call fcn.00463730
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x11c], edi
xor edi, edi
mov dword [esp + 0x120], edi
xor edi, edi
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, edi
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x11c]
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x58], edi
mov dword [esp + 0x134], ecx
mov dword [esp + 0x130], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2f], dl
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebp
mov eax, dword [esp + 0x1b8]
cmp dword [eax + 0x10], 9
jne 0x5085c9
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.005066c0
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x134]
movzx edx, byte [esp + 0x2f]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x11c]
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x58]
cmp dword [eax + 0x10], 3
jne 0x509489
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.005066c0
movzx eax, byte [esp + 0x2f]
test al, al
je 0x50885f
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
call fcn.00506aa0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5087e8
cmp dword [eax + 8], 0x778cdb8
jne 0x5086bb
lea eax, [0x5e1fa0]
cmp ecx, eax
jne 0x5086c1
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044e080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00509bc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x509360
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jmp 0x5088b1
lea eax, [0x5e1fa0]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5086e0
test ecx, 0x200
jne 0x5086e0
lea edx, [0x663100]
mov ebp, dword [esp + 0x11c]
jmp 0x508712
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov edx, dword [esp + 0x120]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, eax
lea eax, [0x5e1fa0]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
test edx, edx
je 0x50872f
mov edx, dword [edx + 4]
mov dword [esp + 0x198], edx
mov dword [esp + 0x19c], ebp
lea eax, [0x61daee]
mov dword [esp], eax
mov dword [esp + 4], 0x53
lea ecx, [esp + 0x198]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
je 0x508793
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x5088b1
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5087d1
mov dword [edx + 0x40], eax
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x5088b1
lea edi, [edx + 0x40]
call fcn.00463730
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
jmp 0x5088b1
mov eax, dword [str.null]
mov ecx, dword [0x79c3ac]
mov edx, dword [0x79c3b0]
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 0
call fcn.00509bc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x509375
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jmp 0x5088b1
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call fcn.005068d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x50939f
mov ebx, dword [esp + 0xa4]
cmp ebx, 0x15
mov edx, dword [esp + 0x1b8]
jne 0x509232
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [0x663104]
lea esi, [0x663100]
cmp edx, esi
jne 0x509473
mov dword [esp + 0x138], eax
mov dword [esp + 0x160], edx
mov dword [esp + 0x5c], ecx
mov dword [esp], ebx
call fcn.004b65a0
mov eax, dword [0x7a16f0]
mov ecx, dword [0x7a16f4]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004b6860
movzx eax, byte [esp + 0xc]
test al, al
jne 0x50910d
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x18
jne 0x508a29
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00409700
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0x7a1de0]
test cl, cl
je 0x5089ad
lea ecx, [0x5dc060]
mov dword [0x7a1de4], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5089a0
mov dword [0x7a1de8], eax
jmp 0x5089b3
lea edi, [0x7a1de8]
call fcn.00463730
jmp 0x5089b3
lea ecx, [0x5dc060]
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], eax
mov edx, dword [esp + 0x188]
test edx, edx
je 0x5089e5
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5089eb
or ebx, 0x80
jmp 0x5089eb
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004bfbb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x5091cf
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 4
jbe 0x508d91
add eax, 0xfffffff9
cmp eax, 5
ja 0x50945b
lea eax, [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0044dec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004a46f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x508ac3
mov ebp, 1
jmp 0x508bb6
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
call fcn.004bf750
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 7]
mov edx, dword [esp + 8]
cmp ecx, 5
ja 0x509417
mov eax, dword [edx]
shl eax, 3
add eax, 0xffffffc0
neg eax
cmp eax, 0x20
sbb edx, edx
lea ecx, [eax - 0x20]
mov dword [esp + 0x98], ecx
cmp ecx, 0x20
sbb ebx, ebx
mov dword [esp + 0x94], ebx
mov ebp, ecx
neg ecx
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x90], esi
mov edi, ecx
mov ecx, ebp
mov esi, dword [esp + 0x48]
shl esi, cl
and esi, ebx
mov ecx, eax
mov ebx, dword [esp + 0x54]
shl ebx, cl
and ebx, edx
mov ecx, edi
mov ebp, dword [esp + 0x48]
shr ebp, cl
mov edi, dword [esp + 0x90]
and ebp, edi
or ebp, ebx
or esi, ebp
mov dword [esp + 0x90], esi
mov ebx, ecx
mov ecx, eax
mov ebp, dword [esp + 0x48]
shl ebp, cl
and ebp, edx
shr ebp, cl
mov ecx, ebx
mov ebx, esi
shl esi, cl
mov ecx, dword [esp + 0x98]
shr ebx, cl
mov ecx, eax
mov eax, dword [esp + 0x94]
and ebx, eax
and esi, edi
and ebp, edx
or ebp, esi
or ebp, ebx
mov eax, dword [esp + 0x48]
cmp eax, ebp
setne bl
mov ebp, dword [esp + 0x90]
shr ebp, cl
and ebp, edx
mov edx, dword [esp + 0x54]
cmp edx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x508cce
lea eax, [0x5f7580]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [esp + 0x15c], eax
mov dword [esp], 0
lea ecx, [0x60c229]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0x124]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
call fcn.0044dc10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x15c]
mov dword [edi + 4], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x508c2a
mov dword [edi], eax
jmp 0x508c2f
call fcn.00463730
mov ebx, dword [esp + 0x160]
mov dword [edi + 8], ebx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x508c4f
mov ebx, dword [esp + 0x138]
mov dword [edi + 0xc], ebx
jmp 0x508c64
lea ebx, [edi + 0xc]
mov eax, dword [esp + 0x138]
mov ecx, edi
mov edi, ebx
call fcn.00463730
mov edi, ecx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x1b8]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
jne 0x508cc3
mov dword [esp], ebx
lea eax, [0x661a6c]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x508cb9
mov dword [edx + 0x40], eax
jmp 0x508cc1
lea edi, [edx + 0x40]
call fcn.00463730
mov ebx, edx
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x5091cf
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004095d0
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x7a1de0]
test cl, cl
je 0x508d15
lea ecx, [0x5e2120]
mov dword [0x7a1de4], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x508d08
mov dword [0x7a1de8], eax
jmp 0x508d1b
lea edi, [0x7a1de8]
call fcn.00463730
jmp 0x508d1b
lea ecx, [0x5e2120]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], eax
mov edx, dword [esp + 0x178]
test edx, edx
je 0x508d4d
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x508d53
or ebx, 0x80
jmp 0x508d53
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004bfbb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x5091cf
lea eax, [esp + 0xec]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0044dec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x128], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004a5190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x508dfc
mov edx, 1
jmp 0x508f34
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
call fcn.004bf750
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 2]
mov edx, dword [esp + 8]
cmp ecx, 4
ja 0x5093d3
mov eax, dword [edx]
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov dword [esp + 0x8c], ecx
cmp ecx, 0x20
sbb eax, eax
mov dword [esp + 0x98], eax
lea edx, [ecx - 0x20]
cmp edx, 0x20
sbb ebx, ebx
mov ebp, edx
neg edx
mov dword [esp + 0x94], edx
cmp edx, 0x20
sbb esi, esi
mov dword [esp + 0x90], esi
mov edi, ecx
shr ecx, 5
cmp ecx, 1
sbb eax, eax
mov dword [esp + 0x88], eax
cmp edi, 0x20
sbb eax, eax
mov dword [esp + 0x84], eax
mov ecx, edi
mov eax, dword [esp + 0x50]
shl eax, cl
mov ecx, edx
mov edi, dword [esp + 0x4c]
shr edi, cl
and edi, esi
mov ecx, ebp
mov esi, dword [esp + 0x4c]
shl esi, cl
and esi, ebx
mov edx, dword [esp + 0x98]
and eax, edx
or edi, eax
or esi, edi
mov dword [esp + 0x98], esi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x4c]
mov edi, eax
shl eax, cl
and eax, edx
shr eax, cl
not ebx
or ebx, ebp
mov ecx, dword [esp + 0x94]
shl esi, cl
mov ebp, dword [esp + 0x90]
and esi, ebp
mov ecx, ebx
mov ebp, dword [esp + 0x98]
mov ebx, ebp
sar ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x88]
xor ebx, 0xffffffff
and ebx, ebp
and eax, edx
or eax, esi
or ebx, eax
cmp edi, ebx
setne al
mov edx, dword [esp + 0x84]
not edx
mov ebx, dword [esp + 0x8c]
or ebx, edx
mov edx, ecx
mov ecx, ebx
sar edx, cl
mov ebx, dword [esp + 0x50]
cmp ebx, edx
setne dl
or edx, eax
mov eax, ebx
mov ecx, edi
test dl, dl
je 0x50904a
lea eax, [0x5f7580]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [esp + 0x15c], eax
mov dword [esp], 0
lea ecx, [0x60c229]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0x128]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
call fcn.0044dc10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x15c]
mov dword [edi + 4], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x508fa6
mov dword [edi], eax
jmp 0x508fab
call fcn.00463730
mov ebx, dword [esp + 0x160]
mov dword [edi + 8], ebx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x508fcb
mov ebx, dword [esp + 0x138]
mov dword [edi + 0xc], ebx
jmp 0x508fe0
lea ebx, [edi + 0xc]
mov eax, dword [esp + 0x138]
mov ecx, edi
mov edi, ebx
call fcn.00463730
mov edi, ecx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x1b8]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
jne 0x50903f
mov dword [esp], ebx
lea eax, [0x661a6c]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x509035
mov dword [edx + 0x40], eax
jmp 0x50903d
lea edi, [edx + 0x40]
call fcn.00463730
mov ebx, edx
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x5091cf
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004095d0
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x7a1de0]
test cl, cl
je 0x509091
lea ecx, [0x5e1860]
mov dword [0x7a1de4], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x509084
mov dword [0x7a1de8], eax
jmp 0x509097
lea edi, [0x7a1de8]
call fcn.00463730
jmp 0x509097
lea ecx, [0x5e1860]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x180]
test edx, edx
je 0x5090c9
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5090cf
or ebx, 0x80
jmp 0x5090cf
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004bfbb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
jmp 0x5091cf
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 4], eax
call fcn.004bf830
mov eax, dword [esp + 8]
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x154], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x1b8]
mov dword [esp], ebx
mov ebp, dword [esp + 0x140]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00509bc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x50938a
mov eax, dword [esp + 0x158]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.004bc180
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1b8]
test edx, edx
je 0x509229
mov ebx, dword [esp + 0x170]
mov dword [esp], ebx
mov ebp, dword [esp + 0x174]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.004be070
mov ebx, dword [esp + 0x1b8]
mov edx, ebx
mov ebx, dword [esp + 0xa4]
cmp dword [edx + 0x10], 9
jne 0x509256
mov dword [esp], edx
mov dword [esp + 4], 9
call fcn.005066c0
mov edx, dword [esp + 0x1b8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x50929c
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1ac]
cmp ecx, esi
ja 0x5093cc
mov dword [ebp + 0xc], ecx
mov ecx, dword [edx + 0x38]
mov eax, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x1a0]
mov dword [ecx], ebp
mov ebp, dword [0x7c78f0]
test ebp, ebp
jne 0x509294
mov dword [ecx + 4], eax
jmp 0x50929c
lea edi, [ecx + 4]
call fcn.00463730
mov eax, dword [edx + 0x10]
cmp eax, 5
je 0x5092b2
cmp eax, 4
je 0x508164
jmp 0x5093b4
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
add esp, 0x1b4
ret
mov eax, dword [esp + 0x74]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
cmp edx, ecx
jge 0x5083a1
jae 0x50997d
mov dword [esp + 0x74], edx
lea ecx, [edx + edx*8]
lea edi, [eax + ecx*8]
mov dword [esp + 0x14c], edi
lea ebx, [eax + ecx*8 + 0x14]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
mov ebx, dword [ebx]
lea ecx, [eax + ecx*8 + 8]
mov ecx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x168]
call ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x5092cf
jmp 0x50837e
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
add esp, 0x1b4
ret
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6613dc]
mov dword [esp + 4], eax
call fcn.00435720
mov edx, esi
call fcn.004637f0
mov dword [esp + 0xa8], eax
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x613d1a]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
mov dword [esp + 0xa8], eax
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x61458d]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6613fc]
mov dword [esp + 4], eax
call fcn.00435720
mov dword [esp], edx
mov dword [esp + 4], ebp
lea eax, [0x6029a0]
mov dword [esp + 8], eax
call fcn.004093e0
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6613dc]
mov dword [esp + 4], eax
call fcn.00435720
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.004bc330
mov eax, dword [esp + 0x7c]
inc eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x148]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jge 0x5097ac
mov eax, dword [ecx + ebx*4]
nop
mov ebp, dword [esp + 0x3c]
and ebp, 0x1f
cmp ebp, 0x16
jne 0x5096a1
mov dword [esp + 0x70], eax
mov ebp, dword [esp + 0x3c]
test ebp, 0x200
jne 0x50965e
test ebp, 0x80
je 0x50956b
mov esi, dword [esp + 0x120]
mov edi, dword [esi]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x12c], edi
mov edi, dword [esp + 0x78]
jmp 0x509587
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x12c]
test esi, esi
jne 0x50965e
mov esi, ebp
and ebp, 0x160
cmp ebp, 0x100
jne 0x5096aa
test esi, 0x200
jne 0x5095ce
lea ebp, [0x663100]
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x10c], ebp
lea ebp, [0x663100]
jmp 0x5095fd
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x10c], ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bf830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x11c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x120]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004bd9d0
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004bc180
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, edx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov eax, dword [esp + 0x70]
jmp 0x5094a1
mov ebp, dword [esp + 0x3c]
jmp 0x5094a1
test esi, 0x200
jne 0x5096c1
lea eax, [0x663100]
mov ecx, dword [esp + 0x11c]
jmp 0x5096e7
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
test eax, eax
je 0x509714
mov eax, dword [eax + 4]
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], ecx
lea eax, [0x61cdc5]
mov dword [esp], eax
mov dword [esp + 4], 0x3a
lea ecx, [esp + 0x198]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
jne 0x5097a2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00506490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x50979a
mov dword [edx + 0x40], eax
jmp 0x5097a2
lea edi, [edx + 0x40]
call fcn.00463730
xor eax, eax
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
jmp 0x5097ca
mov edx, dword [esp + 0x1b8]
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x2f], al
mov esi, dword [edx + 0x38]
test esi, esi
jne 0x50983b
lea eax, [0x5ebf60]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [0x7c78f0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x50980f
mov edx, dword [esp + 0x1b8]
mov dword [edx + 0x38], ecx
jmp 0x509824
mov edi, dword [esp + 0x16c]
mov eax, ecx
call fcn.00463730
mov edx, dword [esp + 0x1b8]
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x120]
mov esi, dword [edx + 0x38]
mov dword [esp + 0x150], esi
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
inc ebx
mov ebp, dword [esi + 8]
mov edx, dword [esp + 0x14c]
mov esi, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, ebx
jae 0x5098d9
mov dword [esp + 0x9c], edx
mov dword [esp + 0x160], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5e1fa0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x150]
mov dword [ebx + 0x10], edx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5098b6
mov dword [ebx + 8], eax
jmp 0x5098be
lea edi, [ebx + 8]
call fcn.00463730
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
mov ebp, eax
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x150]
mov dword [ecx + 0xc], ebx
lea ecx, [ebp + ebx*8 - 4]
mov dword [ecx], edx
lea ecx, [ebp + ebx*8 - 8]
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5098fb
mov dword [ecx], esi
jmp 0x50990c
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, esi
call fcn.00463730
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x30]
mov dword [edx], ebx
mov ebp, dword [0x7c78f0]
test ebp, ebp
jne 0x509932
mov ebp, dword [esp + 0x110]
mov dword [edx + 4], ebp
jmp 0x509952
add edx, 4
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x110]
call fcn.00463730
mov eax, esi
mov ebp, dword [esp + 0x110]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x13c]
movzx edi, byte [esp + 0x2f]
jmp 0x508535
mov eax, edx
call fcn.004637b0
call fcn.004637b0
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6613dc]
mov dword [esp + 4], eax
call fcn.00435720
mov eax, edi
mov ecx, ebp
call fcn.00463810
mov ecx, ebp
call fcn.004637f0
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6613dc]
mov dword [esp + 4], eax
call fcn.00435720
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x6029a0]
mov dword [esp + 8], eax
call fcn.004093e0
nop
call fcn.00462320
jmp fcn.00507a20