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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10073d19
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push ebx
push ebx
lea eax, [esp + 0x48]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
mov ecx, dword [ebp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
push ebx
lea edx, [esp + 0x44]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1005493e
mov eax, dword [esp + 0x40]
cmp eax, 0x12
je 0x1005493e
cmp eax, dword [ebp + 0x244]
je 0x100543dd
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x10054928
mov eax, dword [esp + 0x44]
dec eax
je 0x100545e6
dec eax
je 0x1005445c
dec eax
jne 0x10054928
mov edx, dword [esp + 0x48]
mov ecx, ebp
push edx
call fcn.10054ad0
mov edi, eax
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x1005440c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x5031
mov ecx, ebp
call fcn.100586a0
cmp edi, ebx
je 0x10054928
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10054445
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1005443c
cmp al, 0xff
je 0x1005443c
dec al
mov byte [ecx], al
jmp 0x10054445
push ecx
call fcn.1003c010
add esp, 4
push edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.1003c010
add esp, 4
jmp 0x10054928
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
call fcn.10054ad0
mov esi, eax
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x1005447a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
mov ecx, ebp
call fcn.10054be0
test al, al
je 0x10054587
mov ecx, dword [ebp + 0x240]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100545a3
push ebx
lea ecx, [ebp + 0x30]
call fcn.1005b1b0
cmp eax, 1
jne 0x1005448a
cmp dword [ebp + 0x1b8], 1
jne 0x1005448a
push ebx
lea edi, [ebp + 0x294]
push ebx
push 0x40004
push 0x40008
mov ecx, edi
call fcn.10059240
mov edx, dword [ebp + 0x28c]
mov eax, dword [ebp + 0x290]
push str.__AnimateWindow_
push str.__AnimateWindow_
push edx
push eax
push 0x84000000
mov ecx, edi
call fcn.10059270
push ebp
push 0x10053cf0
mov ecx, edi
call fcn.10059310
push ebx
mov ecx, edi
call fcn.10059150
lea edi, [ebp + 0x4c0]
mov dword [ebp + 0x2c], eax
mov ecx, edi
call fcn.100590c0
test al, al
jne 0x10054562
mov esi, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x290]
push ebp
push 0x10058970
push esi
push 3
push 0x10078a60
sub eax, 0x16
sub esp, 0x10
mov edx, 4
mov esi, esp
lea ecx, [eax + 0x11]
mov ebx, 0x15
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov ecx, edi
mov dword [esi + 0xc], ebx
call fcn.10058b20
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, ebp
call fcn.1004c920
mov eax, dword [ebp + 0x250]
cmp eax, ebx
jne 0x10054578
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x5031
mov ecx, ebp
call fcn.100583d0
jmp 0x100545a3
mov eax, dword [ebp + 0x250]
cmp eax, ebx
jne 0x10054596
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x5031
mov ecx, ebp
call fcn.100586a0
cmp esi, ebx
je 0x10054928
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100545cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100545c6
cmp al, 0xff
je 0x100545c6
dec al
mov byte [ecx], al
jmp 0x100545cf
push ecx
call fcn.1003c010
add esp, 4
push esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1003c010
add esp, 4
jmp 0x10054928
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.10054ad0
mov dl, byte [esp + 0x2b]
mov edi, eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x180], ebx
cmp eax, ebx
jne 0x1005461f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebp
call fcn.10057940
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x34], esi
jle 0x100548c6
mov edi, dword [edi + 4]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp edi, ebx
je 0x10054648
mov eax, edi
push ebx
lea edx, [esp + 0x7c]
push ebx
lea ecx, [esp + 0x38]
push edx
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp + 0x27c]
mov edi, ecx
push 1
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x100546af
mov eax, dword [ebx + 4]
mov ecx, edi
mov edx, ecx
lea esi, [esp + 0x30]
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x68]
push ecx
push ebx
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push str.popinfo.ini
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x194], 1
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0x18
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x180], 2
mov edx, dword [ecx]
mov ecx, ebx
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x184], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
mov ecx, ebp
call fcn.10054970
mov esi, eax
mov eax, dword [ebp + 0x518]
test eax, eax
je 0x1005484c
cmp esi, 0xffffffff
jle 0x1005484c
lea ecx, [esp + 0x10]
call fcn.1004c100
push 0x34
mov byte [esp + 0x184], 3
mov dword [esp + 0x18], 0x34
call fcn.1003bfe0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x14], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov word [eax + 6], 0x2c
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 8]
mov dword [ecx], 0x5031
mov ecx, dword [esp + 0x10]
mov word [ecx + 4], 0x65
mov dword [eax], 1
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + esi*4]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x100547b7
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [eax + esi*4]
push edx
push 0
push eax
lea ecx, [ebp + 0x24c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax + esi*4]
mov edx, dword [ecx]
add eax, 0x10
push edx
push 0
push eax
lea ecx, [ebp + 0x25c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, dword [eax + esi*4]
mov edx, dword [ecx]
add esi, 0x20
push edx
push 0
push esi
lea ecx, [ebp + 0x26c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x518]
push edx
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 0
call fcn.10054960
mov ecx, dword [esp + 0x1c]
xor edi, edi
test ecx, ecx
jne 0x1005485a
xor eax, eax
jmp 0x10054863
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x100548ba
mov esi, dword [ecx + edi*4]
test esi, esi
mov dword [esp + 0x34], esi
je 0x100548b7
push 1
lea ecx, [esi + 0x20]
mov byte [esp + 0x184], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi + 0x10]
mov byte [esp + 0x184], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, esi
mov byte [esp + 0x184], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
call fcn.1003c010
mov ecx, dword [esp + 0x20]
add esp, 4
inc edi
jmp 0x10054852
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
xor ebx, ebx
jmp 0x100548ca
mov ecx, dword [esp + 0x1c]
cmp edi, ebx
je 0x10054908
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x100548f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100548e9
cmp al, 0xff
je 0x100548e9
dec al
mov byte [ecx], al
jmp 0x100548f2
push ecx
call fcn.1003c010
add esp, 4
push edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.1003c010
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
mov dword [esp + 0x184], 0xffffffff
call fcn.1003c010
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x100543ad
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x174
ret