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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xb828]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov esi, dword [edi + 0x3688]
mov dword [ebp - 8], edx
cmp esi, dword [ecx + 0x10]
je 0x470a26
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [edx + 0x3c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x14], esi
and esi, 0xfffff
mov byte [ebp - 1], 0
cmp esi, ecx
jne 0x470a19
push ebx
mov dword [ebp - 0xc], 0
test ecx, ecx
jbe 0x470b05
mov bl, byte [edi + 0xae]
mov ecx, dword [ebp + 0x14]
shr bl, 4
and bl, 1
sub ecx, eax
mov edx, eax
mov dword [ebp - 0x18], ecx
jmp 0x470a68
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + edx]
mov ecx, dword [eax + 0x10]
test bl, bl
je 0x470a85
test byte [eax + 0x48], 1
je 0x470a85
cmp dword [ebp + 0xc], 0x400
jne 0x470a85
mov byte [ebp - 1], 1
mov eax, dword [eax + 0x48]
test eax, 0x1f80
je 0x470aaf
mov esi, dword [ebp + 0x10]
not esi
and esi, eax
test esi, 0x1f80
je 0x470aaf
cmp dword [ebp + 0xc], 0x400
jne 0x471087
mov byte [ebp - 1], 1
mov eax, dword [edx]
test byte [eax + 0x48], 0x7f
jne 0x471087
test byte [edi + 0xac], 0x20
je 0x470ae9
mov eax, dword [ecx + 8]
and eax, 0x200
xor ecx, ecx
or eax, ecx
je 0x470ae9
mov eax, dword [ebp - 0x14]
and eax, 0xfff00000
cmp eax, 0x10100000
jne 0x471087
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0xb828]
inc eax
add edx, 4
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 8]
jb 0x470a65
mov edx, dword [ebp - 8]
xor ecx, ecx
cmp dword [edx + 8], ecx
jbe 0x470ca0
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 8]
lea edx, [ebp - 0x44]
sub esi, edx
mov dword [ebp + 0xc], esi
jmp 0x470b23
mov esi, dword [ebp + 0xc]
cmp byte [ebp - 1], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + 0x24]
mov dword [ebp + ecx*4 - 0x44], edi
lea edx, [ebp + ecx*4 - 0x44]
mov esi, dword [edx + esi]
mov edx, dword [eax + 0x28]
mov dword [ebp + ecx*4 - 0x54], edx
mov edx, dword [eax + 0x2c]
mov edi, dword [eax + 0x48]
mov dword [ebp + ecx*4 - 0x64], edx
mov edx, dword [eax + 0x30]
mov dword [ebp + ecx*4 - 0x74], edx
mov dl, byte [eax + 0x34]
mov byte [ebp + ecx - 0x2c], dl
mov edx, dword [eax + 0x64]
mov dword [ebp + ecx*4 - 0xd4], edx
mov edx, dword [eax + 0x68]
mov dword [ebp + ecx*4 - 0xb4], edx
mov edx, dword [eax + 0xa4]
mov dword [ebp + ecx*4 - 0xa4], edx
mov edx, dword [eax + 0x94]
mov dword [ebp + ecx*4 - 0x84], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp + ecx*4 - 0xc4], edx
mov edx, dword [eax + 0x20]
mov dword [ebp + ecx*4 - 0x94], edi
mov dword [ebp + ecx*4 - 0xe4], edx
jne 0x470c86
mov edi, dword [eax + 0x10]
mov edx, dword [esi + 0x10]
mov dword [ebp + 0x10], edi
cmp edi, edx
je 0x470c1a
test edi, edi
je 0x470bec
cmp edi, 0xffffffff
je 0x470bec
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x470bd1
mov edi, dword [eax + 0x14]
mov dword [ebx + 0x14], edi
mov edi, dword [ebp + 0x10]
jmp 0x470bd7
mov ebx, dword [eax + 0x14]
mov dword [edi + 0x24], ebx
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x470be6
mov edi, dword [eax + 0x18]
mov dword [ebx + 0x18], edi
jmp 0x470bec
mov ebx, dword [eax + 0x18]
mov dword [edi + 0x28], ebx
test edx, edx
je 0x470c14
cmp edx, 0xffffffff
je 0x470c14
mov edi, dword [edx + 0x28]
mov dword [eax + 0x18], edi
mov edi, dword [edx + 0x28]
test edi, edi
je 0x470c07
mov dword [edi + 0x14], eax
jmp 0x470c0a
mov dword [edx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [edx + 0x28], eax
mov ebx, dword [ebp - 8]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [esi + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [esi + 0x30]
mov dword [eax + 0x30], edx
mov dl, byte [esi + 0x34]
mov byte [eax + 0x34], dl
mov edx, dword [esi + 0x64]
mov dword [eax + 0x64], edx
mov edx, dword [esi + 0x68]
mov dword [eax + 0x68], edx
mov edx, dword [esi + 0x94]
mov dword [eax + 0x94], edx
mov edx, dword [esi + 0xa4]
mov dword [eax + 0xa4], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 0x48]
mov edi, edx
and edi, 0xc80
xor edi, dword [esi + 0x48]
and edx, 0x137f
xor edi, dword [ebp + 0x18]
or edi, edx
mov dword [eax + 0x48], edi
jmp 0x470c96
mov edx, dword [ebp + 0x18]
mov esi, edx
not esi
and esi, edi
xor edi, edx
or esi, edi
mov dword [eax + 0x48], esi
inc ecx
cmp ecx, dword [ebx + 8]
jb 0x470b20
mov eax, dword [ebp - 8]
mov esi, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x20], esi
test esi, esi
jbe 0x470cd5
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edi, dword [ebp + 8]
push edx
call fcn.00473ab0
cmp eax, 1
je 0x470f89
add dword [ebp + 0xc], 4
inc ebx
cmp ebx, esi
jb 0x470cb5
or eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], eax
test esi, esi
jbe 0x470d85
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3688]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x54]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x64]
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], esi
nop
mov edi, dword [ebx + eax]
mov edx, dword [edi + 0x74]
mov ecx, dword [eax]
cmp edx, dword [ebp - 0x10]
jae 0x470d30
mov dword [ebp - 0x10], edx
mov edx, dword [edi + 0x78]
cmp edx, dword [ebp + 0x10]
jbe 0x470d3b
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x10]
jne 0x470d71
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + eax]
cmp edx, dword [ecx + 0x24]
jne 0x470d71
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + eax]
cmp edx, dword [ecx + 0x28]
jne 0x470d71
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + eax]
cmp edx, dword [ecx + 0x2c]
jne 0x470d71
mov edi, dword [edi + 0x70]
cmp edi, dword [ebp + 0xc]
jae 0x470d7c
mov dword [ebp + 0xc], edi
jmp 0x470d7c
mov ecx, dword [ecx + 0x70]
cmp ecx, dword [ebp + 0xc]
jae 0x470d7c
mov dword [ebp + 0xc], ecx
add eax, 4
sub dword [ebp - 0xc], 1
jne 0x470d20
cmp byte [ebp + 0x1c], 0
jne 0x470da3
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x470da3
mov ecx, dword [ebp + 8]
test byte [ecx + 0xaf], 0x80
je 0x470f89
cmp byte [ebp - 1], 0
jne 0x47117b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
ja 0x470f6f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x24], ecx
jmp 0x470dd0
cmp eax, dword [ebp - 0x24]
jae 0x470f6f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x3c]
mov ecx, edx
and ecx, 0xfff00000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], ecx
je 0x470f5f
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edi, [ecx + eax*4]
mov eax, edx
and eax, 0xfffff
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
mov byte [ebp + 0x1f], 0
cmp ecx, edi
jae 0x470f5f
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], eax
jbe 0x470f0a
mov ecx, dword [ebp - 8]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov edi, dword [edx + eax*4]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edi
call fcn.00470960
test al, al
jne 0x470f89
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
jbe 0x470e99
mov eax, ebx
nop
mov edx, dword [eax]
cmp edx, edi
je 0x470e76
cmp edx, dword [edi + 0x44]
je 0x470e7e
inc ecx
add eax, 4
cmp ecx, dword [ebp - 0x20]
jb 0x470e60
jmp 0x470e99
mov edx, dword [ebx + ecx*4]
mov esi, dword [edx + 0x48]
jmp 0x470e96
mov eax, dword [edi + 0x48]
mov ecx, dword [ebx + ecx*4]
mov esi, eax
and esi, 0xc80
xor esi, dword [ecx + 0x48]
and eax, 0x137f
or esi, eax
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jb 0x470e37
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x470f0a
cmp eax, ecx
jne 0x470f89
cmp dword [ebp - 0x10], 0x70500000
je 0x470f89
cmp dword [ebp - 0x10], 0x70600000
je 0x470f89
cmp dword [ebp - 0x10], 0x70700000
je 0x470f89
mov ecx, esi
and ecx, 0x1f80
je 0x470f06
lea edx, [ecx - 1]
and edx, ecx
mov eax, edx
xor eax, ecx
mov ecx, dword [ebp - 0x30]
call fcn.0050c640
test al, al
je 0x470f89
mov ecx, edx
test edx, edx
jne 0x470ee7
mov byte [ebp + 0x1f], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x34]
jb 0x470e20
cmp byte [ebp + 0x1f], 0
je 0x470f5f
mov eax, dword [ebp - 0x28]
and eax, 0xf0000000
cmp eax, 0x60000000
je 0x470f53
cmp eax, 0xa0000000
je 0x470f53
mov eax, dword [ebp - 0x10]
cmp eax, 0x10d00000
je 0x470f53
cmp eax, 0x10e00000
je 0x470f53
cmp eax, 0x50600000
jne 0x470f5f
mov ecx, dword [ebp + 8]
test byte [ecx + 0xaf], 4
je 0x470f89
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
jbe 0x470dd0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb880], 0
je 0x471095
mov dword [eax + 0xb880], 2
mov ebx, dword [ebp - 8]
xor ecx, ecx
cmp dword [ebx + 8], ecx
jbe 0x471087
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + ecx*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3688]
mov esi, dword [eax + 0x10]
cmp esi, edx
je 0x47100e
test esi, esi
je 0x470fe3
cmp esi, 0xffffffff
je 0x470fe3
mov edi, dword [eax + 0x18]
test edi, edi
je 0x470fc8
mov ebx, dword [eax + 0x14]
mov dword [edi + 0x14], ebx
mov ebx, dword [ebp - 8]
jmp 0x470fce
mov edi, dword [eax + 0x14]
mov dword [esi + 0x24], edi
mov edi, dword [eax + 0x14]
test edi, edi
je 0x470fdd
mov esi, dword [eax + 0x18]
mov dword [edi + 0x18], esi
jmp 0x470fe3
mov edi, dword [eax + 0x18]
mov dword [esi + 0x28], edi
test edx, edx
je 0x47100b
cmp edx, 0xffffffff
je 0x47100b
mov esi, dword [edx + 0x28]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0x28]
test esi, esi
je 0x470ffe
mov dword [esi + 0x14], eax
jmp 0x471001
mov dword [edx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [edx + 0x28], eax
mov dword [eax + 0x10], edx
mov edx, dword [ebp + ecx*4 - 0x44]
mov dword [eax + 0x24], edx
mov edx, dword [ebp + ecx*4 - 0x54]
mov dword [eax + 0x28], edx
mov edx, dword [ebp + ecx*4 - 0x64]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp + ecx*4 - 0x74]
mov dword [eax + 0x30], edx
mov dl, byte [ebp + ecx - 0x2c]
mov byte [eax + 0x34], dl
mov edx, dword [ebp + ecx*4 - 0x94]
mov dword [eax + 0x48], edx
mov edx, dword [ebp + ecx*4 - 0xd4]
mov dword [eax + 0x64], edx
mov edx, dword [ebp + ecx*4 - 0xb4]
mov dword [eax + 0x68], edx
mov edx, dword [ebp + ecx*4 - 0x84]
mov dword [eax + 0x94], edx
mov edx, dword [ebp + ecx*4 - 0xa4]
mov dword [eax + 0xa4], edx
mov edx, dword [ebp + ecx*4 - 0xc4]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp + ecx*4 - 0xe4]
inc ecx
mov dword [eax + 0x20], edx
cmp ecx, dword [ebx + 8]
jb 0x470f97
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
jbe 0x471160
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [edx + ebx*4]
mov edx, dword [ecx + 0x44]
cmp edx, 0xffffffff
jne 0x4710bc
mov dword [eax + 0x44], ecx
jmp 0x4710bf
mov dword [eax + 0x44], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x18]
cmp edx, 0x400
jne 0x4710f0
mov esi, dword [eax + 8]
mov edx, esi
and edx, 4
xor edi, edi
or edx, edi
je 0x471102
and esi, 0xfffffffb
mov dword [eax + 8], esi
or dword [eax + 8], 8
jmp 0x4710fc
cmp edx, 0x1000
jne 0x471102
or dword [eax + 8], 4
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x84]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0x94]
mov dword [eax + 0x94], edx
mov edx, dword [ecx + 0x98]
mov dword [eax + 0x98], edx
mov edx, dword [ecx + 0x9c]
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0xa4]
mov dword [eax + 0xa4], edx
mov ecx, dword [ecx + 0x50]
mov edx, dword [ebp - 8]
inc ebx
mov dword [eax + 0x50], ecx
cmp ebx, dword [edx + 8]
jb 0x4710a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xb828]
xor ecx, ecx
pop ebx
mov dword [eax], ecx
mov dword [eax + 8], ecx
pop edi
mov dword [eax + 0x3c], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xb828]
mov ecx, dword [eax + 0x3c]
and ecx, 0xfffff
pop ebx
or ecx, 0x10000000
pop edi
mov dword [eax + 0x3c], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18