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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x73680f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov ebx, ecx
call fcn.004230d0
test eax, eax
jne 0x42134b
mov eax, dword [esi]
lea edi, [ebx + 0xe0]
push edi
push str.textpushed
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [esi]
lea edi, [ebx + 0xe4]
push edi
push str.backpushed
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [esi]
lea edi, [ebx + 0xe8]
push edi
push str.texthigh
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [esi]
lea edi, [ebx + 0xec]
push edi
push str.backhigh
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [esi]
lea edi, [ebx + 0xf0]
push edi
push str.textdisabled
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
mov dword [edi], edx
mov eax, dword [esi]
lea edi, [ebx + 0xf4]
push edi
push str.backdisabled
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xfc]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov dword [edi], edx
mov eax, dword [esi]
push str.textoffset
lea edx, [esp + 0x88]
or edi, 0xffffffff
push edx
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [eax + 0xec]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi]
push 0
push str.sound
mov ecx, esi
mov dword [esp + 0x3c], edx
call dword [eax + 0x70]
mov dword [ebx + 0x110], eax
mov edx, dword [esi]
push 0
push str.txtparam
mov ecx, esi
call dword [edx + 0x70]
push 0
mov dword [ebx + 0x118], eax
mov eax, dword [esi]
push str.param
mov ecx, esi
call dword [eax + 0x88]
mov dword [ebx + 0x11c], eax
mov edx, dword [esi]
lea eax, [ebx + 0xf8]
push eax
push str.lnormalcolor
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [eax]
mov eax, dword [esi]
lea ecx, [ebx + 0xfc]
push ecx
mov dword [esp + 0x94], edx
push str.lhighcolor
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [eax + 0xfc]
mov eax, dword [eax]
mov edx, dword [esi]
mov dword [esp + 0x94], eax
lea eax, [ebx + 0x100]
push eax
push str.lpushedcolor
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [eax]
mov eax, dword [esi]
lea ecx, [ebx + 0x104]
push ecx
mov dword [esp + 0x9c], edx
push str.ldisabledcolor
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [eax + 0xfc]
mov eax, dword [eax]
mov edx, dword [esi]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x10c]
push eax
push str.AddLineSpace
mov ecx, esi
call dword [edx + 0x5c]
mov dword [ebx + 0x10c], eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
push str.shadowcolor
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x23], 0
call dword [edx + 0xfc]
mov edx, dword [eax]
mov eax, 2
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi]
push str.shadowoffset
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call dword [eax + 0xec]
lea ecx, [esp + 0x44]
call fcn.00412d40
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
push str.mask
mov ecx, esi
mov dword [esp + 0xcc], 0
call dword [eax + 0x6c]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420d9c
cmp word [eax], 0
je 0x420d9c
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x10]
mov dword [ebx + 0x108], eax
mov eax, dword [esi]
push 0
push str.curridx
mov ecx, esi
call dword [eax + 0x60]
push 1
mov word [ebx + 0xd4], ax
mov edx, dword [esi]
push str.rows
mov ecx, esi
call dword [edx + 0x5c]
push 0
mov dword [esp + 0x44], eax
mov eax, dword [esi]
push str.vertical
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [eax + 0x5c]
neg eax
sbb eax, eax
neg eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
call fcn.00412d40
mov edx, dword [esi]
lea eax, [esp + 0x64]
push eax
push str.text
mov ecx, esi
mov byte [esp + 0xcc], 1
call dword [edx + 0x6c]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x420e25
cmp word [eax], 0
je 0x420e25
mov ecx, dword [0x894420]
push 0
push 0
push eax
call fcn.00414e70
jmp 0x420e2a
mov eax, 0x77f5d4
push edi
push eax
lea ecx, [esp + 0x80]
call fcn.00413870
mov edx, dword [esi]
lea eax, [esp + 0x44]
push eax
push str.image
mov ecx, esi
mov byte [esp + 0xcc], 2
call dword [edx + 0x6c]
mov eax, dword [esp + 0x44]
test eax, eax
mov dword [esp + 0x4c], 0
je 0x420ed7
cmp word [eax], 0
je 0x420ed7
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x10]
mov edi, eax
test edi, edi
je 0x420ed7
mov eax, dword [esi]
push 0
push str.imagesize
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0xec]
push 0x18
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xc4], 3
je 0x420ebb
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push edi
mov ecx, eax
call fcn.0043d480
jmp 0x420ebd
xor eax, eax
mov edx, dword [esp + 0x20]
mov byte [esp + 0xc4], 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], edx
mov dword [ebx + 0xd8], eax
lea ecx, [esp + 0x50]
call fcn.00412d40
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push str.stateorder
mov ecx, esi
mov byte [esp + 0xcc], 4
call dword [eax + 0x6c]
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
call fcn.00413ef0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x84]
push 0x782ce0
push ecx
mov byte [esp + 0xd0], 5
call fcn.00413c20
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 6
call fcn.004133c0
lea ecx, [esp + 0x80]
mov byte [esp + 0xc4], 5
call fcn.00412de0
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
jmp 0x420f73
mov edi, dword [esp + 0x18]
push 0x782cdc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00413ad0
add esp, 4
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
mov byte [esp + 0xd0], 7
call fcn.00413ef0
lea ecx, [esp + 0x60]
call fcn.00413460
mov ecx, dword [esp + 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [ebx]
push edi
mov ecx, ebx
mov dword [esp + 0x30], eax
call dword [edx + 0x130]
mov edi, eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x420fe3
cmp word [eax], 0
je 0x420fe3
push eax
call fcn.0040fbd0
add esp, 4
mov dword [edi + 4], eax
jmp 0x421070
lea ecx, [esp + 0x38]
call fcn.00412d40
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.text
mov ecx, esi
mov byte [esp + 0xcc], 8
call dword [eax + 0x6c]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x421025
cmp word [eax], 0
je 0x421025
mov ecx, dword [0x894420]
push 0
push 0
push eax
call fcn.00414e70
jmp 0x42102a
mov eax, 0x77f5d4
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x78]
call fcn.00413870
mov edx, dword [esp + 0x70]
push edx
mov byte [esp + 0xc8], 9
call fcn.0040fbd0
add esp, 4
lea ecx, [esp + 0x70]
mov dword [edi + 4], eax
mov byte [esp + 0xc4], 8
call fcn.00412de0
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], 7
call fcn.00412de0
cmp dword [esp + 0x2c], 0
je 0x42112a
mov edx, dword [esi]
lea eax, [edi + 8]
push eax
push str.textcolor
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call dword [edx + 0xfc]
mov ecx, dword [eax]
lea eax, [edi + 0xc]
push eax
mov dword [edi + 8], ecx
mov edx, dword [esi]
push str.backcolor
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [edx + 0xfc]
mov ecx, dword [eax]
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0xc], ecx
mov edx, dword [esi]
push str.textoffset
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call dword [edx + 0xec]
mov ecx, dword [eax]
mov dword [edi + 0x18], ecx
mov edx, dword [eax + 4]
lea eax, [edi + 0x24]
push eax
push 0x782ca0
lea eax, [esp + 0xb0]
mov dword [edi + 0x1c], edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xec]
mov ecx, dword [eax]
mov dword [edi + 0x24], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
mov dword [edi + 0x28], edx
mov eax, dword [esi]
push str.shadowcolor
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call dword [eax + 0xfc]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
jmp 0x421204
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42113d
mov ecx, dword [ebx + 0x44]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0x48]
jmp 0x42117d
cmp eax, 1
jne 0x421153
mov ecx, dword [ebx + 0xe0]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xe4]
jmp 0x42117d
cmp eax, 2
jne 0x421169
mov ecx, dword [ebx + 0xe8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xec]
jmp 0x42117d
cmp eax, 3
jne 0x421180
mov ecx, dword [ebx + 0xf0]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xf4]
mov dword [edi + 0xc], edx
mov ecx, dword [esp + eax*4 + 0x90]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4211d9
cmp word [edx], 0
je 0x4211d9
test eax, eax
mov ecx, 0x782c9c
jne 0x4211a3
jmp 0x4211c5
cmp eax, 1
jne 0x4211af
mov ecx, 0x782c98
jmp 0x4211c5
cmp eax, 2
jne 0x4211bb
mov ecx, 0x782c94
jmp 0x4211c5
cmp eax, 3
jne 0x4211c5
mov ecx, str.DSRN
push ecx
push edx
call fcn.0040fca0
add esp, 8
test eax, eax
je 0x4211dc
sub eax, dword [esp + 0x50]
sar eax, 1
mov dword [edi + 0x24], eax
cmp dword [esp + 0x6c], 0
mov edx, dword [esp + 0x28]
mov dword [edi + 0x28], edx
mov eax, dword [esp + 0x30]
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x1c], ecx
je 0x421204
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x24], edx
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x2c], ebx
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], ecx
mov edx, dword [ebx + 0xc0]
lea ecx, [ebx + 0xc0]
push eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax + ecx*4], edi
mov edx, dword [ebx]
push 0x100000
mov ecx, ebx
call dword [edx + 0xb0]
test eax, eax
je 0x421253
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x24]
mov ecx, edi
add eax, 1
push eax
call fcn.0041ee10
cmp dword [esp + 0x2c], 0
je 0x421261
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 5
call fcn.00412de0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 4
mov dword [esp + 0x18], eax
jb 0x420f6f
mov edi, 1
add dword [esp + 0x28], edi
cmp dword [esp + 0x10], 0
je 0x42129d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x40], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 4
je 0x4212c1
call fcn.00412de0
add dword [esp + 0x24], edi
jmp 0x420f01
call fcn.00412de0
cmp byte [esp + 0x17], 0
je 0x4212dc
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x158]
mov ecx, dword [esp + 0x88]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x68], esp
call dword [eax + 0x15c]
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 2
call fcn.00412de0
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 1
call fcn.00412de0
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], 0
call fcn.00412de0
lea ecx, [esp + 0x44]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00412de0
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4