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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x1b8]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov esi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ecx
test byte [edi + 0x44], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], edi
jne 0x470848
mov eax, dword [esi + 0x1c]
lea ecx, [edx + edx*4]
shl ecx, 4
mov dword [esp + 0x1c], eax
add eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x1c]
test eax, eax
je 0x470227
cmp dword [esi + 0x38], 0
jne 0x470848
cmp dword [ecx + 0x3c], 0
jne 0x470848
test dword [esi + 8], 0x100
je 0x470242
test eax, eax
jne 0x470848
cmp dword [edx], 0
je 0x470848
mov ebx, dword [ecx + 8]
test bl, 1
jne 0x470848
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x470277
mov edi, dword [esp + 0x1c]
cmp dword [edi], 1
mov edi, dword [esp + 0x20]
jg 0x470848
test edx, edx
jne 0x470848
cmp dword [esi + 0x2c], 0
je 0x470287
cmp dword [ecx + 0x2c], 0
jne 0x470848
test edx, edx
je 0x470295
cmp dword [ecx + 0x2c], 0
jne 0x470848
test eax, eax
je 0x4702ad
cmp dword [esi + 0x20], 0
jne 0x470848
test byte [esi + 8], 1
jne 0x470848
test ebx, 0x2000
jne 0x470848
mov eax, dword [esp + 0x14]
test byte [eax + 0x2c], 0x20
je 0x4702eb
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x30], 1
cmp dword [eax], 1
jg 0x470848
test edx, edx
jne 0x470848
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x470848
cmp dword [ecx + 0x30], 0
lea ebx, [ecx + 0x30]
je 0x470362
test edx, edx
jne 0x470848
test byte [esi + 8], 1
jne 0x470848
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x470848
test byte [ecx + 8], 9
jne 0x470848
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x47032e
cmp byte [ecx + 4], 0x74
jne 0x470848
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jl 0x470848
mov ecx, edx
test ecx, ecx
jne 0x470313
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x470362
mov edx, dword [eax]
test edx, edx
jle 0x470362
add eax, 0x18
cmp word [eax], 0
je 0x470848
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x470350
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x1b8], ecx
cmp byte [edi + 0x9d], 0
jne 0x4703e9
cmp byte [eax + 0x190], 0
jne 0x4703e9
mov eax, dword [edi + 0x130]
test eax, eax
je 0x4703e9
push ecx
push 0
push 0
push 0
push 0x15
push dword [edi + 0x134]
call eax
add esp, 0x18
cmp eax, 1
jne 0x4703c4
mov ecx, dword [esp + 0x18]
push 0x53a7d0
push ecx
call fcn.004081e0
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], 0x17
jmp 0x4703e6
test eax, eax
je 0x4703e9
cmp eax, 2
je 0x4703e9
push 0x53a78c
push dword [esp + 0x1c]
call fcn.004081e0
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], 1
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1b8], eax
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4704a3
mov eax, dword [esp + 0x28]
mov edx, eax
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
push 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
call fcn.0043d5b0
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ecx + 0x3c], esi
mov esi, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], ebx
mov byte [esi + 4], 0x74
test edx, edx
je 0x47047f
mov dword [edx + 0x30], eax
test eax, eax
je 0x47047a
mov dword [eax + 0x34], edx
mov dword [edx + 0x34], esi
mov eax, edx
mov edi, dword [esp + 0x20]
mov dword [esi + 0x30], eax
cmp byte [edi + 0x49], 0
jne 0x470831
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x470405
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov ebx, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x4704f8
cmp dword [edi + 0x1d0], 0
je 0x4704cf
mov edx, ecx
mov ecx, edi
call fcn.004050c0
jmp 0x4704f8
cmp ecx, dword [edi + 0x128]
jb 0x4704ef
cmp ecx, dword [edi + 0x12c]
jae 0x4704ef
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x4704f8
push ecx
call fcn.00405050
add esp, 4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x470540
cmp dword [edi + 0x1d0], 0
je 0x470517
mov edx, ecx
mov ecx, edi
call fcn.004050c0
jmp 0x470540
cmp ecx, dword [edi + 0x128]
jb 0x470537
cmp ecx, dword [edi + 0x12c]
jae 0x470537
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x470540
push ecx
call fcn.00405050
add esp, 4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x470588
cmp dword [edi + 0x1d0], 0
je 0x47055f
mov edx, ecx
mov ecx, edi
call fcn.004050c0
jmp 0x470588
cmp ecx, dword [edi + 0x128]
jb 0x47057f
cmp ecx, dword [edi + 0x12c]
jae 0x47057f
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x470588
push ecx
call fcn.00405050
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
test edx, edx
je 0x4705e3
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x4705d8
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1c8]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x1c8], edx
mov ecx, dword [esp + 0x14]
jmp 0x4705dc
dec eax
mov dword [edx + 0x20], eax
mov dword [ecx + 0x18], 0
mov eax, dword [ebx + 0x1c]
mov ebx, dword [esi + 0x1c]
mov byte [esp + 0xf], 0
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x47060d
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x2c]
mov byte [esp + 0xf], al
jmp 0x470675
push 0
push 0x58
mov ecx, edi
call fcn.00405440
mov ebx, eax
mov dword [esp + 0x2c], eax
add esp, 8
test ebx, ebx
je 0x470816
push 0x50
lea eax, [ebx + 8]
mov dword [ebx + 4], 1
push 0
push eax
mov dword [ebx], 1
call fcn.004e8ed0
add esp, 0xc
mov dword [ebx + 0x38], 0xffffffff
cmp byte [edi + 0x49], 0
jne 0x47080d
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
add eax, eax
mov dword [ebx + eax*8 - 0x40], 0
mov dword [ebx + eax*8 - 0x44], 0
mov dword [esi + 0x1c], ebx
cmp ecx, 1
jle 0x4706a5
mov eax, dword [esp + 0x38]
mov edx, ebx
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, edi
push eax
call fcn.00450e80
mov ebx, eax
add esp, 8
mov dword [esi + 0x1c], ebx
cmp byte [edi + 0x49], 0
mov dword [esp + 0x24], ebx
jne 0x47081d
jmp 0x4706a9
test ecx, ecx
jle 0x470719
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
add edi, 8
add esi, 8
add edi, ebx
mov ebx, dword [esp + 0x20]
nop dword [eax]
mov edx, dword [edi + 0x38]
mov ecx, ebx
call fcn.00450cf0
movups xmm0, xmmword [esi]
push 0x50
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], eax
call fcn.004e8ed0
add esp, 0xc
lea edi, [edi + 0x50]
add esi, 0x50
sub dword [esp + 0x1c], 1
jne 0x4706c0
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0xf]
mov byte [ecx + ebx + 0x2c], al
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x470758
xor ecx, ecx
cmp dword [edx], ecx
jle 0x47074e
lea eax, [edx + 0x18]
nop dword [eax]
xor edi, edi
lea eax, [eax + 0x18]
mov word [eax - 0x18], di
inc ecx
cmp ecx, dword [edx]
jl 0x470740
mov dword [esi + 0x2c], edx
mov dword [ebx + 0x2c], 0
mov edx, dword [ebx + 0x20]
mov edi, dword [esp + 0x20]
test edx, edx
je 0x470773
push 0
push 0
mov ecx, edi
call fcn.0043cd70
add esp, 8
jmp 0x470775
xor eax, eax
cmp dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
jbe 0x47078b
mov edx, dword [esp + 0x2c]
mov ecx, eax
call fcn.004689b0
push dword [esi + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.0043c630
add esp, 4
mov dword [esi + 0x20], eax
cmp byte [edi + 0x49], 0
jne 0x4707db
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov edx, esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
push 0
mov dword [esp + 0x5c], eax
call fcn.00470050
add esp, 4
mov eax, dword [ebx + 8]
and eax, 1
or dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4707f5
mov dword [esi + 0x38], eax
mov dword [ebx + 0x38], 0
mov esi, dword [esi + 0x30]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], ebx
test esi, esi
jne 0x4705e3
jmp 0x47081d
mov edx, ebx
mov ecx, edi
call fcn.00451220
mov dword [esi + 0x1c], 0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x470831
push 1
mov ecx, edi
call fcn.00468540
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret