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

Disassembly:
push 0xffffffffffffffff
push 0x1085183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x10a44a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.WM_ATLGETHOST
call edi
push str.WM_ATLGETCONTROL
mov dword [0x10a40b0], eax
call edi
lea ecx, [esp + 0x28]
mov dword [0x10a40ac], eax
mov eax, dword [0x10a4474]
push ecx
mov edi, 0x30
push str.AtlAxWin
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
xor ebx, ebx
cmp eax, ebx
jne 0x1053fc4
mov eax, dword [0x10a4474]
push 0x7f00
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x1055940
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0x28]
mov dword [esp + 0x44], eax
push edx
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], str.AtlAxWin
mov dword [esp + 0x58], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x10a44a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x70]
call fcn.01054390
cmp dword [eax + 0x30], ebx
jne 0x1053fe9
call fcn.01054390
mov dword [eax + 0x30], str.AtlAxWin
call fcn.01054390
lea ecx, [esi + 0x1c]
push ecx
push eax
push 0x10a4470
call fcn.01033320
cmp edi, ebx
jne 0x1054006
mov edi, 0x56000000
mov edx, dword [esp + 0x74]
push ebx
push eax
mov eax, dword [esp + 0x70]
push ebx
push edx
push edi
mov edi, dword [esp + 0x80]
push ebx
push edi
push eax
mov ecx, esi
call fcn.010556f0
cmp dword [esi + 4], ebx
je 0x1054289
lea ecx, [esi + 0x3c]
push edi
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x20]
cmp eax, ebx
je 0x105404a
mov dword [edi], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x18]
push eax
push str.ShockwaveFlash.ShockwaveFlash
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
cmp eax, ebx
jl 0x1054072
push edi
push 0x109e6e8
push 0x17
lea ecx, [esp + 0x24]
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [edi], ebx
je 0x1054284
lea eax, [esi + 0x24]
lea ecx, [esp + 0x10]
push eax
call fcn.01002b40
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], ebx
call fcn.010446ef
push ecx
mov ebp, eax
mov dword [esp + 0x74], esp
mov dword [esp + 0x74], esp
push 0xc
call fcn.0105b249
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebx
mov byte [esp + 0x64], 1
je 0x10540c0
push ebp
mov ecx, eax
call fcn.010542b0
jmp 0x10540c2
xor eax, eax
mov edx, dword [esp + 0x74]
cmp eax, ebx
mov byte [esp + 0x64], 0
mov dword [edx], eax
jne 0x10540db
push 0x8007000e
call fcn.0105ae70
mov ecx, dword [edi]
call fcn.010542f0
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x68], ebx
mov ebp, dword [esi + 4]
mov dword [esp + 0x70], ebx
mov eax, esi
lea ecx, [esp + 0x14]
neg eax
sbb eax, eax
mov byte [esp + 0x60], 3
and eax, edi
mov eax, dword [eax]
push eax
call fcn.01054610
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov byte [esp + 0x64], 4
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jl 0x105420d
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x74]
push ecx
push 0x1086640
mov edx, dword [eax]
push eax
mov byte [esp + 0x6c], 5
call dword [edx]
mov eax, esi
mov ecx, dword [esp + 0x74]
neg eax
mov edx, dword [ecx]
push ebp
sbb eax, eax
and eax, edi
mov eax, dword [eax]
push eax
push ecx
call dword [edx + 0x14]
lea ecx, [esp + 0x74]
mov ebx, eax
mov byte [esp + 0x60], 4
call fcn.01033d90
test ebx, ebx
jl 0x105420d
lea edi, [esi + 0x28]
mov ecx, edi
call fcn.01054640
mov eax, dword [esp + 0x70]
push edi
push 0x10865d0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edi, dword [edi]
mov eax, dword [esp + 0x6c]
push eax
push ebp
mov edx, dword [edi]
push edi
call dword [edx + 0xc]
mov eax, dword [esi + 0x24]
mov edi, str.Window
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x10541c9
test cl, cl
je 0x10541c5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x10541c9
add eax, 2
add edi, 2
test cl, cl
jne 0x10541a5
xor eax, eax
jmp 0x10541ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x105420d
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push 5
push ebp
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x105420d
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
push 0xffffffffffffffeb
push edi
call ebp
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x1054480
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x2c], eax
call ebp
lea eax, [esp + 0x68]
test eax, eax
je 0x1054231
mov eax, dword [esp + 0x70]
xor ecx, ecx
test ebx, ebx
setl cl
dec ecx
and ecx, eax
xor eax, eax
mov edi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], edi
jmp 0x1054239
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x60], 3
test ecx, ecx
je 0x1054250
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x70]
test eax, eax
mov byte [esp + 0x60], 2
je 0x105425f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
mov byte [esp + 0x60], 0
je 0x105426e
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax - 0xc]
call fcn.010044b0
jmp 0x105428f
mov dword [esi + 4], ebx
jmp 0x105428f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0x10