Function at 0x578040
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfe43
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x5f8800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 0x100
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x1c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x3c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x2c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x80
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movsx eax, word [edi + 8]
add esp, 0x3c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
dec eax
cmp eax, 0x1c
ja case.default.0x5780e8
jmp dword [eax*4 + 0x579b58]
mov eax, dword [edi + 0xc]
movzx ecx, ax
mov dword [ebp - 0x414], ecx
cmp eax, 0xffffffff
jne 0x578159
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE18
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578130
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc4]
push 0x80
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x578183
mov edx, dword [edi + 0x40]
xor ecx, ecx
movzx eax, dl
cmp edx, 0xffffffff
cmovne ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0x410]
push eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x414]
call fcn.00449b90
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE1]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 4
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dbc90]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dbc98]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dbc9c]
mov word [edx + 0x1c], ax
mov al, byte [0x5dbc9e]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x418]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x578229
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x5795af
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x578278
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579b53
push ecx
push edx
call fcn.005aa4e8
add esp, 8
jmp 0x5795af
mov eax, dword [edi + 0xc]
movzx ecx, ax
mov dword [ebp - 0x414], ecx
cmp eax, 0xffffffff
jne 0x5782e9
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE5
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x5782c8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
mov ecx, dword [edi + 0x40]
xor edx, edx
movzx eax, cl
cmp ecx, 0xffffffff
mov ecx, dword [ebp - 0x410]
cmovne edx, eax
movzx eax, dl
push eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x414]
call fcn.00449b90
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE41
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578343
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
mov ecx, dword [ebp - 0x410]
lea eax, [edi + 0x10]
push 1
push 0
push eax
call fcn.0052f9e0
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE6]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 4
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dbcf4]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dbcfc]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dbd00]
mov word [edx + 0x1c], ax
mov al, byte [0x5dbd02]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x418]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x578424
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x410]
add eax, 0x18966d
push eax
push dword [edi + 0x48]
push ecx
jmp 0x578234
mov ecx, dword [ebp - 0x410]
lea eax, [edi + 0x10]
push 1
push 0
push eax
call fcn.0052f9e0
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE7]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 4
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dbd14]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dbd1c]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dbd20]
mov word [edx + 0x1c], ax
mov al, byte [0x5dbd22]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x418]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x578424
mov eax, dword [ebp - 0x410]
mov ecx, dword [ecx]
add eax, 0x18966d
push eax
push dword [edi + 0x48]
push ecx
jmp 0x578234
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], 0
push 0x30
movups xmmword [ebp - 0x3f4], xmm0
mov dword [ebp - 0x3e0], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE13]
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3e4], 0x20
mov dword [ebp - 0x3e0], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dbd34]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 6
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 8
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dbd58]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dbd60]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dbd64]
mov word [edx + 0x1c], ax
mov al, byte [0x5dbd66]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x418]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x578619
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57863e
mov eax, dword [eax]
push dword [ebp - 0x410]
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov ecx, dword [ebp - 0x3c8]
add esp, 0x10
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x57868f
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x578685
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579b53
push ecx
push edx
call fcn.005aa4e8
add esp, 8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0xf
mov byte [ebp - 0x3dc], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00411640
jmp 0x5795af
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE13
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 8
call fcn.0040f9f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x578711
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x57872a
mov eax, dword [eax]
push dword [ebp - 0x410]
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x3f4]
call fcn.00411640
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 4], 0xffffffff
call fcn.00411640
jmp 0x5795af
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE14
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xa
call fcn.0040f9f0
mov byte [ebp - 4], 0xb
jmp 0x5786ec
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], 0
push 0x30
movups xmmword [ebp - 0x3f4], xmm0
mov dword [ebp - 0x3e0], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE14]
mov dword [ebp - 0x3f4], eax
add esp, 4
mov dword [ebp - 0x3e4], 0x20
mov dword [ebp - 0x3e0], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dbd98]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 4], 0xc
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57882a
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578843
mov eax, dword [eax]
push dword [ebp - 0x410]
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x3dc]
call fcn.00411640
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xffffffff
call fcn.00411640
jmp 0x5795af
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
jne 0x5788b0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE37
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE10
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xe
call fcn.0040f9f0
mov byte [ebp - 4], 0xf
jmp 0x57954f
test eax, eax
js 0x578923
cmp eax, 0x3c
jge 0x578923
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE10
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x10
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov edx, eax
cmp dword [edx + 0x14], 0xf
jbe 0x5788eb
mov edx, dword [edx]
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + ecx*4 + 0x1859c4]
lea eax, [ebp - 0x44]
add ecx, 4
push ecx
push dword [edi + 0x48]
push edx
push eax
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE10
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x11
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578953
mov eax, dword [eax]
push 0x5c54ac
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
mov eax, dword [edi + 0xc]
test eax, eax
js 0x5789d8
cmp eax, 0x3c
jge 0x5789d8
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE11
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x12
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov edx, eax
cmp dword [edx + 0x14], 0xf
jbe 0x5788eb
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x410]
mov edx, dword [edx]
mov ecx, dword [eax + ecx*4 + 0x1859c4]
add ecx, 4
push ecx
push dword [edi + 0x48]
push edx
jmp 0x57895c
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE11
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x13
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578a08
mov eax, dword [eax]
push 0x5c54ac
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE15
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x14
call fcn.0040f9f0
mov byte [ebp - 4], 0x15
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE15
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x16
call fcn.0040f9f0
mov byte [ebp - 4], 0x17
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE16
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x18
call fcn.0040f9f0
mov byte [ebp - 4], 0x19
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE16
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1a
call fcn.0040f9f0
mov byte [ebp - 4], 0x1b
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE17
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1c
call fcn.0040f9f0
mov byte [ebp - 4], 0x1d
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE17
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1e
call fcn.0040f9f0
mov byte [ebp - 4], 0x1f
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE30
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE26
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x20
call fcn.0040f9f0
mov byte [ebp - 4], 0x21
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE30
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE28
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x22
call fcn.0040f9f0
mov byte [ebp - 4], 0x23
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE31
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE26
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x24
call fcn.0040f9f0
mov byte [ebp - 4], 0x25
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE31
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE28
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x26
call fcn.0040f9f0
mov byte [ebp - 4], 0x27
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE34
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE32
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x28
call fcn.0040f9f0
mov byte [ebp - 4], 0x29
jmp 0x5786ec
mov eax, dword [edi + 0xc]
cmp eax, 9
ja case.default.0x578c4d
jmp dword [eax*4 + 0x579bcc]
push str.DRAW_OBJECT_NAME60
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x2a
call fcn.0040f9f0
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x2b
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x578ca4
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578cbd
mov eax, dword [eax]
push dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57873d
push str.DEF_MSG_ARESOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x2c
call fcn.0040f9f0
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov ecx, eax
call fcn.00494bc0
push eax
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov ecx, eax
call fcn.00494bc0
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57873d
push str.DEF_MSG_ELVSOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x2e
call fcn.0040f9f0
mov byte [ebp - 4], 0x2f
jmp 0x578cfd
push str.DEF_MSG_ARECIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x30
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x31
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x578dba
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov ecx, eax
call fcn.00494bc0
push eax
push dword [ebp - 0x410]
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57873d
push str.DEF_MSG_ELVCIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x32
call fcn.0040f9f0
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x578e37
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578e50
mov eax, dword [eax]
push dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57873d
push str.DEF_MSG_AREPK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x34
call fcn.0040f9f0
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x35
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578d15
mov eax, dword [eax]
jmp 0x578d15
push str.DEF_MSG_ELVPK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x36
call fcn.0040f9f0
mov byte [ebp - 4], 0x37
jmp 0x578cfd
push str.DEF_MSG_SOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x38
call fcn.0040f9f0
mov byte [ebp - 4], 0x39
jmp 0x578cfd
push str.DEF_MSG_CIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x3a
call fcn.0040f9f0
mov byte [ebp - 4], 0x3b
jmp 0x578cfd
push str.DEF_MSG_PK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x3c
call fcn.0040f9f0
mov byte [ebp - 4], 0x3d
jmp 0x578e12
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE35
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x578fa2
mov eax, dword [eax]
push 0x5c54ac
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
mov eax, dword [edi + 0xc]
cmp eax, 9
ja case.default.0x578fd4
jmp dword [eax*4 + 0x579bf4]
push str.DRAW_OBJECT_NAME60
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x3f
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x40
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57902b
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x579044
mov eax, dword [eax]
push eax
push dword [ebp - 0x410]
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57873d
push str.DEF_MSG_ARESOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x41
call fcn.0040f9f0
mov byte [ebp - 4], 0x42
jmp 0x578e12
push str.DEF_MSG_ELVSOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x43
call fcn.0040f9f0
mov byte [ebp - 4], 0x44
jmp 0x578e12
push str.DEF_MSG_ARECIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x45
call fcn.0040f9f0
mov byte [ebp - 4], 0x46
jmp 0x578e12
push str.DEF_MSG_ELVCIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x47
call fcn.0040f9f0
mov byte [ebp - 4], 0x48
jmp 0x578e12
push str.DEF_MSG_AREPK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x49
call fcn.0040f9f0
mov byte [ebp - 4], 0x4a
jmp 0x578e12
push str.DEF_MSG_ELVPK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x4b
call fcn.0040f9f0
mov byte [ebp - 4], 0x4c
jmp 0x578e12
push str.DEF_MSG_SOLDIER
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x4d
call fcn.0040f9f0
mov byte [ebp - 4], 0x4e
jmp 0x578e12
push str.DEF_MSG_CIVIL
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x4f
call fcn.0040f9f0
mov byte [ebp - 4], 0x50
jmp 0x578e12
push str.DEF_MSG_PK
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x51
call fcn.0040f9f0
mov byte [ebp - 4], 0x52
jmp 0x578e12
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
mov dword [ebp - 4], 0x53
jmp 0x578f89
mov eax, dword [edi + 0x50]
test eax, eax
je 0x57924c
mov eax, dword [eax + 0x30]
test eax, eax
je 0x57924c
push dword [eax + 8]
lea eax, [ebp - 0xc4]
push 0x5c7a40
push eax
call esi
add esp, 0xc
jmp 0x5792f3
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], 0
push 0x20
movups xmmword [ebp - 0x3f4], xmm0
mov dword [ebp - 0x3e0], 0
call fcn.005aa520
movups xmm0, xmmword [str.DEF_DETAULTQUESTNAME]
mov dword [ebp - 0x3f4], eax
add esp, 4
mov dword [ebp - 0x3e4], 0x14
mov dword [ebp - 0x3e0], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x5c7a38]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], 0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x54
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x5792d1
mov eax, dword [eax]
push dword [edi + 0xc]
push eax
lea eax, [ebp - 0xc4]
push eax
call esi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
cmp dword [edi + 0x48], 1
xorps xmm0, xmm0
push 0x30
jne 0x57939a
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE38]
mov dword [ebp - 0x3dc], eax
add esp, 4
mov dword [ebp - 0x3cc], 0x20
mov dword [ebp - 0x3c8], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dbfd4]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x579384
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
jmp 0x57823d
movups xmmword [ebp - 0x3f4], xmm0
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3e0], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE39]
mov dword [ebp - 0x3f4], eax
add esp, 4
mov dword [ebp - 0x3e4], 0x20
mov dword [ebp - 0x3e0], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dbff8]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57941c
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push dword [edi + 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x5795af
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE42
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x57
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x58
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, 0x5fd3c4
mov eax, dword [eax]
add eax, 0x20
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x3dc]
push eax
call fcn.00411e80
mov ecx, eax
cmp dword [ecx + 0x14], 0xf
jbe 0x5794b0
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x414]
cmp dword [eax + 0x14], 0xf
jbe 0x5794be
mov eax, dword [eax]
push ecx
jmp 0x578730
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE42
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x59
call fcn.0040f9f0
mov byte [ebp - 4], 0x5a
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE43
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x5b
call fcn.0040f9f0
mov byte [ebp - 4], 0x5c
jmp 0x5786ec
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE43
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE9
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x5d
call fcn.0040f9f0
mov byte [ebp - 4], 0x5e
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x579574
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x57958d
mov eax, dword [eax]
push eax
push dword [edi + 0x48]
push dword [ebp - 0x410]
jmp 0x578734
push 0x5c54ac
lea eax, [ebp - 0x44]
push 0x32
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x80
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [edi + 0x25]
add esp, 0x30
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x414], eax
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x579610
sub edx, dword [ebp - 0x414]
je 0x579631
lea eax, [ebp - 0xc4]
push eax
push ecx
call fcn.005666c0
jmp 0x57972a
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE3]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 4
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dc064]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dc06c]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dc070]
mov word [edx + 0x1c], ax
mov al, byte [0x5dc072]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 0x5f
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x5796d7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc4]
push 0x80
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
mov ecx, dword [ebp - 0x3c8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x57972d
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579723
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579b53
push ecx
push edx
call fcn.005aa4e8
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x20
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE2]
mov edx, eax
mov dword [ebp - 0x3cc], 0x1f
mov dword [ebp - 0x3dc], edx
add esp, 4
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dc084]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dc08c]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dc090]
mov word [edx + 0x1c], ax
mov al, byte [0x5dc092]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 0x60
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x5797d3
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov ecx, dword [ebp - 0x3c8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x579825
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57981b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579b53
push ecx
push edx
call fcn.005aa4e8
add esp, 8
push 0x5c4a20
lea eax, [ebp - 0x1c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
push 0x5dc094
lea eax, [ebp - 0x2c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea ecx, [edi + 0x25]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x579884
sub ecx, edx
je 0x579a39
cmp dword [edi + 0x30], 0xffffffff
je 0x579a39
cmp dword [edi + 0x34], 0xffffffff
je 0x579a39
cmp dword [edi + 0x38], 0xffffffff
je 0x579a39
cmp dword [edi + 0x3c], 0xffffffff
je 0x579a39
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x3fc], 0
push 0x20
movups xmmword [ebp - 0x40c], xmm0
mov dword [ebp - 0x3f8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE4]
mov edx, eax
mov dword [ebp - 0x3fc], 0x1f
mov dword [ebp - 0x40c], edx
add esp, 0x10
mov dword [ebp - 0x3f8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x5dc0ac]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x5dc0b4]
mov dword [edx + 0x18], ecx
mov ax, word [0x5dc0b8]
mov word [edx + 0x1c], ax
mov al, byte [0x5dc0ba]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
lea eax, [ebp - 0x40c]
mov dword [ebp - 4], 0x61
push eax
lea eax, [ebp - 0x420]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57996e
mov eax, dword [eax]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push dword [edi + 0x34]
push dword [edi + 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov ecx, dword [ebp - 0x3f8]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x5799c5
mov edx, dword [ebp - 0x40c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5799bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579b53
push ecx
push edx
call fcn.005aa4e8
add esp, 8
push 0x5c4a20
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x3fc], 0
push 0x100
push eax
mov dword [ebp - 0x3f8], 0xf
mov byte [ebp - 0x40c], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
push 0x5c4a20
lea eax, [ebp - 0x2c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c4]
push 0x100
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
add esp, 0x30
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x579b05
cmp eax, 1
je 0x579aa8
cmp eax, 2
jne 0x579b05
lea ecx, [ebp - 0x1c4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x579a60
sub ecx, edx
cmp ecx, 0x28
jbe 0x579b34
push 0x1c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x65
test eax, eax
je 0x579b34
push 0
lea ecx, [ebp - 0x2c4]
push ecx
push 2
mov ecx, eax
call fcn.00586d00
jmp 0x579b36
lea ecx, [ebp - 0x1c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x579ab1
sub ecx, edx
push 0x1c
cmp ecx, 0x28
jbe 0x579aee
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x63
test eax, eax
je 0x579b34
push 0
lea ecx, [ebp - 0x3c4]
push ecx
push 2
mov ecx, eax
call fcn.00586d00
jmp 0x579b36
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x64
jmp 0x579b1c
push 0x1c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0x62
test eax, eax
je 0x579b34
push 0
lea ecx, [ebp - 0x1c4]
push ecx
push 2
mov ecx, eax
call fcn.00586d00
jmp 0x579b36
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005aa550
mov esp, ebp
pop ebp
ret 8
call fcn.005ac169
out dx, eax
adc byte [edi], 135
adc byte [edi], 0x6b
adc dword [edi], 0x39
test byte [edi], dl
or eax, dword [ebp - 0x793effa9]
push edi
add byte [edi - 0x79], bl
push edi
add byte [edi + 0x78005787], cl
mov byte [edi], dl
jl 0x579b07
push edi
add byte [ecx], dh
mov dl, byte [edi]
popal
mov dl, byte [edi]
xchg ecx, eax
mov dl, byte [edi]
ror dword [edx - 0x750effa9], 0x57
add byte [ecx], ah
mov edx, dword [edi]
push ecx
mov edx, dword [edi]
or dword [ebx - 0x744effa9], 0x8be10057
push edi
add byte [ecx], dl
mov word [edi], ss
inc ecx
mov word [edi], ss
enter 0x578f, 0
and eax, 620779410
xchg edx, eax
push edi
add byte [edi - 0x6c], al
push edi
add ah, al
xchg esp, eax
push edi
add ah, dh
xchg esp, eax
push edi
add byte [edx*4 - 0x73abffa9], ah
push edi
add dl, dl
mov word [edi], ss
cmp eax, 0x6a00578d
lea edx, [edi]
out 0x8d, eax
push edi
add byte [ebp - 0x72], ah
push edi
add byte [edx - 0x1dffa872], dh
mov ss, word [edi]
adc cl, byte [edi - 0x70bdffa9]
push edi
add bl, bl
invalid