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

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x470ca8
add esp, 0xffffff80
mov edx, dword [esp + 0x84]
mov ebx, dword [edx]
mov ebp, dword [ebx]
mov dword [esp + 0x50], ebp
cmp ebp, 0xfffffff1
jne 0x470af0
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x470af0
movzx esi, byte [ebx + 5]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x470af0
cmp byte [ebx + 6], 1
jne 0x470af0
cmp byte [ebx + 7], 4
jne 0x470af0
mov esi, dword [ebx + 0x10]
cmp dword [edx + 0x58], esi
jne 0x470af0
mov ecx, dword [edx + 0x44]
mov ebx, dword [edx + 0x40]
lea ebp, [ecx - 1]
xor eax, eax
jmp 0x47058a
mov eax, esi
cmp eax, ebp
jge 0x470763
lea esi, [eax + 1]
lea edi, [ebx + eax*8]
cmp ecx, esi
jbe 0x470ae9
mov dword [esp + 0x28], eax
mov edi, dword [edi]
lea eax, [ebx + eax*8 + 8]
cmp dword [eax], edi
jae 0x470588
mov ecx, dword [edx + 0x38]
mov edi, dword [esp + 0x28]
lea eax, [ebx + edi*8 + 4]
mov eax, dword [eax]
cmp ecx, eax
jbe 0x470ae4
lea ebx, [ebx + edi*8 + 0xc]
mov ebx, dword [ebx]
cmp ebx, ecx
jae 0x470add
mov dword [esp + 0x4c], esi
mov ecx, dword [edx + 0x34]
cmp esi, ebp
jl 0x4705e9
mov ebx, 3
lea ebp, [0xb009f1]
jmp 0x47061d
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [ebx + ecx + 4]
nop
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00454db0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x84]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00454db0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x470ad6
mov ebx, dword [eax + 0x40]
lea ebp, [ebx + edx*8]
mov esi, dword [esp + 0x4c]
cmp ecx, esi
jbe 0x470acf
mov ecx, dword [ebp]
mov dword [esp + 0x50], ecx
lea ebx, [ebx + edx*8 + 8]
mov ebx, dword [ebx]
mov dword [esp + 0x48], ebx
mov ebp, dword [eax + 0xd4]
mov dword [esp + 0x7c], ebp
mov esi, dword [eax + 0xd8]
mov dword [esp + 0x4c], esi
mov edi, dword [esp + 8]
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
call fcn.0043a850
lea eax, [0xb345b0]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.0043b0b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
call fcn.0043aa10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0043b0b0
lea eax, [0xb009f4]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043b0b0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
call fcn.0043aa10
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0043b0b0
lea eax, [0xb050bc]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b0b0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0043b0b0
call fcn.0043aa50
call fcn.0043a8b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
xor edx, edx
jmp 0x470a57
test ecx, ecx
jbe 0x4709ce
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4c], ecx
mov eax, dword [ebx]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00454c80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jbe 0x4709c7
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x40]
mov ebx, dword [esp + 0x4c]
lea edx, [edx + ebx*8 - 8]
mov edx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00454c80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x4708f3
cmp dword [eax + 0x54], edx
jne 0x4708f3
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
jmp 0x470806
mov ebx, dword [esp + 0x78]
lea ecx, [ebx + 0x14]
mov ebx, dword [esp + 0x4c]
lea edx, [ebx - 1]
mov eax, dword [esp + 0x84]
test edx, edx
jle 0x47084b
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x5c]
mov esi, ecx
call fcn.0047541e
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
cmp dword [ebx + 4], ecx
jne 0x47084f
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4707f1
jmp 0x47084f
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xf4]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x40], ebx
call fcn.0043a850
lea eax, [0xb1a4d8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0043b0b0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0043b0b0
lea eax, [0xb01454]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043b0b0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0043b0b0
call fcn.0043aa50
call fcn.0043a8b0
lea eax, [0xb06063]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0046dfe0
mov eax, dword [eax + 0x54]
mov dword [esp + 0x3c], eax
call fcn.0043a850
lea eax, [0xb02679]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0b0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb01e75]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043b0b0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb02f24]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043b0b0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb01e7b]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043b0b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
call fcn.0043aa50
call fcn.0043a8b0
lea eax, [0xb10454]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0046dfe0
mov eax, edx
call fcn.00474d10
xor eax, eax
mov ecx, eax
call fcn.00474d10
mov ecx, dword [eax + 0x40]
lea ecx, [ecx + edx*8]
mov ecx, dword [ecx]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x10], ebp
call fcn.0043a850
lea eax, [0xb0028d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043b0b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
call fcn.0043aa10
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call fcn.0043b0b0
call fcn.0043aa50
call fcn.0043a8b0
mov eax, dword [esp + 0x24]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
cmp edx, eax
jg 0x470ab9
mov ebx, dword [ecx + 0x44]
cmp edx, ebx
jae 0x470ab0
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x40]
lea ebp, [ebp + edx*8 + 4]
mov ebp, dword [ebp]
cmp ebx, ebp
jbe 0x470aa7
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x34]
mov eax, dword [ebp + eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00454db0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x4709d7
mov eax, edx
call fcn.00474d10
mov eax, ebp
mov ecx, ebx
call fcn.00474d20
mov eax, edx
mov ecx, ebx
call fcn.00474d10
lea eax, [0xb179d6]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0046dfe0
mov eax, esi
call fcn.00474d10
mov eax, edx
call fcn.00474d10
mov eax, ebx
call fcn.00474d20
call fcn.00474d20
mov eax, esi
call fcn.00474d10
movzx eax, byte [ebx + 4]
mov dword [esp + 0x48], eax
movzx ecx, byte [ebx + 5]
mov dword [esp + 0x38], ecx
movzx ebp, byte [ebx + 6]
mov dword [esp + 0x34], ebp
movzx esi, byte [ebx + 7]
mov dword [esp + 0x30], esi
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x44], ebx
mov edi, dword [edx + 0x58]
mov dword [esp + 0x3c], edi
mov edi, dword [edx + 0xd4]
mov dword [esp + 0x7c], edi
mov edx, dword [edx + 0xd8]
mov dword [esp + 0x4c], edx
call fcn.0043a850
lea eax, [0xb15040]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0043b0b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb02664]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0b0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043ada0
lea eax, [0xb0266b]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0b0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043ada0
lea eax, [0xb02f1c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043b0b0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043ada0
lea eax, [0xb042b6]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043b0b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043ada0
lea eax, [0xb0f2ea]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0043b0b0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb02672]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0b0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043af40
lea eax, [0xb07107]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043b0b0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0043b0b0
call fcn.0043aa50
call fcn.0043a8b0
lea eax, [0xb18e09]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.00470510