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

Disassembly:
push ebp
push ebx
mov edx, 0x26
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x508701
mov eax, dword [esp + 0xc8]
mov dword [0x9b3e20], eax
mov edx, dword [esp + 0xa4]
lea ecx, [esp]
call fcn.0051f000
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 4]
call fcn.0051f000
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 8]
call fcn.0051f000
mov dword [esp + 0xc], 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0x15
push 1
push 4
call fcn.00547c0f
push 7
push 0x74548c
lea eax, [esp + 0x3c]
push eax
push 0x28
call fcn.0055190b
call fcn.00541033
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x50]
and ebx, ebx
jl 0x5087a7
push 1
push dword [esp + 0x54]
call fcn.005410d4
push 0xc80001
mov eax, str.Fonts
push eax
push 0x12c
push 0x168
push 0
push 0
push 0xffffffff
call fcn.00540aad
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x24]
and ebx, ebx
jne 0x50880f
mov ebx, dword [esp + 0x50]
and ebx, ebx
jl 0x5087f2
push 0
push dword [esp + 0x54]
call fcn.005410d4
mov edx, 0x6fb198
push dword [0x9b3e20]
push edx
call fcn.005597c0
pop eax
add eax, dword [0x9a36fc]
jmp 0x509551
mov eax, str.Font:
push eax
push 0xf
push 0x46
push 0xa
push 0xa
push 0xffffffff
call fcn.005305ee
mov dword [esp + 0x5c], eax
push 0xa1
push 0xc8
push 0x19
push 0xa
push 0xffffffff
call fcn.005309c5
mov dword [esp + 0x60], eax
cmp dword [esp + 0xac], 0
je 0x5088ad
mov eax, str.Size:
push eax
push 0xf
push 0x28
push 0xa
push 0xdc
push 0xffffffff
call fcn.005305ee
mov dword [esp + 0x64], eax
push 0xa1
push 0x32
push 0x19
push 0xdc
push 0xffffffff
call fcn.005309c5
mov dword [esp + 0x68], eax
mov dword [esp + 0x80], 0x118
mov dword [esp + 0x84], 0x19
cmp dword [esp + 0xb0], 0
je 0x50890a
mov eax, str.Bold
push eax
push 0xf
push 0x46
push dword [esp + 0x90]
push dword [esp + 0x90]
push 0xffffffff
call fcn.0053939f
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x84]
add ebx, 0x14
mov dword [esp + 0x84], ebx
cmp dword [esp + 0xb4], 0
je 0x508951
mov eax, str.Italic
push eax
push 0xf
push 0x46
push dword [esp + 0x90]
push dword [esp + 0x90]
push 0xffffffff
call fcn.0053939f
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x84]
add ebx, 0x14
mov dword [esp + 0x84], ebx
cmp dword [esp + 0xb8], 0
je 0x508987
mov eax, str.Underlined
push eax
push 0xf
push 0x46
push dword [esp + 0x90]
push dword [esp + 0x90]
push 0xffffffff
call fcn.0053939f
mov dword [esp + 0x74], eax
mov eax, str.Sample
push eax
push 0x46
push 0x154
push 0xbe
push 0xa
push 0xffffffff
call fcn.0053287e
push 0x201
mov eax, 0x6fb198
push eax
push 0x28
push 0x140
push 0xd2
push 0x14
push 0xffffffff
call fcn.005304d5
mov dword [esp + 0x88], eax
push dword [esp + 0x24]
call fcn.00540e97
mov ebx, eax
add ebx, 0xffffffac
mov dword [esp + 0x80], ebx
push dword [esp + 0x24]
call fcn.00540f14
mov ebx, eax
add ebx, 0xffffffe3
mov dword [esp + 0x84], ebx
mov eax, str.Cancel
push eax
push 0x18
push 0x4b
push dword [esp + 0x90]
push dword [esp + 0x90]
push 0xffffffff
call fcn.0052ebc0
mov dword [esp + 0x7c], eax
mov ebx, dword [esp + 0x80]
add ebx, 0xffffffaf
mov dword [esp + 0x80], ebx
mov eax, 0x73fd4c
push eax
push 0x18
push 0x4b
push dword [esp + 0x90]
push dword [esp + 0x90]
push 0xffffffff
call fcn.0052ebc0
mov dword [esp + 0x78], eax
push 0xf618
push 0xd
push dword [esp + 0x2c]
call fcn.00540f22
push 0xf619
push 0x1b
push dword [esp + 0x2c]
call fcn.00540f22
push dword [esp + 0x34]
push dword [esp + 0x28]
call fcn.0050b24f
mov ebx, eax
and ebx, ebx
jne 0x508aba
mov edx, 0x6fb198
lea ecx, [esp + 0x40]
call fcn.0051f008
jmp 0x5094f1
push dword [esp + 0x34]
call fcn.00551a99
inc eax
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00547dc5
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0xc0]
cmp ebx, 1
jne 0x508b7f
push dword [esp + 0x34]
call fcn.00551aa3
push dword [esp + 0x34]
call fcn.00551ab8
or eax, eax
je 0x508b7a
mov ebp, dword [esp + 0x38]
cmp dword [ebp + 0x18], 0
je 0x508b75
push dword [0x9b3e20]
push dword [0x9b3e20]
push 1
mov ebp, dword [esp + 0x44]
push dword [ebp + 0x28]
call fcn.00556870
add dword [0x9b3e20], 2
mov edx, 0x70049c
pop ecx
mov dword [0x9b3e20], ecx
add ecx, dword [0x9a36fc]
call fcn.0051f5d0
jne 0x508b75
mov ebp, dword [esp + 0x38]
push dword [ebp + 0x28]
push 0xffffffff
push dword [esp + 0x68]
call fcn.00530cb2
push dword [ebp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x508af0
jmp 0x508c05
push dword [esp + 0x34]
call fcn.00551aa3
push dword [esp + 0x34]
call fcn.00551ab8
or eax, eax
je 0x508c05
push dword [0x9b3e20]
push dword [0x9b3e20]
push 1
mov ebp, dword [esp + 0x44]
push dword [ebp + 0x28]
call fcn.00556870
add dword [0x9b3e20], 2
mov edx, 0x70049c
pop ecx
mov dword [0x9b3e20], ecx
add ecx, dword [0x9a36fc]
call fcn.0051f5d0
jne 0x508c03
mov ebp, dword [esp + 0x38]
push dword [ebp + 0x28]
push 0xffffffff
push dword [esp + 0x68]
call fcn.00530cb2
push dword [ebp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x508b88
push 0
push dword [esp + 0x64]
call fcn.00530d13
push dword [esp + 0x60]
call fcn.005302c7
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jl 0x508cc7
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
shl ebx, 2
push dword [ebp + ebx]
pop eax
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.00551c80
cmp dword [esp + 0xac], 0
je 0x508cc7
mov ebp, dword [esp + 0x38]
add ebp, 8
push dword [ebp + 0x18]
call fcn.00551aa3
mov ebp, dword [esp + 0x38]
add ebp, 8
push dword [ebp + 0x18]
call fcn.00551ab8
or eax, eax
je 0x508cc7
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
mov ebp, dword [esp + 0x44]
add ebp, 8
mov ebp, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
cdq
push edx
push eax
call fcn.005565d0
add dword [0x9b3e20], 2
push 0xffffffff
push dword [esp + 0x74]
mov edx, dword [0x9a36fc]
add dword [esp + 8], edx
call fcn.00530cb2
pop dword [0x9b3e20]
jmp 0x508c66
push dword [esp]
call fcn.005565a0
and eax, eax
je 0x508d8b
push dword [esp + 0x60]
call fcn.005325c1
mov dword [esp + 0x44], eax
mov eax, dword [esp]
push eax
push 0xffffffff
push 0x1a2
push dword [esp + 0x50]
call sub.USER32.dll_SendMessageW
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x3c]
and ebx, ebx
jl 0x508d14
push dword [esp + 0x3c]
push dword [esp + 0x64]
call fcn.00530d13
cmp dword [esp + 0xac], 0
je 0x508d8b
cmp dword [esp + 0xa8], 0
je 0x508d8b
push dword [esp + 0x68]
call fcn.005325c1
mov dword [esp + 0x44], eax
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0xb0]
cdq
push edx
push eax
call fcn.005565d0
lea eax, [esp + 0x4c]
push eax
call fcn.00559740
mov eax, dword [esp + 0x48]
push eax
push 0xffffffff
push 0x1a2
push dword [esp + 0x50]
call sub.USER32.dll_SendMessageW
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x3c]
and ebx, ebx
jl 0x508d8b
push dword [esp + 0x3c]
push dword [esp + 0x6c]
call fcn.00530d13
cmp dword [esp + 0xac], 0
je 0x508dd4
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x74]
call fcn.005302c7
push eax
push dword [esp + 0x78]
call fcn.0052ede6
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.00556b90
pop dword [0x9b3e20]
mov dword [esp + 0x20], eax
jmp 0x508ddc
mov dword [esp + 0x20], 0xe
push dword [0x9b3e20]
push dword [esp + 0x24]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x70]
call fcn.005302c7
push eax
push dword [esp + 0x74]
call fcn.0052ede6
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00558ded
pop dword [0x9b3e20]
mov dword [esp + 0x28], eax
push dword [esp + 0x88]
call fcn.005301e2
push dword [esp + 0x28]
call fcn.00558e03
push eax
push dword [esp + 0x8c]
call fcn.005317a0
push dword [esp + 8]
push dword [esp + 0x8c]
call fcn.00531755
push dword [esp + 0x28]
call fcn.00558cd7
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0xc]
call fcn.005568e0
lea eax, [esp + 8]
push eax
call fcn.00559740
push 1
mov eax, 0x702ede
push eax
push dword [esp + 0xc]
call fcn.00556310
and eax, eax
je 0x508eb4
cmp dword [esp + 0xb0], 0
je 0x508eb4
push 1
push dword [esp + 0x70]
call fcn.00530d13
push 1
mov eax, 0x703494
push eax
push dword [esp + 0xc]
call fcn.00556310
and eax, eax
je 0x508ee4
cmp dword [esp + 0xb4], 0
je 0x508ee4
push 1
push dword [esp + 0x74]
call fcn.00530d13
push 1
mov eax, 0x7040a2
push eax
push dword [esp + 0xc]
call fcn.00556310
and eax, eax
je 0x508f14
cmp dword [esp + 0xb8], 0
je 0x508f14
push 1
push dword [esp + 0x78]
call fcn.00530d13
mov dword [esp + 0x58], 0
push dword [esp + 0x60]
call fcn.00530d4b
call fcn.00541617
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x333c
jne 0x508f3f
jmp 0x5092f3
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x332d
jne 0x508f83
call fcn.00543d07
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x54]
cmp ebx, 0xf618
jne 0x508f6d
mov dword [esp + 0x58], 1
jmp 0x5092f3
mov ebx, dword [esp + 0x54]
cmp ebx, 0xf619
jne 0x508f7e
jmp 0x5092f3
jmp 0x5092ee
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x332c
jne 0x5092ee
call fcn.00543d16
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x54]
cmp ebx, dword [esp + 0x78]
jne 0x508fb3
mov dword [esp + 0x58], 1
jmp 0x5092f3
mov ebx, dword [esp + 0x54]
cmp ebx, dword [esp + 0x7c]
jne 0x508fc2
jmp 0x5092f3
mov ebx, dword [esp + 0x54]
cmp ebx, dword [esp + 0x60]
jne 0x5091fb
push dword [esp + 0x60]
call fcn.005302c7
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jl 0x50908d
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
shl ebx, 2
push dword [ebp + ebx]
pop eax
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.00551c80
cmp dword [esp + 0xac], 0
je 0x50908d
push dword [esp + 0x68]
call fcn.005301e2
mov ebp, dword [esp + 0x38]
add ebp, 8
push dword [ebp + 0x18]
call fcn.00551aa3
mov ebp, dword [esp + 0x38]
add ebp, 8
push dword [ebp + 0x18]
call fcn.00551ab8
or eax, eax
je 0x50908d
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
mov ebp, dword [esp + 0x44]
add ebp, 8
mov ebp, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
cdq
push edx
push eax
call fcn.005565d0
add dword [0x9b3e20], 2
push 0xffffffff
push dword [esp + 0x74]
mov edx, dword [0x9a36fc]
add dword [esp + 8], edx
call fcn.00530cb2
pop dword [0x9b3e20]
jmp 0x50902c
cmp dword [esp + 0xac], 0
je 0x509157
cmp dword [esp + 0xa8], 0
je 0x50910a
push dword [esp + 0x68]
call fcn.005325c1
mov dword [esp + 0x44], eax
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0xb0]
cdq
push edx
push eax
call fcn.005565d0
lea eax, [esp + 0x4c]
push eax
call fcn.00559740
mov eax, dword [esp + 0x48]
push eax
push 0xffffffff
push 0x1a2
push dword [esp + 0x50]
call sub.USER32.dll_SendMessageW
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x3c]
and ebx, ebx
jl 0x509108
push dword [esp + 0x3c]
push dword [esp + 0x6c]
call fcn.00530d13
jmp 0x509118
push 0
push dword [esp + 0x6c]
call fcn.00530d13
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x74]
call fcn.005302c7
push eax
push dword [esp + 0x78]
call fcn.0052ede6
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.00556b90
pop dword [0x9b3e20]
mov dword [esp + 0x20], eax
jmp 0x50915f
mov dword [esp + 0x20], 0xe
push dword [0x9b3e20]
push dword [esp + 0x24]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x70]
call fcn.005302c7
push eax
push dword [esp + 0x74]
call fcn.0052ede6
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00558ded
pop dword [0x9b3e20]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
je 0x5091f1
push dword [esp + 0x88]
call fcn.005301e2
push dword [esp + 0x28]
call fcn.00558e03
push eax
push dword [esp + 0x8c]
call fcn.005317a0
push dword [esp + 8]
push dword [esp + 0x8c]
call fcn.00531755
push dword [esp + 0x28]
call fcn.00558cd7
jmp 0x5091f6
jmp 0x5092f3
jmp 0x5092ee
mov ebx, dword [esp + 0x54]
cmp ebx, dword [esp + 0x68]
jne 0x5092ee
cmp dword [esp + 0xac], 0
je 0x509252
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x74]
call fcn.005302c7
push eax
push dword [esp + 0x78]
call fcn.0052ede6
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.00556b90
pop dword [0x9b3e20]
mov dword [esp + 0x20], eax
jmp 0x50925a
mov dword [esp + 0x20], 0xe
push dword [0x9b3e20]
push dword [esp + 0x24]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x70]
call fcn.005302c7
push eax
push dword [esp + 0x74]
call fcn.0052ede6
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00558ded
pop dword [0x9b3e20]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
je 0x5092ec
push dword [esp + 0x88]
call fcn.005301e2
push dword [esp + 0x28]
call fcn.00558e03
push eax
push dword [esp + 0x8c]
call fcn.005317a0
push dword [esp + 8]
push dword [esp + 0x8c]
call fcn.00531755
push dword [esp + 0x28]
call fcn.00558cd7
jmp 0x5092ee
jmp 0x5092f3
jmp 0x508f25
cmp dword [esp + 0x58], 0
je 0x5094f1
push dword [esp + 0x60]
call fcn.005302c7
mov dword [esp + 0x3c], eax
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x44]
push dword [esp + 0x6c]
call fcn.0052ede6
lea eax, [esp + 0x44]
push eax
call fcn.00559740
cmp dword [esp + 0xac], 0
je 0x509386
push dword [esp + 0x68]
call fcn.005302c7
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x40]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [esp + 0x48]
push dword [esp + 0x78]
call fcn.0052ede6
pop eax
lea eax, [esp + 0x44]
push eax
call fcn.00559740
jmp 0x5093b3
mov dword [esp + 0x3c], 0xe
mov edx, dword [esp + 0x40]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x727510
push edx
call fcn.005597c0
lea eax, [esp + 0x44]
push eax
call fcn.00559740
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
cmp dword [esp + 0xb0], 0
je 0x5093ee
push dword [esp + 0x6c]
call fcn.005302c7
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xb4], 0
je 0x509408
push dword [esp + 0x70]
call fcn.005302c7
mov dword [esp + 0x90], eax
cmp dword [esp + 0xb8], 0
je 0x509422
push dword [esp + 0x74]
call fcn.005302c7
mov dword [esp + 0x94], eax
mov edx, 0x6fe984
lea ecx, [esp + 0x4c]
call fcn.0051f008
cmp dword [esp + 0x8c], 0
je 0x50945f
mov edx, dword [esp + 0x4c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x702ede
push edx
call fcn.005597c0
lea eax, [esp + 0x50]
push eax
call fcn.00559740
cmp dword [esp + 0x90], 0
je 0x50948e
mov edx, dword [esp + 0x4c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x703494
push edx
call fcn.005597c0
lea eax, [esp + 0x50]
push eax
call fcn.00559740
cmp dword [esp + 0x94], 0
je 0x5094bd
mov edx, dword [esp + 0x4c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x7040a2
push edx
call fcn.005597c0
lea eax, [esp + 0x50]
push eax
call fcn.00559740
push dword [esp + 0x4c]
call fcn.005565a0
mov ebx, eax
cmp ebx, 1
jle 0x5094f1
mov edx, dword [esp + 0x40]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [esp + 0x50]
push edx
call fcn.005597c0
lea eax, [esp + 0x44]
push eax
call fcn.00559740
push dword [esp + 0x24]
call fcn.005409a5
mov ebx, dword [esp + 0x50]
and ebx, ebx
jl 0x509528
push 0
push dword [esp + 0x54]
call fcn.005410d4
push dword [esp + 0x50]
call fcn.00540e32
push dword [esp + 0x50]
call fcn.005410ff
push eax
call sub.USER32.dll_SetForegroundWindow
mov edx, dword [esp + 0x40]
push dword [0x9b3e20]
push edx
call fcn.005597c0
pop eax
add eax, dword [0x9a36fc]
jmp 0x509551
push dword [esp + 8]
call fcn.00559820
push dword [esp]
call fcn.00559820
push dword [esp + 0x4c]
call fcn.00559820
push dword [esp + 4]
call fcn.00559820
push dword [esp + 0x48]
call fcn.00559820
push dword [esp + 0x40]
call fcn.00559820
push eax
push dword [esp + 0x30]
call fcn.00547e96
push dword [esp + 0x38]
call fcn.00551aec
pop eax
add esp, 0x98
pop ebx
pop ebp
ret 0x24