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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5976f4
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2ac]
mov ebp, ecx
push edi
mov ecx, esi
mov edi, dword [esp + 0x2ac]
lea eax, [ebp + 0x140]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], ecx
mov edx, dword [edi]
cmp dword [edx - 8], ebx
jne 0x506d59
mov eax, dword [esp + 0x2a4]
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x50949c
push edi
lea eax, [esp + 0x38]
push str._body_
push eax
call fcn.0058320f
push eax
mov ecx, edi
mov dword [esp + 0x2a0], ebx
call fcn.0058303f
lea ecx, [esp + 0x34]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00582f06
push str.__body_
mov ecx, edi
call fcn.005832e2
mov ecx, dword [ebp + 0x134]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x144], ecx
push 0x877bcc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00582f74
push 0x877bcc
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a0], 1
call fcn.00582f74
push 0x877bcc
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 2
call fcn.00582f74
push 0x877bcc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.00582f74
mov eax, dword [0x768c40]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 5
call fcn.00509d70
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x509346
jmp 0x506e60
mov edi, dword [esp + 0x2ac]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x168]
push edi
push eax
mov ecx, ebp
call fcn.0050bc30
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 6
call fcn.0058303f
lea ecx, [esp + 0x160]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 8], ebx
je 0x507078
mov eax, dword [ebp + 0x78]
dec eax
je 0x506f18
dec eax
je 0x506f0d
dec eax
jne 0x506f21
lea ecx, [esp + 0x28]
call fcn.0058341a
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [edx - 8], ebx
jle 0x506f21
mov cl, byte [eax + edx]
cmp cl, 0x61
jl 0x506eff
cmp cl, 0x7a
jg 0x506eff
cmp eax, ebx
je 0x506ee9
cmp byte [eax + edx - 1], 0x20
jne 0x506eff
sub cl, 0x20
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0058342c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edx - 8]
cmp eax, ecx
jl 0x506ed1
jmp 0x506f21
lea ecx, [esp + 0x28]
call fcn.0058341a
jmp 0x506f21
lea ecx, [esp + 0x28]
call fcn.00583408
lea edx, [esp + 0x28]
mov ecx, ebp
push edx
call fcn.0050d630
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xb4]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x2b4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x2b4]
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push ebx
push eax
lea edx, [esp + 0x278]
push ecx
push edx
mov ecx, ebp
call fcn.00509ae0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x507053
mov eax, dword [esp + 0xb4]
sub esp, 0x10
mov edx, esp
add eax, esi
lea ecx, [ebx + edi]
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.00509600
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2a8]
mov ecx, dword [eax - 8]
mov ebx, dword [edx]
push ecx
push eax
push edi
push esi
mov ecx, edx
call dword [ebx + 0x5c]
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x50705c
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x44]
xor ecx, ecx
cmp ebx, 0x2bc
setge cl
inc ecx
push eax
push ecx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, dword [esp + 0x2a8]
test esi, esi
jne 0x506ffe
xor ecx, ecx
jmp 0x507001
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x280]
push eax
push ecx
mov ecx, esi
call fcn.005897fb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.00589847
test esi, esi
jne 0x50704a
push edi
push esi
call ebx
jmp 0x50705c
mov esi, dword [esi + 4]
push edi
push esi
call ebx
jmp 0x50705c
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
call fcn.00582e91
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
je 0x50932e
lea ecx, [esp + 0x14]
call fcn.0058341a
lea esi, [ebp + 0x24]
mov ecx, esi
call fcn.00582e91
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x138]
push eax
push ecx
mov ecx, ebp
xor edi, edi
mov dword [esp + 0x28], ebx
call fcn.0050c370
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 7
call fcn.0058303f
lea ecx, [esp + 0x134]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x50932e
cmp byte [eax], 0x2f
jne 0x507134
mov eax, dword [eax - 8]
lea edx, [esp + 0x15c]
dec eax
lea ecx, [esp + 0x10]
push eax
push edx
mov edi, 1
call fcn.0057fcb8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 8
call fcn.0058303f
lea ecx, [esp + 0x15c]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov eax, dword [esp + 0x10]
push 0x7622a8
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507189
push str.bold
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50717c
mov edx, dword [ebp + 0x2c]
mov eax, 0x384
shl edx, 1
mov ecx, edx
mov dword [ebp + 0x2c], edx
cmp ecx, eax
jle 0x50717c
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x509327
mov ecx, dword [esp + 0x10]
push 0x76229c
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x5092f6
mov edx, dword [esp + 0x10]
push 0x762298
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x5092f6
mov eax, dword [esp + 0x10]
push 0x762294
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50720d
push str.underline
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x507200
mov eax, dword [ebp + 0x34]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp + 0x34], ecx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
mov eax, dword [esp + 0x10]
push 0x762284
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x5092c3
mov ecx, dword [esp + 0x10]
push str.strike
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x5092c3
mov edx, dword [esp + 0x10]
push str.font
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5074cf
push str.font
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50931f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x50931f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
mov ecx, ebp
call fcn.0050be70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 9
call fcn.0058303f
lea ecx, [esp + 0x14c]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x5074b7
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x178]
push eax
push ecx
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xa
call fcn.0058303f
lea ecx, [esp + 0x16c]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov edx, dword [esp + 0x10]
push str.face
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5073af
push ecx
lea esi, [ebp + 0x40]
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.00582c7b
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0xb
call fcn.00582c7b
lea ecx, [esp + 0x15c]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0050ccd0
push eax
mov ecx, esi
mov byte [esp + 0x2a0], 0xc
call fcn.0058303f
lea ecx, [esp + 0x154]
mov byte [esp + 0x29c], 5
call fcn.00582f06
jmp 0x5074b7
mov edx, dword [esp + 0x10]
push str.size
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5073df
mov eax, dword [ebp + 0x28]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0050b590
mov dword [ebp + 0x28], eax
jmp 0x5074b7
mov edx, dword [esp + 0x10]
push str.color
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50740d
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.0050b420
mov dword [ebp + 0x44], eax
jmp 0x5074b7
mov edx, dword [esp + 0x10]
push str.style
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507434
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0050cd60
jmp 0x5074b7
mov ecx, dword [esp + 0x10]
push str.weight
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50745f
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.0050b1f0
mov dword [ebp + 0x2c], eax
jmp 0x5074b7
mov ecx, dword [esp + 0x10]
push str.bkgnd
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5074b7
mov edx, dword [esp + 0x18]
push str.transparent
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50749d
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x50749d
mov dword [ebp + 0x5c], 1
jmp 0x5074b7
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
mov dword [ebp + 0x5c], 2
call fcn.0050b420
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x507292
jmp 0x50931f
mov edx, dword [esp + 0x10]
push 0x762234
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50788f
push esi
lea ecx, [esp + 0x1b8]
call fcn.0058303f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1b8], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1bc], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c0], edx
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x1c]
mov dword [esp + 0x1c8], ecx
push eax
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1d0], edx
call fcn.0058303f
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1d4], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x1dc], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x1d8], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x1e0], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1e4], edx
mov edx, dword [esi + 0x3c]
lea eax, [esi + 0x40]
mov dword [esp + 0x1ec], ecx
push eax
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x1f4], edx
call fcn.0058303f
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1f8], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x1fc], edx
mov edx, dword [esi + 0x54]
mov dword [esp + 0x200], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x204], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x208], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x20c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x210], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x214], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x218], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x21c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x220], edx
mov edx, dword [esi + 0x78]
add esi, 0x7c
mov dword [esp + 0x228], ecx
push esi
lea ecx, [esp + 0x234]
mov dword [esp + 0x228], eax
mov dword [esp + 0x230], edx
call fcn.0058303f
lea eax, [esp + 0x1b4]
mov edi, 1
push eax
push 0x762234
mov ecx, ebp
mov dword [esp + 0x20c], edi
call fcn.005096c0
mov ecx, dword [esp + 0x14]
mov esi, 0x64
mov eax, dword [ecx - 8]
cmp dword [esp + 0x1c], eax
jge 0x5077c5
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x134]
push eax
push ecx
mov ecx, ebp
call fcn.0050be70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0xd
call fcn.0058303f
lea ecx, [esp + 0x130]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x5077ae
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea eax, [esp + 0x20]
push 0x3d
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x14c]
push ecx
push edx
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xe
call fcn.0058303f
lea ecx, [esp + 0x140]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov eax, dword [esp + 0x10]
push 0x76222c
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507749
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0050cef0
push ebx
lea edx, [esp + 0x1c]
push 0x64
push edx
mov ecx, ebp
mov edi, eax
call fcn.0050b590
mov esi, eax
jmp 0x5077ae
mov eax, dword [esp + 0x10]
push str.size
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50777d
mov ecx, dword [esp + 0x204]
push ebx
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.0050b590
mov dword [esp + 0x204], eax
jmp 0x5077ae
mov eax, dword [esp + 0x10]
push str.color
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5077ae
mov ecx, dword [esp + 0x1d4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0050b420
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x507674
cmp edi, ebx
je 0x5077de
cmp dword [esp + 0x2b4], ebx
je 0x50781b
mov eax, dword [ebp + 0xb0]
add eax, esi
xor esi, esi
mov dword [ebp + 0xb0], eax
cmp dword [esp + 0x2b4], ebx
je 0x507835
mov edx, dword [esp + 0x204]
mov ecx, dword [ebp + 0xa8]
lea eax, [edx + 8]
cmp ecx, eax
jle 0x5077fd
mov eax, ecx
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov eax, dword [esp + 0x20]
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x50932e
mov ecx, dword [ebp + 0x148]
mov edx, dword [ebp + 0x140]
push 0x64
sub ecx, edx
push esi
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov esi, eax
cmp dword [esp + 0x2a8], ebx
jne 0x507842
xor edi, edi
jmp 0x50784c
mov ecx, dword [esp + 0x2a8]
mov edi, dword [ecx + 4]
mov eax, dword [ebp + 0xa8]
mov ecx, dword [esp + 0x204]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0x1d4]
push ecx
mov ecx, dword [esp + 0x24]
push 1
push edx
lea edx, [esi + ecx]
push eax
push edx
push eax
push ecx
push edi
lea ecx, [ebp + 0xb8]
call fcn.00513f50
add dword [esp + 0x20], esi
jmp 0x50932e
mov eax, dword [esp + 0x10]
push 0x762228
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x509223
mov ecx, dword [esp + 0x10]
push 0x762224
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x509223
mov edx, dword [esp + 0x10]
push 0x762220
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x509188
mov eax, dword [esp + 0x10]
push str.t_t_n
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x509188
mov ecx, dword [esp + 0x10]
push str.left
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50793d
push str.left
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x507930
mov dword [ebp + 0x68], ebx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
mov eax, dword [esp + 0x10]
push str.center
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507983
push str.center
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50931f
mov dword [ebp + 0x68], 1
jmp 0x50931f
mov edx, dword [esp + 0x10]
push str.right
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5079cd
push str.right
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x5079c0
mov dword [ebp + 0x68], 2
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x509327
mov ecx, dword [esp + 0x10]
push str.baseline
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507a17
push str.baseline
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x507a0a
mov dword [ebp + 0x6c], 3
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
mov eax, dword [esp + 0x10]
push 0x7621f4
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507a59
push 0x7621f4
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50931f
mov dword [ebp + 0x6c], ebx
jmp 0x50931f
mov edx, dword [esp + 0x10]
push str.middle
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x509154
mov eax, dword [esp + 0x10]
push str.vcenter
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x509154
mov ecx, dword [esp + 0x10]
push str.bottom
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507ad7
push str.bottom
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x507aca
mov dword [ebp + 0x6c], 2
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
mov eax, dword [esp + 0x10]
push 0x7621d8
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x507e4d
mov eax, dword [0x768c40]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov ecx, 1
mov eax, 0x64
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29c], 0x11
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xf0], 0xff00ff
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.00582e91
lea ecx, [esp + 0xf8]
call fcn.00582e91
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.0050c8c0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xf4]
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
cmp eax, ebx
jne 0x507bc6
cmp edx, ebx
jne 0x507bc6
cmp esi, ebx
jne 0x507bc6
cmp dword [ecx - 8], ebx
je 0x507e1e
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], 1
je 0x507be2
push eax
mov ecx, ebp
call fcn.005029d0
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x507c29
cmp dword [ecx - 8], ebx
je 0x507bf7
push ecx
mov ecx, ebp
call fcn.00502a10
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x507c29
cmp edx, ebx
je 0x507c13
mov eax, dword [esp + 0xf8]
mov ecx, ebp
push eax
push edx
call fcn.00502a30
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x507c29
cmp esi, ebx
je 0x507e1e
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
xor ebx, ebx
cmp esi, ebx
je 0x507e1e
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebp
call fcn.0050a650
lea edx, [esp + 0x28c]
push esi
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x44], eax
call fcn.00511710
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x507c7f
mov edx, dword [esp + 0xd4]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ebx, eax
jmp 0x507c86
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0xec]
test eax, eax
je 0x507ca4
mov eax, dword [esp + 0xd8]
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x507cab
mov eax, dword [esp + 0xd8]
test ebx, ebx
mov dword [esp + 0x104], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
je 0x507ce7
test eax, eax
je 0x507ce7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x507ce7
mov eax, dword [ebp + 0x164]
mov ecx, dword [ebp + 0x168]
lea edx, [ebx + eax]
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x507cfb
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov ecx, dword [esp + 0x2b4]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x290]
push ecx
push edx
mov ecx, ebp
call fcn.00509b90
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x507dfd
mov eax, dword [esp + 0x104]
test eax, eax
je 0x507dfd
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x507dfd
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, dword [esp + 0x64]
mov edx, esp
add ecx, esi
add eax, edi
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [edx + 0xc], eax
call fcn.00509600
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x507d97
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x507d97
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xdc], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x2cc]
push edx
push eax
push ebx
mov edx, dword [ecx + 4]
push edi
push esi
push edx
lea ecx, [ebp + 0xb8]
call fcn.00513210
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x20], ecx
je 0x507e1e
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x29c], 0x12
call fcn.00582f06
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29c], 5
call fcn.00582f06
xor ebx, ebx
jmp 0x50932e
mov edx, dword [esp + 0x10]
push str.icon
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50816f
mov eax, dword [0x768c40]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor esi, esi
push 0xb
mov byte [esp + 0x2a0], 0x13
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], esi
call edi
push 0xc
mov dword [esp + 0x190], eax
mov dword [esp + 0x1a4], esi
call edi
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x190], eax
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], esi
call fcn.00582e91
lea ecx, [esp + 0x1b0]
call fcn.00582e91
lea eax, [esp + 0x174]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.0050c8c0
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x180]
mov edi, dword [esp + 0x17c]
cmp edx, esi
mov esi, dword [esp + 0x1ac]
jne 0x507f30
test edi, edi
jne 0x507f30
test ebx, ebx
jne 0x507f30
mov eax, dword [esi - 8]
test eax, eax
je 0x508140
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x190]
test edx, edx
mov dword [esp + 0x38], 1
je 0x507f58
push ecx
push eax
push edx
mov ecx, ebp
call fcn.005028f0
mov ebx, eax
jmp 0x507f97
mov edx, dword [esi - 8]
test edx, edx
je 0x507f6d
push ecx
push eax
push esi
mov ecx, ebp
call fcn.00502930
mov ebx, eax
jmp 0x507f97
test edi, edi
je 0x507f87
mov edx, dword [esp + 0x1b0]
push edx
push ecx
push eax
push edi
mov ecx, ebp
call fcn.00502950
mov ebx, eax
jmp 0x507f97
test ebx, ebx
je 0x508140
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x508140
lea eax, [esp + 0x174]
mov ecx, ebp
push eax
call fcn.0050a650
lea edx, [esp + 0x25c]
mov esi, eax
push ebx
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x3c], esi
call fcn.00511690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, ecx
mov eax, edx
test ecx, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
je 0x508011
test edx, edx
je 0x508011
test esi, esi
je 0x508011
mov eax, dword [ebp + 0x164]
mov ecx, dword [ebp + 0x168]
mov edx, edi
add edx, eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x508025
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], ecx
mov edx, dword [esp + 0x2b4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x260]
push edx
push eax
mov ecx, ebp
call fcn.00509b90
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x508123
mov eax, dword [esp + 0xac]
test eax, eax
je 0x508123
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x508123
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub esp, 0x10
lea eax, [edi + ecx]
lea ecx, [esi + edx]
mov edx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [edx + 0xc], eax
call fcn.00509600
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x5080ca
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x5080ca
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x194], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x1a4]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0x2c4]
push ebx
push eax
push ecx
mov eax, dword [edx + 4]
push edi
push esi
push eax
lea ecx, [ebp + 0xb8]
call fcn.005134a0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x508132
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x29c], 0x14
call fcn.00582f06
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x29c], 5
call fcn.00582f06
xor ebx, ebx
jmp 0x50932e
mov edx, dword [esp + 0x10]
push str.ilst
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508ae1
mov eax, dword [esp + 0x10]
push str.image
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x508ae1
mov ecx, dword [esp + 0x10]
push str.string
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5084c4
push 0x877bcc
lea ecx, [esp + 0x9c]
xor esi, esi
call fcn.00582f74
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x29c], 0x17
mov eax, dword [edx - 8]
cmp ecx, eax
jge 0x5084ab
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x174]
push ecx
push edx
mov ecx, ebp
call fcn.0050be70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x18
call fcn.0058303f
lea ecx, [esp + 0x170]
mov byte [esp + 0x29c], 0x17
call fcn.00582f06
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x508362
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x148]
push edx
push eax
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x19
call fcn.0058303f
lea ecx, [esp + 0x13c]
mov byte [esp + 0x29c], 0x17
call fcn.00582f06
mov ecx, dword [esp + 0x10]
push str.idres
push ecx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5082b4
push ebx
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, ebp
call fcn.0050b590
mov esi, eax
jmp 0x508362
mov eax, dword [esp + 0x10]
push str.iddll
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5082df
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, ebp
call fcn.0050b590
mov esi, eax
jmp 0x508362
mov edx, dword [esp + 0x10]
push str.srcdll
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x508362
push ecx
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00582c7b
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x1a
call fcn.00582c7b
lea eax, [esp + 0x110]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 0x17
call fcn.0050ccd0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2a0], 0x1b
call fcn.0058303f
lea ecx, [esp + 0x108]
mov byte [esp + 0x29c], 0x17
call fcn.00582f06
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jl 0x5081eb
cmp esi, ebx
je 0x5084ab
push 0x877bcc
lea ecx, [esp + 0x48]
call fcn.00582f74
lea edx, [esp + 0x148]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 0x1c
call fcn.00502ab0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a0], 0x1d
call fcn.0058303f
lea ecx, [esp + 0x148]
mov byte [esp + 0x29c], 0x1c
call fcn.00582f06
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.0050d630
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x50849a
lea edx, [esp + 0x10c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x2b4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp dword [esp + 0x2b4], ebx
je 0x508411
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0x2b4]
mov ebx, dword [esp + 0x110]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ebx
push ecx
lea eax, [esp + 0x280]
push edx
push eax
mov ecx, ebp
call fcn.00509ae0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x508487
mov ecx, dword [esp + 0x10c]
sub esp, 0x10
mov edx, esp
lea eax, [esi + ecx]
lea ecx, [edi + ebx]
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.00509600
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2a8]
mov ecx, dword [eax - 8]
mov ebx, dword [edx]
push ecx
push eax
push edi
push esi
mov ecx, edx
call dword [ebx + 0x5c]
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x20]
add ecx, eax
xor ebx, ebx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x29c], 0x17
call fcn.00582f06
lea ecx, [esp + 0x98]
mov byte [esp + 0x29c], 5
call fcn.00582f06
jmp 0x50932e
mov ecx, dword [esp + 0x10]
push str.body
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov edx, dword [esp + 0x10]
push 0x76219c
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov eax, dword [esp + 0x10]
push 0x762198
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov ecx, dword [esp + 0x10]
push 0x762194
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov edx, dword [esp + 0x10]
push 0x762190
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov eax, dword [esp + 0x10]
push 0x76218c
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov ecx, dword [esp + 0x10]
push 0x762188
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov edx, dword [esp + 0x10]
push 0x762184
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov eax, dword [esp + 0x10]
push str.code
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov ecx, dword [esp + 0x10]
push 0x762178
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov edx, dword [esp + 0x10]
push 0x762174
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov eax, dword [esp + 0x10]
push str.small
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov ecx, dword [esp + 0x10]
push 0x762168
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov edx, dword [esp + 0x10]
push 0x762164
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508aa7
mov eax, dword [esp + 0x10]
push str.span
push eax
call fcn.00543314
add esp, 8
test eax, eax
je 0x5088ff
mov ecx, dword [esp + 0x10]
push 0x762158
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x5088ff
mov edx, dword [esp + 0x10]
push 0x762154
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50932e
push str.link
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x5088f2
lea edi, [ebp + 0xa0]
mov dword [ebp + 0x9c], 2
mov ecx, edi
call fcn.00582e91
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x5088b3
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x118]
push edx
push eax
mov ecx, ebp
call fcn.0050be70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x24
call fcn.0058303f
lea ecx, [esp + 0x114]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x5088a0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x15c]
push eax
push ecx
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x25
call fcn.0058303f
lea ecx, [esp + 0x150]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov edx, dword [esp + 0x10]
push str.href
push edx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508796
mov eax, dword [esp + 0x10]
push 0x762140
push eax
call fcn.00543314
add esp, 8
test eax, eax
jne 0x508805
push ecx
mov dword [ebp + 0x9c], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x877bcc
call fcn.00582f74
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x26
call fcn.00582c7b
lea eax, [esp + 0x128]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 5
call fcn.0050ccd0
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x27
call fcn.0058303f
lea ecx, [esp + 0x120]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov ecx, dword [esp + 0x10]
push 0x76213c
push ecx
call fcn.00543314
add esp, 8
test eax, eax
je 0x508831
mov edx, dword [esp + 0x10]
push str.event
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5088a0
push ecx
mov dword [ebp + 0x9c], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x877bcc
call fcn.00582f74
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x28
call fcn.00582c7b
lea ecx, [esp + 0x160]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0050ccd0
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x29
call fcn.0058303f
lea ecx, [esp + 0x158]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5086cc
mov edx, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
inc edx
push esi
mov eax, edx
mov dword [ebp + 0x154], edx
cmp eax, ecx
jne 0x5088e6
push str.a:hover
mov ecx, ebp
call fcn.005096c0
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x509327
push str.a:link
mov ecx, ebp
call fcn.005096c0
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x509327
push str.span
mov ecx, esi
call fcn.0058308f
cmp edi, ebx
jne 0x508a89
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x130]
push edx
push eax
mov ecx, ebp
call fcn.0050be70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x1f
call fcn.0058303f
lea ecx, [esp + 0x12c]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x50932e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x20
call fcn.0058303f
lea ecx, [esp + 0xfc]
mov byte [esp + 0x29c], 5
call fcn.00582f06
mov edx, dword [esp + 0x10]
push str.class
push edx
call fcn.00543314
add esp, 8
test eax, eax
jne 0x50932e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x877bcc
call fcn.00582f74
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x21
call fcn.00582c7b
lea ecx, [esp + 0xac]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0050ccd0
push ebx
mov ecx, ebp
mov byte [esp + 0x2a0], 0x22
call fcn.005096f0
test eax, eax
je 0x508a70
lea edx, [esp + 0xa4]
lea eax, [esp + 0x168]
push edx
push 0x762118
push eax
call fcn.0058320f
mov eax, dword [eax]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x2a4], 0x23
call fcn.005096c0
lea ecx, [esp + 0x168]
mov byte [esp + 0x29c], 0x22
call fcn.00582f06
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, ebp
call fcn.00509a00
lea ecx, [esp + 0xa4]
mov byte [esp + 0x29c], 5
call fcn.00582f06
jmp 0x50932e
push 1
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0058303f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x508ad4
mov ecx, dword [esp + 0x10]
push esi
push ecx
mov ecx, ebp
call fcn.005096c0
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
mov eax, dword [0x768c40]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, 0x64
mov edi, 1
push 0xb
mov byte [esp + 0x2a0], 0x15
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x90], 0xff00ff
call esi
push 0xc
mov dword [esp + 0x6c], eax
call esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00582e91
lea ecx, [esp + 0x94]
call fcn.00582e91
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.0050c8c0
lea edx, [esp + 0x58]
mov ecx, ebp
push edx
call fcn.0050a650
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x508dd4
cmp esi, ebx
jne 0x508dd4
cmp edx, ebx
jne 0x508dd4
cmp dword [ecx - 8], ebx
jne 0x508dd4
lea eax, [ebp + 0x100]
cmp eax, ebx
je 0x509125
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x509125
mov eax, dword [ebp + 0x104]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jge 0x509125
push 0
push ecx
mov ecx, dword [ebp + 0x104]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
test eax, eax
mov dword [esp + 0x38], eax
je 0x509125
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x11c], esi
test eax, eax
je 0x508c43
mov edx, dword [ebp + 0x108]
push 0x64
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ebx, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x508c6b
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10c]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov esi, eax
mov dword [esp + 0x11c], esi
mov ecx, esi
mov dword [esp + 0x9c], ebx
test ebx, ebx
mov dword [esp + 0xa0], ecx
je 0x508ca9
test esi, esi
je 0x508ca9
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x508ca9
mov eax, dword [ebp + 0x164]
add eax, ebx
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x168]
add ecx, eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x508cbd
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x270]
push eax
push ecx
mov ecx, ebp
call fcn.00509b90
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x508dbe
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x508dbe
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x508dbe
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov ecx, dword [esp + 0xb0]
lea eax, [esi + edx]
mov edx, esp
add ecx, edi
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.00509600
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x508d5d
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x508d5d
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x2c4]
push eax
push ecx
push ebx
mov eax, dword [edx + 4]
push edi
push esi
push eax
lea ecx, [ebp + 0xb8]
call fcn.005134a0
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x509125
cmp eax, ebx
mov dword [esp + 0x34], edi
je 0x508de6
push eax
mov ecx, ebp
call fcn.005029d0
jmp 0x508e1b
cmp dword [ecx - 8], ebx
je 0x508df5
push ecx
mov ecx, ebp
call fcn.00502a10
jmp 0x508e1b
cmp esi, ebx
je 0x508e0b
mov eax, dword [esp + 0x94]
mov ecx, ebp
push eax
push esi
call fcn.00502a30
jmp 0x508e1b
cmp edx, ebx
je 0x509125
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x34], ebx
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x509125
mov eax, dword [esp + 0x68]
test eax, eax
je 0x509125
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x509125
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x244]
push edx
lea ecx, [ebp + 0xb8]
push eax
call fcn.00511710
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x84]
test eax, eax
mov dword [esp + 0x240], ecx
je 0x508e88
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, eax
mov dword [esp + 0x70], ecx
jmp 0x508e8c
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x508eb3
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push 0x64
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
jmp 0x508eb7
mov eax, dword [esp + 0x74]
mov edi, ecx
mov esi, eax
test ecx, ecx
mov dword [esp + 0x234], edi
je 0x508ee9
test eax, eax
je 0x508ee9
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x508ee9
mov edi, dword [ebp + 0x164]
mov esi, dword [ebp + 0x168]
add edi, ecx
add esi, eax
mov dword [esp + 0x234], edi
mov eax, ebx
mov ebx, dword [esp + 0x58]
cdq
idiv dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x240]
cdq
idiv dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov edx, eax
imul edx, ecx
cmp ebx, edx
jge 0x509112
test ecx, ecx
je 0x509112
test eax, eax
je 0x509112
mov ebx, dword [esp + 0x2b4]
test ebx, ebx
je 0x508f37
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push esi
push ecx
lea eax, [esp + 0x258]
push edx
push eax
mov ecx, ebp
call fcn.00509b90
mov edx, dword [esp + 0x70]
mov ecx, eax
test edx, edx
mov eax, dword [ecx]
mov dword [esp + 0x124], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x128], ecx
je 0x50910e
mov edx, dword [esp + 0x74]
test edx, edx
je 0x50910e
test ebx, ebx
jne 0x50910e
sub esp, 0x10
add edi, eax
mov edx, esp
add esi, ecx
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, ebp
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
call fcn.00509600
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x508fc4
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x508fc4
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0x2a8]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx + 4]
push edx
call edi
mov esi, eax
mov eax, dword [ebx + 4]
push eax
call edi
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x30]
mov ebx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
xor edx, edx
div ecx
push 0xcc0020
xor edx, edx
imul eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
div ecx
mov eax, dword [esp + 0x70]
imul edx, eax
push edx
mov edx, dword [esp + 0x78]
push esi
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xb0]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xb0]
push eax
call esi
mov ecx, dword [ebp + 0x178]
mov edx, dword [ebp + 0x170]
mov eax, dword [ebp + 0x16c]
push ecx
mov ecx, dword [ebp + 0x168]
push edx
mov edx, dword [ebp + 0x164]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x14c]
push ebx
push ecx
mov ecx, dword [esp + 0x150]
push edx
mov edx, dword [esp + 0x2d8]
push eax
push ecx
lea ecx, [ebp + 0xb8]
mov eax, dword [edx + 4]
push eax
call fcn.00513210
push ebx
call esi
mov edi, dword [esp + 0x234]
add dword [esp + 0x20], edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x509125
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x94]
mov byte [esp + 0x29c], 0x16
call fcn.00582f06
lea ecx, [esp + 0x90]
mov byte [esp + 0x29c], 5
call fcn.00582f06
xor ebx, ebx
jmp 0x50932e
push str.vcenter
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50917b
mov dword [ebp + 0x6c], 1
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
push 0x762114
mov ecx, esi
call fcn.0058308f
mov eax, dword [esp + 0x10]
push str.t_t_n
push eax
mov esi, 1
call fcn.00543314
add esp, 8
test eax, eax
jne 0x509211
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x144]
push edx
push eax
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x10
call fcn.0058303f
lea ecx, [esp + 0x138]
mov byte [esp + 0x29c], 5
call fcn.00582f06
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.0050b590
mov esi, eax
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebp
call fcn.00509e20
jmp 0x50932e
push str.new_line
mov ecx, esi
call fcn.0058308f
mov eax, dword [esp + 0x10]
push 0x762228
push eax
mov esi, 1
call fcn.00543314
add esp, 8
test eax, eax
jne 0x5092ac
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7617f0
call fcn.00582f74
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x170]
push edx
push eax
mov ecx, ebp
call fcn.0050c230
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xf
call fcn.0058303f
lea ecx, [esp + 0x164]
mov byte [esp + 0x29c], 5
call fcn.00582f06
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.0050b590
mov esi, eax
mov edx, dword [esp + 0x2b4]
lea eax, [esp + 0x20]
push edx
push esi
push eax
mov ecx, ebp
call fcn.00509ca0
jmp 0x50932e
push str.strikeout
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x5092ec
mov eax, dword [ebp + 0x38]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp + 0x38], ecx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x509327
push str.italic
mov ecx, esi
call fcn.0058308f
push edi
mov ecx, ebp
call fcn.005096f0
test eax, eax
je 0x50932e
cmp edi, ebx
jne 0x50931f
mov ecx, dword [ebp + 0x30]
xor eax, eax
cmp ecx, ebx
sete al
mov dword [ebp + 0x30], eax
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, ebp
call fcn.00509a00
mov edx, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x506e59
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push 1
push edx
mov ecx, ebp
call fcn.00509ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x144]
mov edx, dword [esp + 0x144]
sub eax, ecx
mov dword [ebp + 0x130], eax
mov eax, dword [ebp + 0x134]
cmp edx, eax
mov dword [esp + 0x40], edx
jge 0x5093eb
lea ebx, [ebp + 0xa4]
mov eax, dword [ebp + 0x20c]
lea ecx, [edx + edx*4]
mov edi, ebx
lea esi, [eax + ecx*4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xb0]
test eax, eax
je 0x5093dc
mov edx, dword [ebp + 0x12c]
push 0x64
push edx
push eax
lea ebx, [ebp + 0xa4]
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov esi, dword [ebx]
mov ecx, dword [ebp + 0x12c]
add esi, eax
mov eax, esi
mov dword [ebx], esi
cmp ecx, eax
jle 0x5093d2
mov eax, ecx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x12c], eax
mov eax, dword [ebp + 0x134]
inc edx
cmp edx, eax
mov dword [esp + 0x40], edx
jl 0x509389
mov esi, dword [esp + 0x2a4]
mov eax, dword [ebp + 0x12c]
mov dword [esi], eax
mov ecx, dword [ebp + 0x130]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x230]
mov byte [esp + 0x29c], 0x2c
call fcn.00582f06
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x29c], 0x2b
call fcn.00582f06
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x29c], 0x2a
call fcn.00582f06
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x29c], 4
call fcn.00582f06
lea ecx, [esp + 0x18]
mov byte [esp + 0x29c], 3
call fcn.00582f06
lea ecx, [esp + 0x10]
mov byte [esp + 0x29c], 2
call fcn.00582f06
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 1
call fcn.00582f06
lea ecx, [esp + 0x28]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00582f06
mov eax, esi
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x290
ret 0x14