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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x124
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe0]
mov eax, dword [ecx]
push esi
push edi
xor edx, edx
xor edi, edi
mov esi, eax
inc edi
and eax, 0xfff00000
and esi, 0xfffff
cmp eax, 0x30000000
mov dword [ebp + 0x70], edx
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], 2
mov dword [ebp + 0x40], 3
jne 0x47c0df
cmp esi, edx
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], edx
mov dword [ebp + 0x54], edx
jbe 0x47be12
mov ecx, dword [ecx + 8]
fld qword [0x4ddfa8]
mov eax, esi
shl eax, 2
mov dword [ebp + 0x6c], eax
add eax, ecx
mov dword [ebp + 0x68], eax
mov eax, esi
shl eax, 3
mov dword [ebp + 0x44], eax
add eax, ecx
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x58], esi
mov eax, dword [ebp + 0x68]
mov edx, dword [eax]
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + edx*4]
mov edi, dword [ebp + 0x74]
mov edi, dword [edi]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + 4]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + edi*4]
mov dword [ebp + 0x48], edi
mov edi, dword [edx + 4]
mov eax, dword [eax + edi*4]
mov edi, 0x100
test dword [eax + 4], edi
je 0x47bc8b
fcom qword [edx + 0x20]
fnstsw ax
test ah, 0x44
jp 0x47bc8b
cmp dword [edx + 8], 0xffffffff
jne 0x47bc8b
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x47bc8b
mov dword [ebp + 0x64], 1
jmp 0x47bc92
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x48]
test dword [eax + 4], edi
je 0x47bcbf
mov edx, dword [ebp + 0x4c]
fcom qword [edx + 0x20]
fnstsw ax
test ah, 0x44
jp 0x47bcbf
cmp dword [edx + 8], 0xffffffff
jne 0x47bcbf
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x47bcbf
mov dword [ebp + 0x5c], 1
jmp 0x47bcc6
mov dword [ebp + 0x54], 1
add dword [ebp + 0x74], 4
add dword [ebp + 0x68], 4
add ecx, 4
dec dword [ebp + 0x58]
jne 0x47bc37
xor edi, edi
fstp st(0)
cmp dword [ebp + 0x64], edi
je 0x47bd19
cmp dword [ebp + 0x60], edi
jne 0x47bd19
push 0x74
call fcn.0047983f
cmp eax, edi
je 0x47bcfc
mov ecx, eax
call fcn.0047951c
jmp 0x47bcfe
xor eax, eax
cmp eax, edi
mov dword [ebp + 0x70], eax
je 0x47bd48
push 0
push esi
lea ecx, [esi + esi]
and esi, 0xfffff
or esi, 0xf0d00000
jmp 0x47bd64
cmp dword [ebp + 0x5c], edi
je 0x47be12
cmp dword [ebp + 0x54], edi
jne 0x47be12
push 0x74
call fcn.0047983f
cmp eax, edi
je 0x47bd3f
mov ecx, eax
call fcn.0047951c
jmp 0x47bd41
xor eax, eax
cmp eax, edi
mov dword [ebp + 0x70], eax
jne 0x47bd52
mov eax, 0x8007000e
jmp 0x47c0e1
push 0
push esi
lea ecx, [esi + esi]
and esi, 0xfffff
or esi, 0xf0e00000
push ecx
mov ecx, eax
push esi
call fcn.00479880
mov edi, eax
test edi, edi
jl 0x47c0d1
push dword [ebx + 0xe0]
mov ecx, dword [ebp + 0x70]
call fcn.0047954f
mov edi, eax
test edi, edi
jl 0x47c0d1
mov eax, dword [ebx + 0xe0]
mov esi, dword [eax + 0x10]
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
mov edi, dword [eax + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax + 8]
mov ecx, edx
mov edx, dword [ebx + 0xe0]
mov esi, dword [edx + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax + 8]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebx + 0xe0]
mov esi, dword [edx + 8]
add edi, ecx
cmp dword [ebp + 0x64], 0
je 0x47bde6
add esi, ecx
jmp 0x47bde9
add esi, dword [ebp + 0x44]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0x18]
push dword [ebp + 0x70]
mov ecx, dword [ecx + eax*4]
call fcn.00479aac
mov edi, eax
jmp 0x47c0d1
push 1
push esi
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x4e71c8
push dword [ebx + 0xe0]
mov ecx, ebx
call fcn.0047a449
mov edi, eax
test edi, edi
jne 0x47c0df
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x74], eax
and dword [ebp + 0x60], 0
xor edx, edx
test esi, esi
mov dword [ebp + 0x48], edx
jbe 0x47bf89
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp + 0x74]
shl eax, 2
lea edi, [eax + edx]
mov edi, dword [ebp + edi*4 - 0x6c]
mov dword [ebp + 0x58], edi
mov edi, edx
sub edi, eax
mov eax, dword [ebp + edi*4 - 0x5c]
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x68], eax
lea eax, [edi + edx]
sub edx, edi
mov edx, dword [ebp + edx*4 - 0x3c]
mov edi, dword [ebp + 0x68]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi + 4]
mov eax, dword [ebp + eax*4 - 0x4c]
mov dword [ebp + 0x4c], edx
mov edx, dword [ecx + edx*4]
mov dword [ebp + 0x6c], edx
mov edx, dword [ebx + 0x10]
mov edi, dword [edx + edi*4]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x6c]
mov edi, dword [edi + 4]
mov edx, dword [edx + edi*4]
mov edi, dword [ebp + 0x58]
mov dword [ebp + 0x44], edx
mov edx, dword [ecx + edi*4]
mov edx, dword [edx + 0x38]
cmp edx, eax
mov dword [ebp + 0x54], edx
je 0x47bed5
mov edx, dword [ecx + eax*4]
mov edx, dword [edx + 0x38]
cmp edx, edi
je 0x47bed5
cmp dword [ebp + 0x54], 0xffffffff
je 0x47befa
cmp dword [ebp + 0x54], edx
jne 0x47befa
mov edx, dword [ecx + edi*4]
mov edi, dword [edx + 0x3c]
mov edx, dword [ecx + eax*4]
xor edi, 0x80000
cmp edi, dword [edx + 0x3c]
jne 0x47befa
mov edx, dword [ebp + 0x68]
cmp edx, dword [ebp + 0x4c]
jne 0x47befa
xor eax, eax
inc eax
and dword [ebp + 0x5c], 0
jmp 0x47bf63
cmp dword [ebp + 0x58], eax
jne 0x47bf61
mov eax, dword [ebp + 0x68]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x38]
cmp edx, dword [ebp + 0x4c]
je 0x47bf21
mov edi, dword [ebp + 0x6c]
mov edi, dword [edi + 0x38]
cmp edi, dword [ebp + 0x68]
je 0x47bf21
cmp edx, 0xffffffff
je 0x47bf32
cmp edx, edi
jne 0x47bf32
mov edx, dword [eax + 0x3c]
mov edi, dword [ebp + 0x6c]
xor edx, 0x80000
cmp edx, dword [edi + 0x3c]
je 0x47bf59
mov edi, dword [ebp + 0x50]
mov edx, 0x100
test dword [edi + 4], edx
je 0x47bf61
mov edi, dword [ebp + 0x44]
test dword [edi + 4], edx
je 0x47bf61
fld qword [eax + 0x20]
mov eax, dword [ebp + 0x6c]
fchs
fcomp qword [eax + 0x20]
fnstsw ax
test ah, 0x44
jp 0x47bf61
xor eax, eax
inc eax
mov dword [ebp + 0x5c], eax
jmp 0x47bf63
xor eax, eax
mov edx, dword [ebp + 0x48]
test edx, edx
mov edi, dword [ebp + 0x5c]
jne 0x47bf72
mov dword [ebp + 0x64], edi
jmp 0x47bf79
cmp dword [ebp + 0x64], edi
je 0x47bf79
xor eax, eax
test eax, eax
je 0x47bf8d
inc edx
cmp edx, esi
mov dword [ebp + 0x48], edx
jb 0x47be5e
test eax, eax
jne 0x47bfad
add dword [ebp + 0x60], 4
cmp dword [ebp + 0x60], 8
jb 0x47be4e
inc dword [ebp + 0x74]
cmp dword [ebp + 0x74], 2
jb 0x47be4a
jmp 0x47c0ce
push 0x74
call fcn.0047983f
test eax, eax
je 0x47bfc3
mov ecx, eax
call fcn.0047951c
mov ecx, eax
jmp 0x47bfc5
xor ecx, ecx
test ecx, ecx
mov dword [ebp + 0x70], ecx
jne 0x47bfd6
mov edi, 0x8007000e
jmp 0x47c0df
cmp dword [ebp + 0x64], 0
je 0x47c0e9
cmp dword [ebp + 0x74], 1
je 0x47c0ef
cmp dword [ebp + 0x74], 0
jne 0x47c016
mov ecx, dword [ebp + 0x70]
push 0
push esi
lea eax, [esi + esi]
push eax
mov eax, esi
and eax, 0xfffff
or eax, 0xf0e00000
push eax
call fcn.00479880
mov edi, eax
test edi, edi
jl 0x47c0d1
push dword [ebx + 0xe0]
mov ecx, dword [ebp + 0x70]
call fcn.0047954f
mov edi, eax
test edi, edi
jl 0x47c0d1
mov eax, dword [ebx + 0xe0]
mov edx, dword [ebp + 0x70]
mov edi, dword [edx + 0x10]
mov ecx, esi
mov esi, dword [eax + 0x10]
shl ecx, 2
mov dword [ebp + 0x6c], ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x74]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x6c]
mov edi, dword [edx + 8]
shl eax, 4
mov dword [ebp + 0x50], eax
lea esi, [ebp + eax - 0x6c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [edx + 8]
mov ecx, eax
add edi, ecx
shr ecx, 2
lea esi, [ebp - 0x5c]
sub esi, dword [ebp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 8]
mov esi, dword [ecx]
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ecx + edi]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + ecx*4]
mov ecx, dword [edx + 0x10]
mov ecx, dword [ecx]
mov esi, dword [eax + esi*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 4]
jne 0x47c0b9
mov edx, dword [eax + 0xc]
cmp edx, dword [esi + 0xc]
je 0x47c0ce
cmp ecx, dword [edi + 4]
jne 0x47bdf7
mov eax, dword [eax + 0xc]
cmp eax, dword [edi + 0xc]
jne 0x47bdf7
xor edi, edi
inc edi
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x47c0df
push 1
call fcn.00459894
mov eax, edi
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
cmp dword [ebp + 0x74], 0
jne 0x47c118
push 0
push esi
lea eax, [esi + esi]
push eax
mov eax, esi
and eax, 0xfffff
or eax, 0xf0d00000
push eax
call fcn.00479880
mov edi, eax
test edi, edi
jl 0x47c0d1
cmp dword [ebp + 0x64], 0
jne 0x47bfea
cmp dword [ebp + 0x74], 1
je 0x47bff0
jmp 0x47c016