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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5078e8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
call fcn.004f81f1
mov edi, dword [esp + 0x58]
xor esi, esi
push 0x57ce60
lea ecx, [esp + 0x5c]
call fcn.004e0aab
test esi, esi
mov dword [esp + 0x50], 0
jne 0x408292
mov eax, dword [edi + 0x6c]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 1
jne 0x4082a5
mov edx, dword [edi + 0x60]
push edx
push 0x544104
jmp 0x4084cd
cmp esi, 2
jne 0x4082bd
mov ecx, dword [edi + 0x64]
lea edx, [esp + 0x58]
push ecx
push 0x544104
push edx
jmp 0x4084d2
cmp esi, 3
jne 0x4082e7
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
push eax
push ecx
lea edx, [esp + 0x60]
push 0x543ff0
push edx
call fcn.004d988f
add esp, 0x10
jmp 0x4084da
cmp esi, 4
jne 0x408302
mov eax, dword [edi + 0x88]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 5
jne 0x40830f
mov edx, dword [edi + 0x74]
jmp 0x4084c7
cmp esi, 6
jne 0x408327
mov ecx, dword [edi + 0x78]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 7
jne 0x40833f
mov eax, dword [edi + 0x7c]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 8
jne 0x40834c
mov edx, dword [edi + 0x24]
jmp 0x4084c7
cmp esi, 9
jne 0x408364
mov ecx, dword [edi + 0x70]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 0xa
jne 0x40837c
mov eax, dword [edi + 0x68]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0xb
jne 0x408388
mov edx, dword [edi]
jmp 0x4084c7
cmp esi, 0x11
jne 0x4083a0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 0x13
jne 0x4083b1
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push eax
jmp 0x4082cf
cmp esi, 0x14
jne 0x4083c2
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push eax
jmp 0x4082cf
cmp esi, 0x12
jne 0x4083da
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0x15
jne 0x4083e7
mov edx, dword [edi + 8]
jmp 0x4084c7
cmp esi, 0x16
jne 0x4083ff
mov ecx, dword [edi + 0x28]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 0x17
jne 0x408417
mov eax, dword [edi + 0x2c]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0xc
jne 0x40842a
mov edx, dword [edi + 0x30]
push edx
push 0x544104
jmp 0x4084cd
cmp esi, 0xd
jne 0x408442
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x58]
push ecx
push 0x544104
push edx
jmp 0x4084d2
cmp esi, 0xe
jne 0x408457
mov eax, dword [edi + 0x38]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0xf
jne 0x408461
mov edx, dword [edi + 0x3c]
jmp 0x4084c7
cmp esi, 0x10
jne 0x408476
mov ecx, dword [edi + 0x40]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 0x18
jne 0x40848b
mov eax, dword [edi + 0x44]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0x19
jne 0x408495
mov edx, dword [edi + 0x4c]
jmp 0x4084c7
cmp esi, 0x1a
jne 0x4084aa
mov ecx, dword [edi + 0x48]
lea edx, [esp + 0x58]
push ecx
push 0x543ff8
push edx
jmp 0x4084d2
cmp esi, 0x1b
jne 0x4084bf
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x58]
push eax
push 0x543ff8
push ecx
jmp 0x4084d2
cmp esi, 0x1c
jne 0x4084da
mov edx, dword [edi + 0x54]
push edx
push 0x543ff8
lea eax, [esp + 0x60]
push eax
call fcn.004d988f
add esp, 0xc
call fcn.004f81f1
mov ecx, dword [esp + 0x58]
mov edx, dword [esi*4 + 0x543c20]
mov eax, dword [eax + 4]
push ecx
push edx
push str.ChildFrame
mov ecx, eax
call fcn.004ebfab
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.004e0a3d
inc esi
cmp esi, 0x1d
jl 0x408265
mov ecx, dword [edi + 0x5c]
lea eax, [esp + 0xc]
push eax
push 0x3c
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push str.BookmarkFont
call fcn.004e0aab
lea edx, [esp + 0x10]
push edx
call fcn.00407e40
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x4c
ret