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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff8c
mov esi, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.004e8ae8
test al, al
je 0x4e06c2
push esi
add esi, 0x48
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4e038d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.004362c0
cmp al, 7
je 0x4e0161
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 7
call fcn.00437344
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
dec ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.005021f8
test al, al
je 0x4e0161
test ebx, ebx
jl 0x4e0161
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0xc]
add edi, dword [esp + 4]
mov edx, dword [esp + 0x10]
test edx, edx
jl 0x4e0157
inc edx
xor eax, eax
lea ecx, [edi + eax*4]
mov ebx, dword [0x56b218]
mov ebx, dword [ebx]
cmp ebx, dword [edi + eax*4]
je 0x4e0153
mov byte [ecx + 3], 0xff
inc eax
dec edx
jne 0x4e013f
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x4e0127
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, 0xff00ff
call fcn.004374ac
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ebx, eax
mov eax, esi
call fcn.004e8874
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x7894]
lea edx, [eax + 0x58]
pop eax
sub eax, dword [edx]
call fcn.004dff18
imul ebx, eax
mov dword [esp + 0x34], ebx
fild dword [esp + 0x34]
fstp xword [esp + 0x38]
wait
mov eax, esi
call fcn.004e8874
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fld xword [esp + 0x38]
fdivrp st(1)
fsub dword [0x4e06cc]
fstp xword [esp + 0x48]
wait
mov eax, dword [esi + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x7894]
fild dword [eax + 0x58]
fld xword [esp + 0x48]
fsubrp st(1)
call fcn.004034a8
mov edx, eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0
sete al
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
call fcn.00555be4
mov ebp, eax
mov eax, esi
call fcn.004e8874
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x7894]
lea edx, [eax + 0x58]
pop eax
sub eax, dword [edx]
call fcn.004dff18
mov edx, eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
sete al
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
call fcn.00555be4
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.004362c0
cmp al, 7
jne 0x4e034b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
cmp ebp, eax
je 0x4e0295
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp ebx, eax
jne 0x4e0307
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [0x56aff4]
push eax
push 0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
add ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
call fcn.004080ac
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
call fcn.00555de4
lea edx, [esp + 0x74]
mov eax, dword [esi + 0x244]
mov ecx, dword [eax + 0x50]
pop eax
call fcn.00509548
jmp 0x4e06c2
push 0
add ebx, dword [esp + 0x2c]
push ebx
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
call fcn.004080ac
lea eax, [esp + 0x58]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x10]
pop ecx
call fcn.0050262c
jmp 0x4e06c2
add ebx, dword [esp + 0x28]
push ebx
lea eax, [esp + 0x58]
push eax
mov ecx, dword [esp + 0x2c]
add ecx, ebp
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
call fcn.004080ac
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00431244
jmp 0x4e06c2
lea eax, [esp + 0x24]
call fcn.0050c118
mov dword [esp], eax
push 0xcc0020
mov edi, dword [esp + 0x2c]
push edi
mov ebx, dword [esp + 0x2c]
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [esp + 0x20]
call fcn.004361d4
call fcn.00431778
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x298]
call fcn.00437a74
test eax, eax
je 0x4e0449
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x298]
call fcn.00437a74
push eax
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4e060c
mov eax, dword [0x56b194]
mov eax, dword [eax]
mov eax, dword [eax + 0x9c]
call fcn.00437a74
test eax, eax
je 0x4e04da
push 0
mov eax, dword [esp + 4]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, 0x10
setg al
mov ecx, 2
mov edx, 1
call fcn.00555be4
push eax
push 0x7f
mov eax, dword [0x56b194]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SendMessageW
mov ebp, eax
test ebp, ebp
je 0x4e060c
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push ebp
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4e060c
mov dl, 1
mov eax, esi
call fcn.004e0a44
sub eax, dword [esp + 0x28]
cmp eax, 0x10
jge 0x4e04f1
mov eax, 0x10
mov edx, dword [esi + 0x78]
mov edx, dword [edx + 8]
test edx, edx
sete cl
xchg ecx, eax
xchg ecx, edx
call fcn.00555be4
mov ebp, eax
mov dl, 1
mov eax, esi
call fcn.004e0a44
sub eax, dword [esp + 0x28]
cmp eax, 0x10
jge 0x4e051d
mov eax, 0x10
mov edx, dword [esi + 0x78]
mov edx, dword [edx + 4]
test edx, edx
sete cl
xchg ecx, eax
xchg ecx, edx
call fcn.00555be4
mov ebx, eax
cmp ebx, 0x10
jle 0x4e057e
mov eax, dword [0x56adb8]
cmp dword [eax], 0
je 0x4e057e
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x56adb8]
mov eax, dword [eax]
call fcn.00437a74
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4e060c
mov eax, dword [0x56b240]
cmp dword [eax], 0
je 0x4e05c2
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x56b240]
mov eax, dword [eax]
call fcn.00437a74
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4e060c
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconW
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004361d4
call fcn.00431778
push eax
call sub.user32.dll_DrawIconEx
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ebx, eax
dec ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
mov eax, dword [esp]
call fcn.005021f8
test al, al
je 0x4e06b5
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.005021f8
test al, al
je 0x4e06b5
test ebx, ebx
jl 0x4e06b5
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0xc]
add edi, dword [esp + 4]
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x28]
imul esi, dword [esp + 0x18]
add esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
test edx, edx
jl 0x4e06ab
inc edx
xor eax, eax
mov ecx, dword [esp + 0x24]
add ecx, eax
lea ecx, [esi + ecx*4]
mov ebx, dword [edi + eax*4]
cmp ebx, dword [ecx]
je 0x4e06a2
mov byte [ecx + 3], 0xff
jmp 0x4e06a7
mov ebx, dword [edi + eax*4]
mov dword [ecx], ebx
inc eax
dec edx
jne 0x4e068c
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x4e0663
mov eax, dword [esp]
xor edx, edx
mov dword [esp], edx
call fcn.00403d30
add esp, 0x74
pop ebp
pop edi
pop esi
pop ebx
ret