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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007f3c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x53c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x78]
call fcn.10051d20
mov eax, dword [0x10098a04]
xor ebx, ebx
mov ecx, 0x10098a04
mov dword [esp + 0x554], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x74], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x554], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x554], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.DownloadToolbar_
lea ecx, [esp + 0x5c]
mov byte [esp + 0x558], 3
call fcn.10005e50
push ebx
push 0x208
mov byte [esp + 0x55c], 4
call fcn.10001450
add esp, 8
cmp eax, ebx
je 0x10057e03
push 0x208
push eax
lea ecx, [esp + 0x54]
call fcn.10004800
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.100090e0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x558], 5
call fcn.10004aa0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x554], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10057e52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
call fcn.10029c20
mov dword [esp + 0x38], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x1c]
push eax
push SysReAllocStringLen
mov byte [esp + 0x55c], 6
call fcn.1004aeb0
mov edi, eax
add esp, 8
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0x10]
cmp eax, ebx
lea esi, [edi + 0x10]
mov byte [esp + 0x554], 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], eax
jne 0x10057ef1
lea ecx, [esp + 0x1c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1004aeb0
mov esi, eax
add esp, 8
cmp esi, edi
je 0x10057edd
mov ecx, edi
call fcn.1000de20
push edi
call fcn.10069196
add esp, 4
mov eax, dword [esi + 0x10]
mov edi, esi
add esi, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x5c], ebx
ja 0x10058008
mov ecx, edi
call fcn.1000de20
push edi
call fcn.10069196
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
add esp, 4
push eax
push ecx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x560], 4
call fcn.1002f9f0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10069196
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x554], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10057f68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x554], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10057f8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x554], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10057fb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x554], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10057fda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x554], 0xffffffff
call fcn.10051b40
mov ecx, dword [esp + 0x54c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x54]
cmp dword [esi], ebx
jbe 0x100586fb
mov ecx, dword [edi + 0xc]
add ecx, ebx
mov eax, ecx
shr eax, 2
lea esi, [eax*4]
mov edx, edi
sub ecx, esi
mov esi, dword [edx + 8]
cmp esi, eax
ja 0x1005802e
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x10058060
cmp eax, dword [esi]
jne 0x10058060
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x10058092
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x10058702
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 4]
mov cl, byte [esi + 0x11]
test cl, cl
mov byte [esp + 0x554], 8
mov ebp, eax
mov edi, eax
jne 0x100580d8
mov eax, dword [esi + 0xc]
push ebx
push eax
call fcn.10068d19
add esp, 8
test eax, eax
jge 0x100580c9
mov esi, dword [esi + 8]
jmp 0x100580cd
mov edi, esi
mov esi, dword [esi]
mov al, byte [esi + 0x11]
test al, al
je 0x100580b3
mov eax, dword [esp + 0x38]
cmp edi, eax
mov dword [esp + 0x24], edi
je 0x100580fb
mov edi, dword [edi + 0xc]
push edi
push ebx
call fcn.10068d19
add esp, 8
test eax, eax
jl 0x100580f7
lea eax, [esp + 0x24]
jmp 0x10058103
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
cmp dword [eax], ebp
jne 0x100586b7
mov eax, dword [esp + 0x18]
push 0
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.10051f40
test eax, eax
jne 0x100586b7
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x10058157
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x554], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x100586d3
push 0
call fcn.10069d06
mov esi, eax
mov eax, dword [0x10098a04]
add esp, 4
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x90]
push ecx
lea edx, [esp + 0x14]
push str.DownloadToolbarTheme_s
push edx
mov byte [esp + 0x560], 9
mov dword [esp + 0x54], 0xffffffff
call fcn.10004e20
add esp, 0xc
push str.AutoUpdateScroll
lea ecx, [esp + 0x64]
call fcn.10005e50
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x18]
push edx
push SysReAllocStringLen
mov byte [esp + 0x564], 0xa
call fcn.1004a4a0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x554], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100581f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x48], 1
jge 0x1005824f
push str.AutoUpdateScroll
lea ecx, [esp + 0x54]
call fcn.10005e50
push esi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x564], 0xb
call fcn.1004acf0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x554], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10058687
mov eax, dword [esp + 0xac]
push eax
call fcn.1006a4e0
add esp, 4
cmp eax, 1
jl 0x10058691
mov eax, dword [esp + 0xac]
push eax
call fcn.1006a4e0
add eax, dword [esp + 0x4c]
add esp, 4
cmp esi, eax
jl 0x10058691
push str.AutoUpdateScroll
lea ecx, [esp + 0x68]
call fcn.10005e50
push esi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x564], 0xc
call fcn.1004acf0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x554], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100582d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x554], 0xd
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x554], 0xe
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
push 0x104
push 0x104
lea ecx, [esp + 0x48]
mov byte [esp + 0x55c], 0xf
call fcn.10004750
mov ecx, dword [0x10098990]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x1005835a
xor eax, eax
jmp 0x1005836f
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10058360
sub eax, edx
js 0x10058707
cmp eax, dword [ebx - 8]
jg 0x10058707
push 0x5c
mov dword [ebx - 0xc], eax
push ebx
mov byte [eax + ebx], 0
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x10058393
or eax, 0xffffffff
jmp 0x10058395
sub eax, ebx
push eax
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x48]
call fcn.10008ae0
mov ecx, dword [esp + 0x90]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_theme_s_
push eax
mov byte [esp + 0x564], 0x10
call fcn.10004e20
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x554], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100583ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0x24]
push eax
push ebp
lea ecx, [esp + 0x38]
push str._s_s
push ecx
call fcn.10004e20
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0xb8]
push 0x1388
push 0
push 1
push esi
push edx
call fcn.10021df0
add esp, 0x24
push 1
push 0x1b6
push 1
push esi
lea ecx, [esp + 0xd8]
call fcn.10017b20
sub esp, 0x18
mov eax, esp
mov dword [eax], 0
mov ecx, dword [0x10098ae0]
mov dword [eax + 8], ecx
mov edx, dword [0x10098ae4]
mov dword [eax + 0xc], edx
mov ecx, dword [0x10096890]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x56c], 0x11
mov dword [esp + 0x80], esp
call fcn.1000f480
mov edx, dword [esp + 0xc8]
mov byte [esp + 0x160], 0
xor eax, eax
mov ecx, 0xf9
lea edi, [esp + 0x161]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0xcc]
call fcn.1000ff50
lea ecx, [esp + 0xc8]
push eax
push 0x104
lea eax, [esp + 0x168]
push eax
call fcn.10010570
lea eax, [esp + 0x160]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100584d7
sub eax, ecx
mov dword [esp + 0x68], eax
je 0x100585f4
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x18]
call fcn.10005e50
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov byte [esp + 0x554], 0x12
jge 0x10058513
or eax, 0xffffffff
jmp 0x1005852e
push 0x10083eb8
push eax
call fcn.10069ea0
add esp, 8
test eax, eax
jne 0x1005852a
or eax, 0xffffffff
jmp 0x1005852e
sub eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.10008ae0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x55c], 0x13
call fcn.10008dd0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x554], 0x14
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
lea ecx, [esp + 0x28]
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100585d1
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x100585d1
push str.Marquee.ico
push ebp
lea edx, [esp + 0x38]
push str._s_s
push edx
call fcn.10004e20
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push 0x1388
push 0
push 1
push esi
push eax
call fcn.10021df0
add esp, 0x24
lea ecx, [esp + 0x28]
call fcn.100034a0
lea ecx, [esp + 0x2c]
call fcn.100034a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x554], 0x11
call fcn.100034a0
lea ecx, [esp + 0xc8]
call fcn.10012af0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x554], 0xf
call fcn.10017c60
lea ecx, [esp + 0x12c]
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.10068177
lea eax, [esi - 0x10]
mov byte [esp + 0x554], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005864d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x554], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005866f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x554], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10058691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x554], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100586b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x554], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100586dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
inc ebx
cmp ebx, eax
mov dword [esp + 0x5c], ebx
jb 0x10058004
jmp 0x10057efd
mov ecx, edi
jmp fcn.1002cf30
jmp fcn.10001f00
push 0x80070057
call fcn.10001330
int3