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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
call fcn.00573730
fldz
fstp qword [esp]
push 0
push str.sectd
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
cmp dword [edi], 2
jge 0x5741a5
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi + 0x39c0]
imul ebx, ebx, 0x98
add eax, ebx
cmp dword [eax + 0x44], 0
mov dword [esp + 0x1c], ebx
je 0x5741a5
mov eax, dword [eax + 0x68]
test eax, eax
jbe 0x573ea0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jge 0x573e81
fadd qword [0x5e9c10]
sub esp, 8
fstp qword [esp]
push 1
push str.pgbrdropt
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x573eb8
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x573ecc
fldz
sub esp, 8
fstp qword [esp]
push eax
push str.pgbrdrt
jmp 0x573f0c
cmp eax, 1
jne 0x573ee2
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pgbrdrb
jmp 0x573f0c
cmp eax, 2
jne 0x573ef8
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pgbrdrl
jmp 0x573f0c
cmp eax, 3
jne 0x573f1e
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pgbrdrr
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
cmp dword [ebx + ecx + 0x70], 8
jne 0x573f4c
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrnone
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
cmp dword [ebx + edx + 0x70], 0
jne 0x573f7a
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrs
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
cmp dword [ebx + eax + 0x70], 1
jne 0x573fa8
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrdb
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
cmp dword [ebx + ecx + 0x70], 2
jne 0x573fd6
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrtriple
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
cmp dword [ebx + edx + 0x70], 3
jne 0x574004
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrsh
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
cmp dword [ebx + eax + 0x70], 4
jne 0x574032
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrthtnmg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
cmp dword [ebx + ecx + 0x70], 5
jne 0x574060
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrthtnthmg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
cmp dword [ebx + edx + 0x70], 6
jne 0x57408e
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrtnthmg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
cmp dword [ebx + eax + 0x70], 7
jne 0x5740bc
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.brdrtnthtnmg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
imul ebx, ebx, 0x26
mov eax, dword [esi + 0x39c0]
lea edx, [ebx + ecx]
sub esp, 8
fild dword [eax + edx*4 + 0x48]
fstp qword [esp]
push 1
push str.brdrw
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x39c0]
add ebx, ecx
fild dword [edx + ebx*4 + 0x58]
sub esp, 8
fstp qword [esp]
push 1
push str.brsp
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + eax + 0x6c]
cmp edx, 0x10101
je 0x574191
mov ebx, dword [edi + 0x410]
xor eax, eax
test ebx, ebx
mov dword [esp + 0x24], eax
jle 0x574162
mov ecx, dword [edi + 0x40c]
lea ecx, [ecx]
cmp dword [ecx], edx
je 0x57415e
add eax, 1
add ecx, 4
cmp eax, ebx
jl 0x574150
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x57416e
mov dword [esp + 0x24], 0
fild dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push 1
push str.brdrcf
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, 4
mov dword [esp + 0x20], eax
jl 0x573eb0
mov ebx, dword [ebp + 0x10]
fld dword [0x5e8d50]
mov edx, dword [esi + 0x39c0]
imul ebx, ebx, 0x98
fstp dword [esp + 0x20]
fld dword [0x5e8d4c]
fstp dword [esp + 0x24]
cmp dword [ebx + edx + 0x24], 2
mov ecx, dword [ebx + edx + 0x74]
lea eax, [ebx + edx]
mov dword [esp + 0x1c], ecx
jne 0x5741ff
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.lndscpsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esp + 0x1c]
cmp ecx, 5
jne 0x574210
fld dword [0x5e8d30]
fstp dword [esp + 0x24]
jmp 0x57425e
cmp ecx, 9
jne 0x57422b
fld dword [0x5ecb88]
fstp dword [esp + 0x20]
fld dword [0x5ecb84]
fstp dword [esp + 0x24]
jmp 0x57425e
cmp ecx, 0x14
jne 0x574242
fld dword [0x5e8bfc]
fstp dword [esp + 0x24]
fld dword [0x5ecb80]
jmp 0x57425a
cmp ecx, 1
je 0x57425e
mov eax, dword [esi + 0x39c0]
fld dword [eax + ebx + 0x7c]
add eax, ebx
fstp dword [esp + 0x24]
fld dword [eax + 0x78]
fstp dword [esp + 0x20]
mov ecx, dword [esi + 0x39c0]
cmp dword [ebx + ecx + 0x24], 2
jne 0x574283
fld dword [esp + 0x20]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.pgwsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
fld dword [esp + 0x24]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.pghsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
movsx eax, word [ebx + edx + 0x40]
test eax, eax
mov dword [esp + 0x20], eax
je 0x57432a
cmp eax, 7
je 0x57432a
fild dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
push 1
push str.binfsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
movsx eax, word [ebx + eax + 0x42]
test eax, eax
mov dword [esp + 0x20], eax
je 0x574365
cmp eax, 7
je 0x574365
fild dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
push 1
push str.binsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x39c4]
imul ecx, ecx, 0x70
cmp dword [edx + ecx + 0x30], 0
lea eax, [edx + ecx]
jge 0x57438e
cmp dword [eax + 0x44], 0
jge 0x57438e
mov eax, dword [esi + 0x39c0]
test byte [ebx + eax + 0x28], 4
je 0x5743af
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.titlepg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
fld dword [ebx + ecx + 4]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.marglsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
fld dword [ebx + edx + 8]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.margrsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
mov ecx, dword [eax + ebx + 0x28]
add eax, ebx
and cl, 8
neg cl
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul dword [eax + 0xc]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.margtsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
mov ecx, dword [ebx + edx + 0x28]
lea eax, [ebx + edx]
and cl, 0x10
neg cl
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul dword [eax + 0x10]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.margbsxn
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
fld dword [ebx + edx + 0x38]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.headery
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
fld dword [ebx + eax + 0x3c]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.footery
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
test byte [ebx + ecx + 0x28], 1
jne 0x574576
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sbknone
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
test byte [ebx + edx + 0x28], 1
je 0x5745a0
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sbkpage
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
add eax, ebx
sub esp, 8
test byte [eax + 0x28], 2
je 0x574606
movsx ecx, word [eax + 0x34]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fstp qword [esp]
push 1
push str.pgnstarts
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pgnrestart
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x574632
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005aac48
mov esp, ebp
pop ebp
ret
fldz
fstp qword [esp]
push 0
push str.pgncont
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
jne 0x574632
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005aac48
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x39c0]
test byte [ebx + edx + 0x28], 0x80
je 0x57465c
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.vertalc
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
test dword [ebx + eax + 0x28], 0x100
je 0x57468d
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.vertal
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
mov eax, dword [ebx + ecx + 0x14]
cmp eax, 1
mov dword [esp + 0x1c], eax
jle 0x5746ff
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.cols
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
fld dword [ebx + edx + 0x18]
fmul qword [0x5e8de0]
call fcn.005ac350
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.colsx
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
mov eax, dword [ebx + eax + 0x30]
cmp eax, 3
jne 0x57471a
push str.pgnucrm
lea ecx, [esp + 0x2c]
push ecx
jmp 0x574752
cmp eax, 4
jne 0x574726
push str.pgnlcrm
jmp 0x57474d
cmp eax, 1
jne 0x574737
push str.pgnucltr
lea eax, [esp + 0x2c]
push eax
jmp 0x574752
cmp eax, 2
jne 0x574748
push str.pgnlcltr
lea ecx, [esp + 0x2c]
push ecx
jmp 0x574752
push str.pgndec
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
fldz
sub esp, 8
fstp qword [esp]
push 0
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
cmp dword [ebx + ecx + 0x80], 2
jne 0x5747aa
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.rtlsect
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [esi + 0x39c0]
cmp dword [ebx + edx + 0x80], 1
jne 0x5747db
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.ltrsect
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov eax, dword [esi + 0x39c0]
add eax, ebx
test dword [eax + 0x28], 0x200
je 0x574826
mov eax, dword [eax + 0x8c]
cmp eax, 1
mov dword [esp + 0x1c], eax
jge 0x574803
mov dword [esp + 0x1c], 1
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.linemod
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov ecx, dword [esi + 0x39c0]
lea eax, [ebx + ecx]
mov ecx, dword [eax + 0x88]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x57488a
test dword [eax + 0x28], 0x400
je 0x57488a
fild dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 1
push str.sectlinegrid
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sectspecifyl
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5745f2
mov edx, dword [ebp + 0x10]
push edi
push esi
mov dword [edi + 0x804], edx
call fcn.00573730
mov ecx, dword [esp + 0x44]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005aac48
mov esp, ebp
pop ebp
ret