Function at 0x579c20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c02e8
mov eax, dword fs:[0]
push eax
sub esp, 0x418
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 esi, 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 [esi + 8]
add esp, 0x3c
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
dec eax
cmp eax, 0x1c
ja case.default.0x579cc8
jmp dword [eax*4 + 0x57b6b0]
mov eax, dword [esi + 0xc]
movzx ecx, ax
mov dword [ebp - 0x418], ecx
cmp eax, 0xffffffff
jne 0x579d39
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 0x579d10
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 0x579d63
mov edx, dword [esi + 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 - 0x418]
call fcn.00449b90
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE19]
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 [0x5dc0cc]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x41c]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x579dea
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
mov ecx, dword [ebp - 0x3c8]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x57b0dc
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579e3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
push ecx
push edx
call fcn.005aa4e8
add esp, 8
jmp 0x57b0dc
mov eax, dword [esi + 0xc]
movzx ecx, ax
mov dword [ebp - 0x418], ecx
cmp eax, 0xffffffff
jne 0x579ead
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 0x579e8c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
mov ecx, dword [esi + 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 - 0x418]
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 0x579f07
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
mov ecx, dword [ebp - 0x410]
lea eax, [esi + 0x10]
push 1
push 0
push eax
call fcn.0052f9e0
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE20]
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 [0x5dc0f0]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x41c]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x579fc9
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x410]
add eax, 0x18966d
push eax
push dword [esi + 0x48]
push dword [esi + 0x44]
push ecx
jmp 0x579df8
mov ecx, dword [ebp - 0x410]
lea eax, [esi + 0x10]
push 1
push 0
push eax
call fcn.0052f9e0
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE21]
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 [0x5dc114]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x41c]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x579fc9
mov eax, dword [ebp - 0x410]
mov ecx, dword [ecx]
add eax, 0x18966d
push eax
push dword [esi + 0x48]
push dword [esi + 0x44]
push ecx
jmp 0x579df8
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE13]
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 [0x5dbd34]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 6
call fcn.0040f9f0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a132
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 0x57a14b
mov eax, dword [eax]
push dword [ebp - 0x410]
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0x14
lea ecx, [ebp - 0x3f4]
call fcn.00411640
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 4], 0xffffffff
call fcn.00411640
jmp 0x57b0dc
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE13
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 8
call fcn.0040f9f0
mov byte [ebp - 4], 9
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE14
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xa
call fcn.0040f9f0
mov byte [ebp - 4], 0xb
jmp 0x57a10d
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE14]
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 [0x5dbd98]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xc
call fcn.0040f9f0
mov byte [ebp - 4], 0xd
jmp 0x57a10d
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x57a2e1
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE37
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE24
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0xe
call fcn.0040f9f0
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0xf
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a2b6
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 0x57a2cf
mov eax, dword [eax]
push eax
push dword [esi + 0x48]
push dword [esi + 0x44]
push dword [ebp - 0x410]
jmp 0x57a158
test eax, eax
js 0x57a357
cmp eax, 0x3c
jge 0x57a357
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE24
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 0x57a31c
mov edx, dword [edx]
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + ecx*4 + 0x1859c4]
lea eax, [ebp - 0x44]
add ecx, 4
push ecx
push dword [esi + 0x48]
push dword [esi + 0x44]
push edx
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE24
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 0x57a387
mov eax, dword [eax]
push 0x5c54ac
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
mov eax, dword [esi + 0xc]
test eax, eax
js 0x57a412
cmp eax, 0x3c
jge 0x57a412
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE25
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 0x57a31c
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x410]
mov edx, dword [edx]
mov ecx, dword [eax + ecx*4 + 0x1859c4]
add ecx, 4
push ecx
push dword [esi + 0x48]
push dword [esi + 0x44]
push edx
jmp 0x57a393
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE25
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 0x57a442
mov eax, dword [eax]
push 0x5c54ac
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE15
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x14
call fcn.0040f9f0
mov byte [ebp - 4], 0x15
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE15
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x16
call fcn.0040f9f0
mov byte [ebp - 4], 0x17
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE16
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x18
call fcn.0040f9f0
mov byte [ebp - 4], 0x19
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE16
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1a
call fcn.0040f9f0
mov byte [ebp - 4], 0x1b
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE17
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1c
call fcn.0040f9f0
mov byte [ebp - 4], 0x1d
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE17
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x1e
call fcn.0040f9f0
mov byte [ebp - 4], 0x1f
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE30
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE27
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x20
call fcn.0040f9f0
mov byte [ebp - 4], 0x21
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE30
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE29
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x22
call fcn.0040f9f0
mov byte [ebp - 4], 0x23
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE31
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE27
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x24
call fcn.0040f9f0
mov byte [ebp - 4], 0x25
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE31
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE29
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x26
call fcn.0040f9f0
mov byte [ebp - 4], 0x27
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE34
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE33
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x28
call fcn.0040f9f0
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x29
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a69e
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x3f4]
mov ecx, 0x5fd3c4
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
jmp 0x57a143
mov eax, dword [esi + 0xc]
cmp eax, 9
ja case.default.0x57a6cc
jmp dword [eax*4 + 0x57b724]
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 - 0x3f4]
mov byte [ebp - 4], 0x2b
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a723
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 0x57a73c
mov eax, dword [eax]
push eax
push dword [ebp - 0x410]
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
jmp 0x57a161
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 edi
add esp, 0xc
jmp 0x57a161
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
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a80c
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 edi
add esp, 0xc
jmp 0x57a161
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 0x57a889
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 0x57a8a2
mov eax, dword [eax]
push eax
push dword [ebp - 0x410]
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
jmp 0x57a161
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
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x33
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57a907
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 0x57a920
mov eax, dword [eax]
push dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
jmp 0x57a161
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
mov byte [ebp - 4], 0x35
jmp 0x57a77c
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 0x57a77c
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 0x57a77c
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
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x3b
push eax
mov ecx, 0x5fd3c4
call fcn.00411e80
cmp dword [eax + 0x14], 0xf
jbe 0x57a794
mov eax, dword [eax]
jmp 0x57a794
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 0x57a77c
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 0x57aa72
mov eax, dword [eax]
push 0x5c54ac
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.00411640
jmp 0x57b0dc
mov eax, dword [esi + 0xc]
cmp eax, 9
ja case.default.0x57aaa4
jmp dword [eax*4 + 0x57b74c]
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
mov byte [ebp - 4], 0x40
lea eax, [ebp - 0x3dc]
mov ecx, 0x5fd3c4
push eax
call fcn.00411e80
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x14], 0xf
jbe 0x57aafb
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 0x57ab14
mov eax, dword [eax]
push dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0xc
jmp 0x57a161
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
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 0x57aad6
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE36
lea ecx, [ebp - 0x3f4]
call fcn.0040f9f0
mov dword [ebp - 4], 0x53
jmp 0x57aa59
mov eax, dword [esi + 0x50]
test eax, eax
je 0x57ad19
mov eax, dword [eax + 0x30]
test eax, eax
je 0x57ad19
push dword [eax + 8]
lea eax, [ebp - 0xc4]
push 0x5c7a40
push eax
call edi
add esp, 0xc
jmp 0x57adef
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.DEF_DETAULTQUESTNAME]
mov dword [ebp - 0x3dc], eax
add esp, 4
mov dword [ebp - 0x3cc], 0x14
mov dword [ebp - 0x3c8], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x5c7a38]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 0x54
push eax
lea eax, [ebp - 0x41c]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57ad9e
mov eax, dword [eax]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0xc4]
push eax
call edi
mov ecx, dword [ebp - 0x3c8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x57adef
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57ade5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
push ecx
push edx
call fcn.005aa4e8
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x3cc], 0
push 0x30
movups xmmword [ebp - 0x3dc], xmm0
mov dword [ebp - 0x3c8], 0
call fcn.005aa520
movups xmm0, xmmword [str.DRAW_DIALOGBOX_QUEST_OBJECTIVE40]
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 [0x5dc234]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov dword [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x41c]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57ae76
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3dc]
call fcn.00411640
jmp 0x57b0dc
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_OBJECTIVE42]
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3e4], 0x20
mov dword [ebp - 0x3e0], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dc01c]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0x56
push 0x30
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_OBJECTIVE22]
mov dword [ebp - 0x3dc], eax
add esp, 8
mov dword [ebp - 0x3cc], 0x20
mov dword [ebp - 0x3c8], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5dc138]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 0x57
push eax
lea eax, [ebp - 0x414]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov ecx, 0x5fd3c4
mov eax, dword [eax]
add eax, 0x20
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0040e380
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x57afaa
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x418]
cmp dword [eax + 0x14], 0xf
jbe 0x57afb8
mov eax, dword [eax]
push ecx
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
mov ecx, dword [ebp - 0x3c8]
add esp, 0x14
mov byte [ebp - 4], 0x56
cmp ecx, 0xf
jbe 0x57b007
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57affd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
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 0x57b0dc
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE42
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x58
call fcn.0040f9f0
mov byte [ebp - 4], 0x59
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE43
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE22
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x5a
call fcn.0040f9f0
mov byte [ebp - 4], 0x5b
jmp 0x57a10d
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE43
lea ecx, [ebp - 0x3dc]
call fcn.0040f9f0
push str.DRAW_DIALOGBOX_QUEST_OBJECTIVE23
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 4], 0x5c
call fcn.0040f9f0
mov byte [ebp - 4], 0x5d
jmp 0x57a10d
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, [esi + 0x25]
add esp, 0x30
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x418], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x57b137
sub edx, dword [ebp - 0x418]
je 0x57b158
lea eax, [ebp - 0xc4]
push eax
push ecx
call fcn.005666c0
jmp 0x57b251
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], 0x5e
push eax
lea eax, [ebp - 0x424]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57b1fe
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 0x57b254
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57b24a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
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], 0x5f
push eax
lea eax, [ebp - 0x424]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57b2fa
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call edi
mov ecx, dword [ebp - 0x3c8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x57b34c
mov edx, dword [ebp - 0x3dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57b342
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
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, [esi + 0x25]
add esp, 0x30
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57b3b0
sub ecx, edx
je 0x57b565
cmp dword [esi + 0x30], 0xffffffff
je 0x57b565
cmp dword [esi + 0x34], 0xffffffff
je 0x57b565
cmp dword [esi + 0x38], 0xffffffff
je 0x57b565
cmp dword [esi + 0x3c], 0xffffffff
je 0x57b565
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], 0x60
push eax
lea eax, [ebp - 0x424]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x57b49a
mov eax, dword [eax]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [esi + 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
call edi
mov ecx, dword [ebp - 0x3f8]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x57b4f1
mov edx, dword [ebp - 0x40c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57b4e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57b6aa
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
cmp byte [esi + 0x4c], 0
je 0x57b574
mov byte [ebp - 0x410], 4
jmp 0x57b583
cmp dword [esi + 0x44], 0
setle al
add al, 5
mov byte [ebp - 0x410], al
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x57b658
cmp eax, 1
je 0x57b5f2
cmp eax, 2
jne 0x57b658
lea ecx, [ebp - 0x1c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57b5a6
sub ecx, edx
cmp ecx, 0x28
jbe 0x57b68b
push 0x1c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x64
test eax, eax
je 0x57b68b
push 0
lea ecx, [ebp - 0x2c4]
push ecx
push dword [ebp - 0x410]
mov ecx, eax
call fcn.00586d00
jmp 0x57b68d
lea ecx, [ebp - 0x1c4]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57b600
sub ecx, edx
push 0x1c
cmp ecx, 0x28
jbe 0x57b641
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x62
test eax, eax
je 0x57b68b
push 0
lea ecx, [ebp - 0x3c4]
push ecx
push dword [ebp - 0x410]
mov ecx, eax
call fcn.00586d00
jmp 0x57b68d
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x63
jmp 0x57b66f
push 0x1c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x61
test eax, eax
je 0x57b68b
push 0
lea ecx, [ebp - 0x1c4]
push ecx
push dword [ebp - 0x410]
mov ecx, eax
call fcn.00586d00
jmp 0x57b68d
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
nop
iretd