Function at 0x443610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4c6184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x24], ebx
je 0x443652
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x24]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x443663
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], ebx
mov edi, dword [esi + 0x7c]
mov ecx, dword [edi + 4]
push 1
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsList]
cmp eax, ebx
je 0x44367d
mov dword [edi + 8], eax
mov edi, dword [esi + 0x7c]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameCount]
cmp eax, ebx
je 0x44369c
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
cmp eax, 1
jbe 0x4437e4
mov dword [esi + 0x20], ebx
cmp byte [esi + 0x86], bl
je 0x4437c6
mov edi, dword [esi + 0x7c]
mov eax, dword [edi + 4]
push ebx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipImageSelectActiveFrame]
cmp eax, ebx
je 0x4436d3
mov dword [edi + 8], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x18], eax
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
je 0x4437ab
mov edi, dword [esi + 0x7c]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
push 0x5100
push edx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItemSize]
cmp eax, ebx
je 0x443715
mov dword [edi + 8], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jle 0x4437ab
push 0xc
call fcn.00486d3e
mov edi, eax
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 4], esi
mov dword [edi], eax
call fcn.004867fb
mov ecx, dword [ebp - 0x1c]
add esp, 8
push eax
mov dword [edi + 8], eax
mov ebx, dword [esi + 0x7c]
mov edx, dword [ebx + 4]
push ecx
push 0x5100
push edx
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItem]
test eax, eax
je 0x44375d
mov dword [ebx + 8], eax
jmp 0x443793
mov eax, dword [edi + 8]
cmp word [eax + 8], 4
jne 0x443793
push 0
push 0
push edi
push 0x443800
push 0
push 0
call fcn.00489a52
add esp, 0x18
mov dword [esi + 0x24], eax
test eax, eax
je 0x443793
mov ecx, dword [ebp - 0x18]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 0
jne 0x4437ab
mov edx, dword [edi + 8]
push edx
call fcn.004875f2
push edi
call fcn.00486a80
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret
shr eax, 1
mov dword [esi + 0x20], eax
mov esi, dword [esi + 0x7c]
mov edx, dword [esi + 4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipImageSelectActiveFrame]
cmp eax, ebx
je 0x4437e4
mov dword [esi + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486a8b
mov esp, ebp
pop ebp
ret