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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x51631e
sub esp, 0x180
lea eax, [0x869b80]
mov dword [esp], eax
call fcn.0040a800
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x869b80]
mov dword [esp], ecx
call fcn.0040a800
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
lea ecx, [0x869b80]
mov dword [esp], ecx
call fcn.0040a800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x190]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x516303
xor edx, edx
mov dword [esp + 0x78], eax
test edx, edx
jne 0x515310
nop
mov ecx, dword [esp + 0x194]
mov edx, dword [esp + 0x84]
cmp ecx, edx
je 0x514f90
mov ebx, dword [ecx + 8]
mov dword [esp + 0x38], ebx
mov ebp, dword [ecx + 4]
mov esi, dword [edx + 0xc]
mov edi, ecx
mov ecx, dword [edx + 4]
cmp ebx, esi
jg 0x515273
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x38]
cmp ebx, esi
jle 0x51526c
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x74], ebx
cmp ecx, ebp
je 0x514f57
mov dword [esp], ecx
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.004529a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x515258
mov ecx, dword [esp + 0xcc]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x194]
movzx ecx, byte [ecx]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x198]
mov ebx, dword [esp + 0x7c]
cmp ecx, ebx
je 0x515251
mov ebp, dword [ecx + 8]
mov dword [esp + 0x44], ebp
mov esi, dword [ecx + 4]
mov eax, edx
mov edx, dword [ebx + 0xc]
mov edi, ecx
mov ecx, dword [ebx + 4]
cmp ebp, edx
jg 0x5151b4
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x44]
cmp ebp, edx
jle 0x5151ad
mov dword [esp + 0x70], ebp
mov dword [esp + 0xcc], ecx
cmp ecx, esi
je 0x514ff2
mov dword [esp], ecx
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.004529a0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x515199
mov ecx, dword [esp + 0xcc]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x198]
movzx ecx, byte [ecx]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x19c]
mov ebx, dword [esp + 0x78]
cmp ecx, ebx
je 0x515192
mov ebp, dword [ecx + 8]
mov dword [esp + 0x34], ebp
mov esi, dword [ecx + 4]
mov eax, edx
mov edx, dword [ebx + 0xc]
mov edi, ecx
mov ecx, dword [ebx + 4]
cmp ebp, edx
jg 0x5150fb
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x34]
cmp ebp, edx
jle 0x5150f4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xcc], ecx
cmp ecx, esi
je 0x51508a
mov dword [esp], ecx
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.004529a0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x5150e3
mov eax, dword [esp + 0xcc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x19c]
movzx eax, byte [eax]
mov byte [edx], al
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], edx
add esp, 0x180
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x5150b0
mov edx, ebp
jmp 0x515068
mov dword [esp + 0x94], esi
cmp ebp, 1
jne 0x51514e
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x19c]
mov edx, 1
mov ebp, 1
jmp 0x515058
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 8], eax
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x19c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
jmp 0x515058
mov edx, ebx
jmp 0x5150bc
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x51501c
mov edx, ebp
jmp 0x514fd0
mov dword [esp + 0x98], esi
cmp ebp, 1
jne 0x51520a
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x198]
mov edx, 1
mov ebp, 1
jmp 0x514fc0
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
jmp 0x514fc0
mov edx, ebx
jmp 0x515028
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x514f84
mov esi, ebx
jmp 0x514f35
mov dword [esp + 0x90], ebp
cmp ebx, 1
jne 0x5152c9
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x194]
mov ebx, 1
mov esi, 1
jmp 0x514f25
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x194]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x60]
jmp 0x514f25
mov edx, dword [esp + 0x19c]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5162e8
xor ebx, ebx
test ebx, ebx
jne 0x51574f
nop
mov edx, dword [esp + 0x188]
mov ebx, dword [esp + 0x84]
cmp edx, ebx
je 0x515748
mov ebp, dword [edx + 8]
mov dword [esp + 0x3c], ebp
mov esi, dword [edx + 4]
mov edi, ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
cmp ebp, ecx
jg 0x5156ab
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
jle 0x5156a4
mov dword [esp + 0x74], ebp
mov dword [esp + 0xcc], edx
cmp edx, esi
je 0x51538f
mov dword [esp], edx
mov dword [esp + 4], esi
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.004529a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x515690
mov ecx, dword [esp + 0xcc]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x188]
movzx ecx, byte [ecx]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x18c]
mov ebx, dword [esp + 0x7c]
cmp ecx, ebx
je 0x515689
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov eax, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp edx, ebp
jg 0x5155ec
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x30]
cmp edx, ebp
jle 0x5155e5
mov dword [esp + 0x70], edx
mov dword [esp + 0xcc], esi
cmp esi, ecx
je 0x51542a
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004529a0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x5155d1
mov ecx, dword [esp + 0xcc]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18c]
movzx ecx, byte [ecx]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x190]
mov ebx, dword [esp + 0x78]
cmp ecx, ebx
je 0x5155ca
mov ebp, dword [ecx + 8]
mov dword [esp + 0x28], ebp
mov esi, dword [ecx + 4]
mov eax, edx
mov edx, dword [ebx + 0xc]
mov edi, ecx
mov ecx, dword [ebx + 4]
cmp ebp, edx
jg 0x515533
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
cmp ebp, edx
jle 0x51552c
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xcc], ecx
cmp ecx, esi
je 0x5154c2
mov dword [esp], ecx
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.004529a0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x51551b
mov eax, dword [esp + 0xcc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x190]
movzx eax, byte [eax]
mov byte [edx], al
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], edx
add esp, 0x180
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x5154e8
mov edx, ebp
jmp 0x5154a0
mov dword [esp + 0xa8], esi
cmp ebp, 1
jne 0x515586
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x190]
mov ebp, 1
mov edx, 1
jmp 0x515490
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 8], eax
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x190]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
jmp 0x515490
mov edx, ebx
jmp 0x5154f4
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x515454
mov ebp, edx
jmp 0x515408
mov dword [esp + 0xa0], ecx
cmp edx, 1
jne 0x515642
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x18c]
mov edx, 1
mov ebp, 1
jmp 0x5153f8
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x18c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
jmp 0x5153f8
mov edx, ebx
jmp 0x515460
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x5153bc
mov ecx, ebp
jmp 0x51536d
mov dword [esp + 0xa4], esi
cmp ebp, 1
jne 0x515701
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x190]
mov ecx, 1
mov ebp, 1
jmp 0x51535d
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x190]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x3c]
jmp 0x51535d
mov edx, ebx
jmp 0x5153c8
mov byte [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
lea eax, [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fbae0
mov byte [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fbae0
mov byte [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
lea eax, [esp + 0x150]
mov dword [esp], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fbae0
mov byte [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
lea eax, [esp + 0x140]
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fbae0
mov byte [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [esp + 0x130]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.004fb040
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5162c9
mov ecx, 0
jne 0x5162ae
xor edx, edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x68], ecx
cmp edx, 0xffffffff
je 0x516289
mov byte [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.00506390
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0xb4]
movzx ecx, byte [eax]
mov byte [esp + 0x120], cl
lea ecx, [esp + 0x120]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004fb290
mov byte [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
lea eax, [esp + 0x110]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
lea ecx, [esp + 0x120]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc8], eax
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea ecx, [esp + 0x100]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x19c]
mov dword [esp + 8], edx
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004fbae0
mov byte [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea eax, [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 8], eax
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004fbae0
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [esp + 0xe0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.004fb040
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51626e
xor ecx, ecx
mov dword [esp + 0xb0], eax
cmp ecx, 0xffffffff
je 0x516249
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x51622c
xor ebp, ebp
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x515c36
test ebp, ebp
je 0x5161d4
nop
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00506390
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb0]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [0xc6be00]
test eax, eax
jne 0x5161c5
mov dword [ebx + 4], edx
mov byte [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [esp + 0x120]
mov dword [esp + 8], eax
call fcn.004fb290
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb8], eax
nop
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x84]
cmp ecx, edx
je 0x515d7a
mov ebx, dword [ecx + 8]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 4]
mov esi, dword [edx + 0xc]
mov edi, ecx
mov ecx, dword [edx + 4]
cmp ebx, esi
jg 0x516122
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x2c]
cmp ebx, esi
jle 0x51611b
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x74], ebx
cmp ecx, ebp
je 0x515d41
mov dword [esp], ecx
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.004529a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x516107
mov eax, dword [esp + 0xcc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xb0]
movzx ecx, byte [eax]
mov byte [edx], cl
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004fb290
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004fbae0
nop
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
je 0x515e8e
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
cmp edx, ebp
jg 0x51606e
mov edi, edx
cmp edx, edi
jle 0x516067
mov dword [esp + 0x40], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0x58], ebp
cmp esi, ebx
je 0x515e58
mov dword [esp], esi
mov dword [esp + 4], ebx
shl edi, 2
mov dword [esp + 8], edi
call fcn.004529a0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x516053
mov eax, dword [esp + 0xcc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xb0]
movzx eax, byte [eax]
mov byte [edx], al
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 8], ecx
call fcn.004fb290
nop
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.00506390
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [0xc6be00]
test eax, eax
jne 0x516044
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004fb040
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004fbae0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x19c]
mov dword [esp + 8], ecx
call fcn.004fadf0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004fb290
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.004fb040
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004fb290
mov eax, dword [esp + 0x184]
mov eax, dword [eax]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004fbae0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1a8], eax
add esp, 0x180
ret
lea edi, [ebx + 4]
mov eax, ecx
call fcn.00451ff0
jmp 0x515f44
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x515e82
mov edi, edx
jmp 0x515e32
mov dword [esp + 0x70], edx
mov dword [esp + 0x9c], ebx
cmp edx, 1
jne 0x5160c5
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x70]
mov edx, 1
mov ebp, 1
jmp 0x515e2a
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.0043d110
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x70]
mov edx, edi
mov ebp, dword [esp + 0x58]
jmp 0x515e2a
lea edi, [edx + 4]
mov eax, dword [esp + 0xcc]
call fcn.00451ff0
jmp 0x515d6e
mov esi, ebx
jmp 0x515d1f
mov dword [esp + 0xac], ebp
cmp ebx, 1
jne 0x51617b
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov esi, 1
mov ebx, 1
jmp 0x515d0f
lea eax, [0x843300]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
jmp 0x515d0f
lea edi, [ebx + 4]
mov eax, edx
call fcn.00451ff0
jmp 0x515c85
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0xc], eax
call fcn.005163c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], edx
add esp, 0x180
ret
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x51623f
mov ebp, 0xffffffff
jmp 0x515c26
mov ebp, 1
jmp 0x515c26
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fadf0
mov eax, dword [esp + 0xb0]
jmp 0x515c13
movzx ecx, byte [eax]
test cl, cl
je 0x51627f
mov ecx, 0xffffffff
jmp 0x515c03
mov ecx, 1
jmp 0x515c03
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004fadf0
mov eax, dword [esp + 0xb4]
jmp 0x515980
movzx edx, byte [eax]
test dl, dl
je 0x5162bf
mov edx, 0xffffffff
jmp 0x51596c
mov edx, 1
jmp 0x51596c
movzx edx, byte [eax]
test dl, dl
je 0x5162dc
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x515964
test ecx, ecx
mov ecx, 1
jmp 0x515964
movzx ebx, byte [edx]
test bl, bl
je 0x5162f9
mov ebx, 0xffffffff
jmp 0x515324
mov ebx, 1
jmp 0x515324
movzx edx, byte [ecx]
test dl, dl
je 0x516314
mov edx, 0xffffffff
jmp 0x514ee8
mov edx, 1
jmp 0x514ee8
call fcn.004507b0
jmp fcn.00514e70