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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5c06c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
or byte [edi + 0x224], 8
mov al, byte [edi + 0x224]
test al, 0x40
je 0x479098
test al, 0x10
je 0x479098
xor esi, esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
xor ebx, ebx
mov dword [esp + 0x28], 0x11
mov dword [esp + 0x2c], esi
call fcn.00490800
lea edx, [esp + 0x24]
mov dword [esp + 0x80], esi
lea esi, [edi + 0x158]
push edx
call fcn.00479ba0
mov eax, edi
and byte [eax + 0x224], 0xbf
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 0xffffffff
call fcn.00490f50
mov eax, dword [edi + 0x198]
mov esi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
cmp esi, ebx
je 0x4790c3
jmp 0x4790b0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x94]
call edx
add esi, 4
cmp esi, ebx
jne 0x4790b0
mov esi, edi
call fcn.0047ad30
mov ecx, dword [edi + 0x198]
call fcn.0048ba90
test byte [edi + 0x224], 0x10
je 0x4790e4
push edi
call fcn.00479c40
fldz
and byte [edi + 0x224], 0xf7
test byte [edi + 0x224], 0x20
fst qword [esp + 0x24]
fst qword [esp + 0x2c]
fld qword [edi]
fstp qword [esp + 0x34]
fld qword [edi + 8]
fstp qword [esp + 0x3c]
jne 0x47917d
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x47912d
lea ecx, [edi + 0x184]
fstp st(0)
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x10]
call fcn.0047fcf0
fldz
mov eax, dword [edi + 0x198]
mov esi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x1c4]
mov dword [esp + 0x18], ecx
cmp esi, ebx
je 0x479252
mov eax, dword [esi]
cmp dword [esp + 0x18], eax
je 0x479171
lea ecx, [edi + 0x184]
fstp st(0)
push ecx
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x28]
push edx
call fcn.0047fcf0
fldz
add esi, 4
cmp esi, ebx
jne 0x479151
jmp 0x479252
mov ecx, dword [edi + 0x184]
fstp st(0)
mov ebx, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
lea esi, [edi + 0x184]
add ecx, 8
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
cmp ebx, edx
je 0x4791c9
mov eax, edx
cmp edx, edx
je 0x4791c6
mov esi, eax
mov edi, ebx
add eax, 0x20
mov ecx, 8
add ebx, 0x20
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
jne 0x4791a6
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
push esi
lea ecx, [esp + 0x28]
call fcn.00493a80
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x4791fe
fldz
push 0
fst qword [esp + 0x28]
lea ecx, [esp + 0x28]
fst qword [esp + 0x30]
push ecx
mov ecx, dword [eax + 0x10]
fst qword [esp + 0x3c]
fstp qword [esp + 0x44]
call fcn.0047fcf0
mov eax, dword [edi + 0x198]
fldz
mov esi, dword [eax + 0x1c]
fst qword [esp + 0x24]
mov ebx, dword [eax + 0x20]
fst qword [esp + 0x2c]
mov edx, dword [eax + 0x18]
fst qword [esp + 0x34]
mov eax, dword [edx + 4]
fst qword [esp + 0x3c]
mov ecx, dword [eax + 0x1c4]
mov dword [esp + 0x1c], ecx
cmp esi, ebx
je 0x479252
mov eax, dword [esi]
cmp dword [esp + 0x1c], eax
je 0x47924b
mov ecx, dword [eax + 0x10]
fstp st(0)
push 0
lea edx, [esp + 0x28]
push edx
call fcn.0047fcf0
fldz
add esi, 4
cmp esi, ebx
jne 0x479230
mov ebx, dword [edi + 0x184]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
test eax, 0xffffffe0
je 0x47929f
or byte [edi + 0x225], 8
mov ecx, dword [edi + 0x16c]
lea esi, [edi + 0x168]
test ecx, ecx
je 0x47929f
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x47929f
mov ecx, dword [ecx + 4]
mov eax, edx
cmp eax, ecx
je 0x47929f
mov edx, dword [eax]
test edx, edx
je 0x479298
cmp dword [edx + 4], 0
jne 0x4792b6
add eax, 4
cmp eax, ecx
jne 0x47928c
fstp st(0)
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
xor ebx, ebx
sar eax, 5
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x47929f
mov dword [esp + 0x18], ebx
jmp 0x4792d2
fldz
mov eax, dword [edi + 0x184]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
sar ecx, 5
cmp ebx, ecx
jae 0x4792f0
mov eax, dword [eax + 8]
fstp st(0)
add eax, dword [esp + 0x18]
jmp 0x479304
fst qword [esp + 0x24]
lea eax, [esp + 0x24]
fst qword [esp + 0x2c]
fst qword [esp + 0x34]
fstp qword [esp + 0x3c]
fld qword [eax]
sub esp, 0x20
fld qword [eax + 8]
fld qword [eax + 0x10]
fld qword [eax + 0x18]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0047c120
add dword [esp + 0x18], 0x20
inc ebx
cmp ebx, dword [esp + 0x1c]
jb 0x4792d0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4