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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x234]
cmp eax, dword [ecx + 8]
jbe 0x51cd07
sub esp, 0x2b4
mov ecx, dword [esp + 0x2bc]
mov edx, dword [ecx]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 4]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x14]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x24]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x34]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x48]
test edx, edx
jne 0x51b649
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x51b649
nop
mov eax, dword [esp + 0x2b8]
mov dword [esp], eax
lea eax, [0x586705]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.0051b040
add esp, 0x2b4
ret
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x60], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x14c], ebx
cmp edx, 0x12
jge 0x51b663
xor eax, eax
jmp 0x51b694
mov dword [esp], ebx
lea eax, [0x589c3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.00403360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x14c]
test al, al
jne 0x51b6a1
mov eax, ebx
mov ebp, edx
jmp 0x51b74a
mov eax, dword [0x69fdc8]
lea ecx, [0x562ae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040f8e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x51b6e7
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x60]
jmp 0x51b74a
mov ecx, dword [esp + 0x60]
cmp ecx, 0x12
jb 0x51ccfc
mov dword [esp], 0
lea eax, [0x5863ef]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea edx, [ecx - 0x12]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x12
mov ebp, dword [esp + 0x14c]
add edx, ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0044cfa0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x54], edx
mov dword [esp + 0x138], ebx
test ebp, ebp
je 0x51b908
mov esi, dword [ecx + 4]
test esi, 1
jne 0x51b8fd
mov edi, dword [ecx]
cmp edi, 8
jne 0x51b87d
cmp edx, 5
jne 0x51b79d
cmp dword [ebx], 0x74732121
jne 0x51b79d
cmp byte [ebx + 4], 0x72
jne 0x51b79d
test esi, 0x1e
je 0x51b79d
xor eax, eax
xor ebp, ebp
xor esi, esi
jmp 0x51b911
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00525390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
je 0x51b7d0
cmp ecx, 5
jmp 0x51b80e
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x51b807
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x138]
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x51b862
mov ecx, dword [esp + 0x54]
cmp ecx, 5
jne 0x51b84e
mov edx, dword [esp + 0x138]
cmp dword [edx], 0x74732121
jne 0x51b83f
cmp byte [edx + 4], 0x72
jne 0x51b830
mov eax, 1
xor ebx, ebx
xor ebp, ebp
jmp 0x51b862
xor eax, eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x14c]
jmp 0x51b862
xor eax, eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x14c]
jmp 0x51b862
mov edx, dword [esp + 0x138]
xor eax, eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x14c]
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x54]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x138]
jmp 0x51b911
cmp edi, 2
jne 0x51b88f
mov esi, 5
lea edi, [0x586901]
jmp 0x51b8a5
cmp edi, 4
jne 0x51b8a1
mov esi, 5
lea edi, [0x586906]
jmp 0x51b8a5
xor esi, esi
xor edi, edi
cmp esi, edx
jne 0x51b8f7
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x51b8da
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x138]
xor ebp, ebp
xor eax, eax
jmp 0x51b8f7
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x138]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x14c]
mov esi, eax
xor eax, eax
jmp 0x51b911
xor eax, eax
mov esi, dword [esp + 0x14c]
jmp 0x51b911
xor eax, eax
mov esi, dword [esp + 0x14c]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x14c], esi
mov edi, dword [ecx]
cmp edi, 2
ja 0x51bcde
cmp edi, 1
jne 0x51ba16
mov edx, dword [esp + 0x2b8]
test byte [edx], al
mov ebx, dword [0x6c4f80]
lea edi, [edx + 0x130]
mov dword [esp + 0x160], edi
test ebx, ebx
je 0x51b977
lea eax, [0x57b0c0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00410710
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2b8]
mov edi, dword [esp + 0x160]
xor eax, eax
call fcn.004610ce
mov byte [edx + 0x130], 3
mov byte [edx + 0x1b4], 1
mov ecx, dword [esp + 0x2bc]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x34]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0044d3e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x2b8]
mov dword [ebp + 0x164], ecx
mov dword [ebp + 0x168], edx
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51b9e6
call fcn.00460f00
mov dword [edi], ebx
mov eax, dword [ebp + 0x160]
mov dword [edi + 4], eax
mov dword [ebp + 0x160], ebx
mov dword [esp], ebp
call fcn.00518590
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x188], ecx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x94], edx
xor ebx, ebx
jmp 0x51cc3d
cmp edi, 2
jne 0x51c69d
mov eax, dword [ecx + 4]
test eax, 0x20
je 0x51ba30
mov eax, 2
jmp 0x51ba35
mov eax, 1
mov byte [esp + 0x52], al
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x60]
cmp ebx, 2
jge 0x51ba7b
xor ebp, ebp
jmp 0x51bab6
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
lea ecx, [0x5863ef]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00403360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
mov ebp, eax
mov eax, dword [esp + 0x16c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x51bac8
mov esi, dword [esp + 0x14c]
jmp 0x51bb5b
mov eax, dword [0x69fdc4]
lea ecx, [0x562ae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0040f8e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x51bb05
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, ebp
jmp 0x51bb5b
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jb 0x51cbe7
lea eax, [esp + 0x118]
mov dword [esp], eax
lea eax, [0x589c3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov ebx, dword [esp + 0x14c]
add eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0044cfa0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, ebp
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0x2b8]
test byte [eax], al
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x148], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0x22c]
lea esi, [0x5c0d58]
call fcn.004614ac
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x28c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x290], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x294], ecx
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x298], ecx
mov dword [esp + 0x29c], edx
mov dword [esp + 0x2a0], ebx
lea edi, [eax + 0x130]
mov dword [esp + 0x15c], edi
mov ecx, dword [esp + 0x60]
test ecx, ecx
sete cl
mov byte [esp + 0x2b0], cl
movzx ecx, byte [esp + 0x52]
mov byte [esp + 0x2b2], cl
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51bc3b
lea eax, [0x57b0c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x22c]
mov dword [esp + 8], ecx
call fcn.00410740
mov eax, dword [esp + 0x2b8]
mov edi, dword [esp + 0x15c]
lea esi, [esp + 0x22c]
call fcn.004614ac
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.005185e0
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x164], eax
mov dword [ebx + 0x168], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51bcae
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x160]
mov dword [edi + 4], eax
mov dword [ebx + 0x160], edx
mov dword [esp], ebx
call fcn.00518590
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x184], ecx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x94], edx
xor ebx, ebx
jmp 0x51cac3
cmp edi, 4
jne 0x51bfea
mov eax, dword [ecx + 4]
test eax, 0x20
je 0x51bcf8
mov eax, 2
jmp 0x51bcfd
mov eax, 1
mov byte [esp + 0x50], al
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x168], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x60]
cmp ebx, 2
jge 0x51bd43
xor ebp, ebp
jmp 0x51bd7e
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
lea ecx, [0x5863ef]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00403360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x60]
mov ebp, eax
mov eax, dword [esp + 0x168]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x51bd90
mov esi, dword [esp + 0x14c]
jmp 0x51be23
mov eax, dword [0x69fdc4]
lea ecx, [0x562ae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0040f8e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x51bdcd
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, ebp
jmp 0x51be23
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jb 0x51ca6d
lea eax, [esp + 0xf8]
mov dword [esp], eax
lea eax, [0x589c3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov ebx, dword [esp + 0x14c]
add eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0044cfa0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, ebp
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0x2b8]
test byte [eax], al
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x144], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0x1a4]
lea esi, [0x5c0e68]
call fcn.004614ac
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x204], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x208], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20c], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], edx
mov dword [esp + 0x218], ebx
lea edi, [eax + 0x130]
mov dword [esp + 0x158], edi
mov ecx, dword [esp + 0x60]
test ecx, ecx
sete cl
mov byte [esp + 0x228], cl
movzx ecx, byte [esp + 0x50]
mov byte [esp + 0x22a], cl
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51befc
lea eax, [0x57b0c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x1a4]
mov dword [esp + 8], ecx
call fcn.00410740
mov edi, dword [esp + 0x158]
lea esi, [esp + 0x1a4]
call fcn.004614ac
mov dword [esp], 0
mov eax, dword [esp + 0x2c0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 8], eax
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x18c], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51bf63
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x184]
mov dword [edi + 4], eax
mov dword [ebx + 0x184], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x164], eax
mov dword [ebx + 0x168], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51bfc3
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x160]
mov dword [edi + 4], eax
mov dword [ebx + 0x160], edx
mov dword [esp], ebx
call fcn.00518590
mov eax, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x2bc]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x51c7d6
cmp edi, 8
je 0x51c1ee
cmp edi, 0x10
jne 0x51c69d
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x2b8]
test byte [eax], al
mov ecx, dword [0x6c4f80]
lea edi, [eax + 0x130]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test ecx, ecx
je 0x51c080
mov dword [esp + 0x164], edx
mov dword [esp + 0x154], edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x68], ebx
lea eax, [0x57b0c0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00410710
mov eax, dword [esp + 0x2b8]
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x154]
xor eax, eax
call fcn.004610ce
mov ecx, dword [esp + 0x2b8]
mov byte [ecx + 0x130], 5
mov esi, dword [0x6c4f80]
test esi, esi
je 0x51c0af
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ecx + 0x190]
mov dword [edi + 4], eax
mov dword [ecx + 0x190], edx
mov dword [ecx + 0x194], ebx
mov dword [ecx + 0x198], ebp
mov eax, dword [esp + 0x2bc]
mov edx, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x164], eax
mov dword [ebx + 0x168], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51c11b
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x160]
mov dword [edi + 4], eax
mov dword [ebx + 0x160], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51c17b
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x16c]
mov dword [edi + 4], eax
mov dword [ebx + 0x16c], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51c1db
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x178]
mov dword [edi + 4], eax
mov dword [ebx + 0x178], edx
mov dword [esp], ebx
call fcn.00518590
jmp 0x51c4fa
mov byte [esp + 0x53], al
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x13c], eax
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x58], edx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a460
movzx eax, byte [esp + 8]
test al, al
je 0x51c230
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x14c]
jmp 0x51c28f
mov eax, dword [esp + 0x54]
cmp eax, 8
jne 0x51c256
mov ecx, dword [esp + 0x138]
cmp dword [ecx], 0x69622121
jne 0x51c25d
cmp dword [ecx + 4], 0x7972616e
jne 0x51c25d
jmp 0x51c5e2
mov ecx, dword [esp + 0x138]
test eax, eax
jne 0x51c501
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00526860
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, 8
lea ebx, [0x5871b9]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x13c], eax
mov ebp, dword [esp + 0x2bc]
mov esi, dword [ebp + 4]
test esi, 2
je 0x51c2c1
mov esi, 8
jmp 0x51c345
test esi, 4
je 0x51c2d0
mov esi, 4
jmp 0x51c345
test esi, 8
je 0x51c2df
mov esi, 0x10
jmp 0x51c345
test esi, 0x10
je 0x51c2ee
mov esi, 0x20
jmp 0x51c345
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x5bef98]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004c00d0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x51c322
mov ebp, dword [esp + 0x2bc]
mov esi, 0x10
jmp 0x51c345
movzx eax, byte [esp + 0x53]
test al, al
je 0x51c339
mov ebp, dword [esp + 0x2bc]
mov esi, 8
jmp 0x51c345
mov ebp, dword [esp + 0x2bc]
mov esi, 2
xchg esi, eax
mov byte [esp + 0x51], al
xchg esi, eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x180], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x2bc]
mov ebp, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x17c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x2bc]
mov ebp, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x178], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], edx
mov dword [esp], 0
mov ebx, dword [esp + 0x2c0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c4]
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2bc]
mov ebp, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x2b8]
mov dword [esp], esi
mov esi, dword [esp + 0x13c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esp + 0x51]
mov byte [esp + 0x1c], bl
mov ebx, dword [esp + 0x180]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x178]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call fcn.0051b040
add esp, 0x2b4
ret
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x586bd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x590ba0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x27
call fcn.0044cfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x194]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004adf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
lea eax, [0x5673c0]
mov dword [esp], eax
lea ecx, [esp + 0x19c]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x5673c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435490
nop
lea eax, [esp + 0xd8]
mov dword [esp], eax
lea eax, [0x586bd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x59345a]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x36
call fcn.0044cfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004adf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
lea eax, [0x5673c0]
mov dword [esp], eax
lea ecx, [esp + 0x19c]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x5673c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435490
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.00409470
mov eax, dword [esp + 4]
lea ecx, [0x5611e0]
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], eax
lea eax, [esp + 0x98]
mov dword [esp], eax
lea eax, [0x586bd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x590bc7]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x27
call fcn.0044cfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x18c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004adf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
lea eax, [0x5673c0]
mov dword [esp], eax
lea ecx, [esp + 0x19c]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x5673c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435490
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x64]
mov ecx, dword [ecx + edx*4 + 4]
mov ebx, dword [esp + 0x2b8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0051b4f0
mov eax, dword [esp + 0x64]
lea edx, [eax + 2]
mov eax, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x2bc]
mov ebx, dword [esp + 0x174]
mov ebp, dword [esp + 0x90]
mov ebx, ebp
mov ebp, dword [esp + 0x174]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x140], ebp
lea esi, [edx + 1]
mov edi, dword [ecx + 0x28]
cmp edi, esi
jle 0x51c8f2
cmp edx, edi
jae 0x51ca64
mov dword [esp + 0x64], edx
mov dword [esp + 0x94], esi
mov edi, dword [ecx + 0x24]
mov edi, dword [edi + edx*4]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x90], edx
mov esi, dword [edi + 0x40]
mov dword [esp + 0x174], esi
test edx, edx
je 0x51c8c0
mov dword [esp + 0x150], edi
lea eax, [0x579580]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [0x6c4f80]
mov edi, dword [esp + 4]
mov dword [esp + 0x170], edi
test eax, eax
je 0x51c872
lea eax, [0x579580]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x150]
mov dword [esp + 8], eax
call fcn.00410740
mov edi, dword [esp + 0x170]
mov esi, dword [esp + 0x150]
call fcn.00461538
mov eax, dword [esp + 0x170]
mov dword [eax + 0x44], 0
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51c8a0
mov ecx, dword [eax + 0x40]
call fcn.00460ef0
mov dword [edi], ecx
mov dword [eax + 0x40], 0
mov eax, dword [esp + 0x2b8]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x140]
mov edi, dword [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0051b4f0
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x94]
cmp ecx, edx
ja 0x51c77c
jmp 0x51ca5d
mov edx, dword [0x6c4f80]
nop
test edx, edx
je 0x51c92b
lea eax, [0x57b0c0]
mov dword [esp], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 4], eax
lea ecx, [0x5c0ef0]
mov dword [esp + 8], ecx
call fcn.00410740
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x140]
mov edi, dword [esp + 0x158]
lea esi, [0x5c0ef0]
call fcn.004614ac
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x18c], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51c98a
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x184]
mov dword [edi + 4], eax
mov dword [ebx + 0x184], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51c9ea
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x16c]
mov dword [edi + 4], eax
mov dword [ebx + 0x16c], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51ca4a
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x178]
mov dword [edi + 4], eax
mov dword [ebx + 0x178], edx
mov dword [esp], ebx
call fcn.00518590
jmp 0x51c4fa
mov eax, edx
call fcn.00460f60
mov eax, edx
mov ecx, edi
call fcn.00460f60
mov eax, 2
call fcn.00460fc0
mov dword [esp + 0x90], ebx
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0x2b8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0051b4f0
mov eax, dword [esp + 0x90]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x94]
cmp ebx, edx
jl 0x51ca77
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51caf4
lea eax, [0x57b0c0]
mov dword [esp], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
lea ecx, [0x5c0de0]
mov dword [esp + 8], ecx
call fcn.00410740
mov edi, dword [esp + 0x15c]
lea esi, [0x5c0de0]
call fcn.004614ac
mov eax, dword [esp + 0x2b8]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.005185e0
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51cb74
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x16c]
mov dword [edi + 4], eax
mov dword [ebx + 0x16c], edx
mov eax, dword [esp + 0x2bc]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044d3e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2b8]
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], ecx
mov eax, dword [0x6c4f80]
test eax, eax
je 0x51cbd4
call fcn.00460f00
mov dword [edi], edx
mov eax, dword [ebx + 0x178]
mov dword [edi + 4], eax
mov dword [ebx + 0x178], edx
mov dword [esp], ebx
call fcn.00518590
jmp 0x51c4fa
mov eax, 2
call fcn.00460fc0
mov dword [esp + 0x90], ebx
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0x2b8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0051b4f0
mov eax, dword [esp + 0x90]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x188]
mov edx, dword [esp + 0x94]
cmp ebx, edx
jl 0x51cbf1
mov ecx, dword [0x6c4f80]
nop
test ecx, ecx
je 0x51cc6c
lea eax, [0x57b0c0]
mov dword [esp], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], eax
call fcn.00410710
mov eax, dword [esp + 0x2bc]
mov edi, dword [esp + 0x160]
xor eax, eax
call fcn.004610ce
mov ecx, dword [esp + 0x2b8]
mov byte [ecx + 0x130], 4
mov byte [ecx + 0x1b4], 1
mov edx, dword [esp + 0x2bc]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0044d3e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x2b8]
mov dword [ebp + 0x17c], ecx
mov dword [ebp + 0x180], edx
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x51cce9
call fcn.00460f00
mov dword [edi], ebx
mov eax, dword [ebp + 0x178]
mov dword [edi + 4], eax
mov dword [ebp + 0x178], ebx
mov dword [esp], ebp
call fcn.00518590
jmp 0x51c4fa
mov eax, 0x12
call fcn.00460fc0
nop
call fcn.0045faf0
jmp fcn.0051b4f0