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

Disassembly:
push 0x18
mov eax, 0x51606d
call fcn.004ab43d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 6]
sub eax, 0x29b0
mov ebx, 0x2000000
je 0x4800e8
sub eax, 0x10
je 0x4800e1
sub eax, 0x10
je 0x4800da
sub eax, 0x10
jne 0x4800fb
push 0x528e38
lea edi, [esi + 0x48]
push 0x40
push edi
call fcn.004aaf1c
add esp, 0xc
push 0xe8
mov ecx, esi
call fcn.00487dc0
mov dword [ebp + 8], eax
test ebx, eax
je 0x4800fb
push 0x528e34
push 0x40
push edi
jmp 0x4800f3
push 0x528e30
jmp 0x4800ed
push str.P35_G33_G31
jmp 0x4800ed
push 0x528e20
push 0x40
lea eax, [esi + 0x48]
push eax
call fcn.004aaf1c
add esp, 0xc
push 0x48
mov ecx, esi
call fcn.00487dc0
mov edi, eax
mov ecx, eax
and edi, 0xffffc000
and ecx, 1
mov dword [ebp + 8], eax
mov dword [ebp - 0x24], ecx
jne 0x480149
or eax, 1
push eax
push 0x48
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.00487de2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x48
mov ecx, esi
call fcn.00487dc0
mov dword [ebp + 8], eax
and eax, 1
mov dword [ebp - 0x24], eax
je 0x48063a
push ebx
push edi
push 0
call fcn.00405b41
mov ecx, eax
call fcn.0040513c
mov dword [esi + 0x98], eax
test eax, eax
jne 0x4801a5
push 0x14
call fcn.00498a73
pop ecx
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
test eax, eax
je 0x480189
push 0x1000
push edi
push 0
mov ecx, eax
call fcn.00411cf7
mov edi, eax
jmp 0x48018b
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x98], edi
call fcn.00405b41
mov ecx, dword [eax + 0x1c]
push edi
call fcn.00406e0f
jmp 0x4801ac
mov dword [eax + 0x10], 0x1000
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea edx, [ebp + 8]
push edx
push 0xc00
call dword [eax + 0x18]
cmp dword [ebp + 8], 0xffffffff
je 0x480614
cmp dword [ebp + 8], 0
je 0x480614
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 6]
sub eax, 0x2e10
mov edi, dword [ebp + 0xc]
je 0x4802e7
push 0x10
pop ecx
sub eax, ecx
je 0x4802e7
sub eax, ecx
je 0x4802e7
sub eax, ecx
je 0x4802e7
sub eax, 0x71c0
je 0x4802ae
sub eax, ecx
je 0x4802ae
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x1e8
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
and eax, ebx
sub eax, 0
je 0x4802db
dec eax
jne 0x480251
mov dword [edi + 4], 7
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x260
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
shr eax, 0x14
and eax, 0xf
mov dword [ebp + 8], eax
je 0x480276
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x660
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
shr eax, 0x14
and eax, 0xf
mov dword [ebp + 8], eax
je 0x48029b
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], ebx
jne 0x480308
cmp dword [ebp - 0x14], ebx
jne 0x480308
mov dword [edi + 0x50], 2
jmp 0x48030b
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x224
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
xor ebx, ebx
and eax, 0x1f
inc ebx
sub eax, 0
je 0x48024a
dec eax
jne 0x480251
mov dword [edi + 4], 9
jmp 0x480251
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x1a8
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
xor ebx, ebx
shr eax, 2
inc ebx
and eax, ebx
jmp 0x4802cb
mov dword [edi + 0x50], ebx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0x111
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
shr eax, 1
and eax, ebx
mov ecx, ebx
sub ecx, eax
mov dword [edi + 0x54], ecx
cmp dword [ebp - 0x10], ebx
jne 0x480350
mov dword [ebp - 0x14], 0x265
mov dword [ebp - 0x18], 0x25d
mov dword [ebp - 0x1c], 0x252
mov dword [ebp - 0x20], 0x258
jmp 0x48036c
mov dword [ebp - 0x14], 0x665
mov dword [ebp - 0x18], 0x65d
mov dword [ebp - 0x1c], 0x652
mov dword [ebp - 0x20], 0x658
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push dword [ebp - 0x14]
call dword [eax + 0x18]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 6]
sub eax, 0x2e10
je 0x4803bf
sub eax, 0x10
je 0x4803bf
sub eax, 0x10
je 0x4803bf
sub eax, 0x10
je 0x4803bf
mov eax, dword [ebp + 8]
shr eax, 8
and eax, 0x3f
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jge 0x4803b7
fadd dword [0x51d860]
fsub qword [0x528e18]
jmp 0x4803de
mov eax, dword [ebp + 8]
shr eax, 8
and eax, 0x3f
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jge 0x4803d8
fadd dword [0x51d860]
fsub qword [0x528e10]
lea edx, [ebp + 8]
fstp dword [edi + 0x18]
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
push edx
push dword [ebp - 0x18]
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
and eax, 0x3f
lea edx, [ebp + 8]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
push edx
push dword [ebp - 0x1c]
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0xd
and ecx, 0xf
and eax, 0x1ff
lea edx, [ebp + 8]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
push edx
push dword [ebp - 0x20]
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
shr eax, 0x11
and eax, 0xf
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
cmp dword [ebp - 0x10], ebx
jne 0x48045a
push 0x220
jmp 0x48045f
push 0x620
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
shr eax, 4
and eax, ebx
sub eax, 0
je 0x48047b
dec eax
jne 0x48047e
mov dword [edi + 0x3c], 2
jmp 0x48047e
mov dword [edi + 0x3c], ebx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push 0xc00
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
push 7
mov ecx, eax
pop edx
and ecx, edx
sub ecx, 0
je 0x48056e
dec ecx
je 0x480614
dec ecx
je 0x4805ad
dec ecx
dec ecx
je 0x48051c
dec ecx
dec ecx
jne 0x480614
shr eax, 4
and eax, edx
sub eax, 3
je 0x4804f9
dec eax
je 0x4804ec
dec eax
je 0x4804df
dec eax
jne 0x480511
fld dword [0x51aff8]
push 0x5288e0
jmp 0x480500
fld dword [0x51efc0]
push 0x528918
jmp 0x480500
fld dword [0x5288f8]
push 0x5288fc
jmp 0x480500
fld1
push 0x5283d8
lea eax, [edi + 0x78]
fstp dword [edi + 0xc]
push 0x20
push eax
call fcn.004aaf1c
add esp, 0xc
fld dword [0x528e08]
jmp 0x48060e
shr eax, 4
and eax, edx
dec eax
dec eax
je 0x480562
dec eax
je 0x480552
dec eax
je 0x480542
dec eax
jne 0x480608
fld dword [0x51aff8]
push 0x5288e0
jmp 0x4805f7
fld dword [0x51afd8]
push 0x52892c
jmp 0x4805f7
fld dword [0x51afb0]
push 0x528904
jmp 0x4805f7
fld1
push 0x5283d8
jmp 0x4805f7
shr eax, 4
and eax, edx
dec eax
je 0x480562
dec eax
je 0x4805a0
dec eax
je 0x480593
dec eax
je 0x480532
dec eax
jne 0x480608
fld dword [0x51c098]
push 0x52893c
jmp 0x4805f7
fld dword [0x51afd0]
push 0x52891c
jmp 0x4805f7
fld dword [0x51afb8]
push 0x528900
jmp 0x4805f7
shr eax, 4
and eax, edx
dec eax
je 0x4805ec
dec eax
je 0x4805df
dec eax
je 0x480532
dec eax
je 0x4805d2
dec eax
jne 0x480608
fld dword [str.UUU_3:10]
push 0x528934
jmp 0x4805f7
fld dword [0x528924]
push 0x528928
jmp 0x4805f7
fld dword [0x51efc0]
push 0x528918
jmp 0x4805f7
fld dword [0x5288f8]
push 0x5288fc
lea eax, [edi + 0x78]
fstp dword [edi + 0xc]
push 0x20
push eax
call fcn.004aaf1c
add esp, 0xc
fld dword [0x528e04]
fstp dword [edi + 0x9c]
push 0x48
mov ecx, esi
call fcn.00487dc0
cmp dword [ebp - 0x24], 0
jne 0x48063a
and eax, 0xfffffffe
push eax
push 0x48
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.00487de2
and dword [esi + 0x98], 0
call fcn.004ab515
ret