Function at 0x4037a0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4707d5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push 0x47c084
mov dword [esp + 0x20], esi
push eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], esi
call fcn.0043ab6f
add esp, 8
test eax, eax
je 0x404853
push 0xc6
lea edx, [esp + 0x10a]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x110], cx
call fcn.0043bdd0
push 0xa
lea ecx, [esp + 0x100]
push ecx
push 0x64
lea edx, [esp + 0x11c]
push edx
xor eax, eax
push esi
push esi
push esi
mov word [esp + 0x118], ax
mov dword [esp + 0x11a], eax
mov dword [esp + 0x11e], eax
mov dword [esp + 0x122], eax
mov dword [esp + 0x126], eax
mov word [esp + 0x12a], ax
mov eax, dword [esp + 0x78]
push esi
push eax
call fcn.0043abd0
add esp, 0x30
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402630
mov dword [esp + 0x1e0], esi
mov ecx, 0x1fa
mov eax, 0x15a
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xe8], ecx
push 0x47cc60
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
xor edi, edi
mov dword [esp + 0xf0], eax
call fcn.00402630
mov byte [esp + 0x1e0], 1
mov ebx, 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.initset
lea ecx, [esp + 0x48]
call fcn.00402630
mov dword [esp + 0x1e0], 2
mov ebx, 3
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.initset_ukey
lea ecx, [esp + 0x3c]
call fcn.00402630
mov dword [esp + 0x1e0], ebx
mov ebx, 7
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.initset_ukey_h
lea ecx, [esp + 0x4c]
call fcn.00402630
mov dword [esp + 0x1e0], 4
mov ebx, 0xf
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.initset_ukey1
lea ecx, [esp + 0x40]
call fcn.00402630
mov dword [esp + 0x1e0], 5
mov ebx, 0x1f
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.region
lea ecx, [esp + 0x38]
call fcn.00402630
mov dword [esp + 0x1e0], 6
mov ebx, 0x3f
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x403a17
push str.UserGuide_Adv
lea ecx, [esp + 0x44]
call fcn.00402630
push eax
lea ecx, [esp + 0x1c]
lea ebx, [esi + 0x7f]
call fcn.004025b0
mov byte [esp + 0x23], 0
test al, al
je 0x403a1c
mov byte [esp + 0x23], 1
test bl, 0x40
je 0x403a2d
lea ecx, [esp + 0x40]
and ebx, 0xffffffbf
call fcn.00402760
test bl, 0x20
je 0x403a3e
lea ecx, [esp + 0x34]
and ebx, 0xffffffdf
call fcn.00402760
test bl, 0x10
je 0x403a4f
lea ecx, [esp + 0x3c]
and ebx, 0xffffffef
call fcn.00402760
test bl, 8
je 0x403a60
lea ecx, [esp + 0x48]
and ebx, 0xfffffff7
call fcn.00402760
test bl, 4
je 0x403a71
lea ecx, [esp + 0x38]
and ebx, 0xfffffffb
call fcn.00402760
test bl, 2
je 0x403a82
lea ecx, [esp + 0x44]
and ebx, 0xfffffffd
call fcn.00402760
mov dword [esp + 0x1e0], 0
test bl, 1
je 0x403a9e
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffe
call fcn.00402760
cmp byte [esp + 0x23], 0
je 0x403ac4
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
jmp 0x40471d
push str.index
lea ecx, [esp + 0xbc]
call fcn.00402630
mov byte [esp + 0x1e0], 7
or ebx, 0x80
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_check
lea ecx, [esp + 0xb4]
call fcn.00402630
mov dword [esp + 0x1e0], 8
or ebx, 0x100
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_check_no
lea ecx, [esp + 0xac]
call fcn.00402630
mov dword [esp + 0x1e0], 9
or ebx, 0x200
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_check_one
lea ecx, [esp + 0xa4]
call fcn.00402630
mov dword [esp + 0x1e0], 0xa
or ebx, 0x400
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_check_oneU
lea ecx, [esp + 0x9c]
call fcn.00402630
mov dword [esp + 0x1e0], 0xb
or ebx, 0x800
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fangan
lea ecx, [esp + 0x94]
call fcn.00402630
mov dword [esp + 0x1e0], 0xc
or ebx, 0x1000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix
lea ecx, [esp + 0x8c]
call fcn.00402630
mov dword [esp + 0x1e0], 0xd
or ebx, 0x2000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_no
lea ecx, [esp + 0x84]
call fcn.00402630
mov dword [esp + 0x1e0], 0xe
or ebx, 0x4000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_no_res
lea ecx, [esp + 0x7c]
call fcn.00402630
mov edi, 0xf
mov dword [esp + 0x1e0], edi
or ebx, 0x8000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_one
lea ecx, [esp + 0x74]
call fcn.00402630
mov dword [esp + 0x1e0], 0x10
or ebx, 0x10000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_one_res
lea ecx, [esp + 0x6c]
call fcn.00402630
mov dword [esp + 0x1e0], 0x11
or ebx, 0x20000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_oneU
lea ecx, [esp + 0x64]
call fcn.00402630
mov dword [esp + 0x1e0], 0x12
or ebx, 0x40000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_oneU_res
lea ecx, [esp + 0x5c]
call fcn.00402630
mov dword [esp + 0x1e0], 0x13
or ebx, 0x80000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fix_res
lea ecx, [esp + 0xc8]
call fcn.00402630
mov dword [esp + 0x1e0], 0x14
or ebx, 0x100000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fixing
lea ecx, [esp + 0xa0]
call fcn.00402630
mov dword [esp + 0x1e0], 0x15
or ebx, 0x200000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fixing_no
lea ecx, [esp + 0xd8]
call fcn.00402630
mov dword [esp + 0x1e0], 0x16
or ebx, 0x400000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fixing_one
lea ecx, [esp + 0x98]
call fcn.00402630
mov dword [esp + 0x1e0], 0x17
or ebx, 0x800000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_fixing_oneU
lea ecx, [esp + 0xc0]
call fcn.00402630
mov dword [esp + 0x1e0], 0x18
or ebx, 0x1000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_ghxy
lea ecx, [esp + 0x90]
call fcn.00402630
mov dword [esp + 0x1e0], 0x19
or ebx, 0x2000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_ghxy_no
lea ecx, [esp + 0x58]
call fcn.00402630
mov dword [esp + 0x1e0], 0x1a
or ebx, 0x4000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_ghxy_one
lea ecx, [esp + 0x88]
call fcn.00402630
mov dword [esp + 0x1e0], 0x1b
or ebx, 0x8000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_ghxy_oneU
lea ecx, [esp + 0xb8]
call fcn.00402630
mov dword [esp + 0x1e0], 0x1c
or ebx, 0x10000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_link
lea ecx, [esp + 0x80]
call fcn.00402630
mov dword [esp + 0x1e0], 0x1d
or ebx, 0x20000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_link_no
lea ecx, [esp + 0xd0]
call fcn.00402630
mov dword [esp + 0x1e0], 0x1e
or ebx, 0x40000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_link_one
lea ecx, [esp + 0x78]
call fcn.00402630
mov esi, 0x1f
mov dword [esp + 0x1e0], esi
or ebx, 0x80000000
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.004025b0
test al, al
jne 0x404318
push str.index_link_oneU
lea ecx, [esp + 0xb0]
call fcn.00402630
mov dword [esp + 0x1e0], 0x20
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 1
call fcn.004025b0
test al, al
jne 0x404318
push str.index_no
lea ecx, [esp + 0x70]
call fcn.00402630
mov dword [esp + 0x1e0], 0x21
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 3
call fcn.004025b0
test al, al
jne 0x404318
push str.index_one
lea ecx, [esp + 0xe0]
call fcn.00402630
mov dword [esp + 0x1e0], 0x22
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 7
call fcn.004025b0
test al, al
jne 0x404318
push str.index_oneU
lea ecx, [esp + 0x68]
call fcn.00402630
mov dword [esp + 0x1e0], 0x23
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
call fcn.004025b0
test al, al
jne 0x404318
push str.software
lea ecx, [esp + 0xa8]
call fcn.00402630
mov dword [esp + 0x1e0], 0x24
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.004025b0
test al, al
jne 0x404318
push str.software_no
lea ecx, [esp + 0x60]
call fcn.00402630
mov dword [esp + 0x1e0], 0x25
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x3f
call fcn.004025b0
test al, al
jne 0x404318
push str.software_one
lea ecx, [esp + 0xd4]
call fcn.00402630
mov dword [esp + 0x1e0], 0x26
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x7f
call fcn.004025b0
test al, al
jne 0x404318
push str.software_oneU
lea ecx, [esp + 0xdc]
call fcn.00402630
mov dword [esp + 0x1e0], 0x27
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0xff
call fcn.004025b0
test al, al
jne 0x404318
push str.set_lang
lea ecx, [esp + 0x44]
call fcn.00402630
mov dword [esp + 0x1e0], 0x28
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x1ff
call fcn.004025b0
test al, al
jne 0x404318
push str.set_login
lea ecx, [esp + 0x38]
call fcn.00402630
mov dword [esp + 0x1e0], 0x29
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x3ff
call fcn.004025b0
test al, al
jne 0x404318
push str.set_startup
lea ecx, [esp + 0x40]
call fcn.00402630
mov dword [esp + 0x1e0], 0x2a
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x7ff
call fcn.004025b0
test al, al
jne 0x404318
push str.set_upgrade
lea ecx, [esp + 0x4c]
call fcn.00402630
mov dword [esp + 0x1e0], 0x2b
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0xfff
call fcn.004025b0
test al, al
jne 0x404318
push str.index_silent_check
lea ecx, [esp + 0x3c]
call fcn.00402630
mov dword [esp + 0x1e0], 0x2c
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x1fff
call fcn.004025b0
test al, al
jne 0x404318
push str.index_silent_updating
lea ecx, [esp + 0x48]
call fcn.00402630
mov dword [esp + 0x1e0], 0x2d
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x3fff
call fcn.004025b0
test al, al
jne 0x404318
push str.index_silent_res
lea ecx, [esp + 0x50]
call fcn.00402630
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x7fff
call fcn.004025b0
mov byte [esp + 0x23], 0
test al, al
je 0x40431d
mov byte [esp + 0x23], 1
test dword [esp + 0x14], 0x4000
je 0x404338
and dword [esp + 0x14], 0xffffbfff
lea ecx, [esp + 0x4c]
call fcn.00402760
test dword [esp + 0x14], 0x2000
je 0x404353
and dword [esp + 0x14], 0xffffdfff
lea ecx, [esp + 0x44]
call fcn.00402760
test dword [esp + 0x14], 0x1000
je 0x40436e
and dword [esp + 0x14], 0xffffefff
lea ecx, [esp + 0x38]
call fcn.00402760
test dword [esp + 0x14], 0x800
je 0x404389
and dword [esp + 0x14], 0xfffff7ff
lea ecx, [esp + 0x48]
call fcn.00402760
test dword [esp + 0x14], 0x400
je 0x4043a4
and dword [esp + 0x14], 0xfffffbff
lea ecx, [esp + 0x3c]
call fcn.00402760
test dword [esp + 0x14], 0x200
je 0x4043bf
and dword [esp + 0x14], 0xfffffdff
lea ecx, [esp + 0x34]
call fcn.00402760
test dword [esp + 0x14], 0x100
je 0x4043da
and dword [esp + 0x14], 0xfffffeff
lea ecx, [esp + 0x40]
call fcn.00402760
test byte [esp + 0x14], 0x80
je 0x4043f5
and dword [esp + 0x14], 0xffffff7f
lea ecx, [esp + 0xd8]
call fcn.00402760
test byte [esp + 0x14], 0x40
je 0x40440d
and dword [esp + 0x14], 0xffffffbf
lea ecx, [esp + 0xd0]
call fcn.00402760
test byte [esp + 0x14], 0x20
je 0x404422
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0x5c]
call fcn.00402760
test byte [esp + 0x14], 0x10
je 0x40443a
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0xa4]
call fcn.00402760
test byte [esp + 0x14], 8
je 0x40444f
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x64]
call fcn.00402760
test byte [esp + 0x14], 4
je 0x404467
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0xdc]
call fcn.00402760
test byte [esp + 0x14], 2
je 0x40447c
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x6c]
call fcn.00402760
test byte [esp + 0x14], 1
je 0x40448f
lea ecx, [esp + 0xac]
call fcn.00402760
test ebx, ebx
jns 0x4044a2
lea ecx, [esp + 0x74]
and ebx, 0x7fffffff
call fcn.00402760
test ebx, 0x40000000
je 0x4044bc
lea ecx, [esp + 0xcc]
and ebx, 0xbfffffff
call fcn.00402760
test ebx, 0x20000000
je 0x4044d3
lea ecx, [esp + 0x7c]
and ebx, 0xdfffffff
call fcn.00402760
test ebx, 0x10000000
je 0x4044ed
lea ecx, [esp + 0xb4]
and ebx, 0xefffffff
call fcn.00402760
test ebx, 0x8000000
je 0x404507
lea ecx, [esp + 0x84]
and ebx, 0xf7ffffff
call fcn.00402760
test ebx, 0x4000000
je 0x40451e
lea ecx, [esp + 0x54]
and ebx, 0xfbffffff
call fcn.00402760
test ebx, 0x2000000
je 0x404538
lea ecx, [esp + 0x8c]
and ebx, 0xfdffffff
call fcn.00402760
test ebx, 0x1000000
je 0x404552
lea ecx, [esp + 0xbc]
and ebx, 0xfeffffff
call fcn.00402760
test ebx, 0x800000
je 0x40456c
lea ecx, [esp + 0x94]
and ebx, 0xff7fffff
call fcn.00402760
test ebx, 0x400000
je 0x404586
lea ecx, [esp + 0xd4]
and ebx, 0xffbfffff
call fcn.00402760
test ebx, 0x200000
je 0x4045a0
lea ecx, [esp + 0x9c]
and ebx, 0xffdfffff
call fcn.00402760
test ebx, 0x100000
je 0x4045ba
lea ecx, [esp + 0xc4]
and ebx, 0xffefffff
call fcn.00402760
test ebx, 0x80000
je 0x4045d1
lea ecx, [esp + 0x58]
and ebx, 0xfff7ffff
call fcn.00402760
test ebx, 0x40000
je 0x4045e8
lea ecx, [esp + 0x60]
and ebx, 0xfffbffff
call fcn.00402760
test ebx, 0x20000
je 0x4045ff
lea ecx, [esp + 0x68]
and ebx, 0xfffdffff
call fcn.00402760
test ebx, 0x10000
je 0x404616
lea ecx, [esp + 0x70]
and ebx, 0xfffeffff
call fcn.00402760
test ebx, 0x8000
je 0x40462d
lea ecx, [esp + 0x78]
and ebx, 0xffff7fff
call fcn.00402760
test ebx, 0x4000
je 0x404647
lea ecx, [esp + 0x80]
and ebx, 0xffffbfff
call fcn.00402760
test ebx, 0x2000
je 0x404661
lea ecx, [esp + 0x88]
and ebx, 0xffffdfff
call fcn.00402760
test ebx, 0x1000
je 0x40467b
lea ecx, [esp + 0x90]
and ebx, 0xffffefff
call fcn.00402760
test ebx, 0x800
je 0x404695
lea ecx, [esp + 0x98]
and ebx, 0xfffff7ff
call fcn.00402760
test ebx, 0x400
je 0x4046af
lea ecx, [esp + 0xa0]
and ebx, 0xfffffbff
call fcn.00402760
test ebx, 0x200
je 0x4046c9
lea ecx, [esp + 0xa8]
and ebx, 0xfffffdff
call fcn.00402760
test ebx, 0x100
je 0x4046e3
lea ecx, [esp + 0xb0]
and ebx, 0xfffffeff
call fcn.00402760
mov dword [esp + 0x1e0], 0
test bl, bl
jns 0x4046fe
lea ecx, [esp + 0xb8]
call fcn.00402760
cmp byte [esp + 0x23], 0
je 0x404721
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, 0x291
mov dword [esp + 0x2c], eax
mov eax, 0x21d
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0xc0]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x5a0]
sub ebx, dword [esp + 0x24]
sub ecx, dword [edi + 0x598]
cmp ebx, ecx
jne 0x404758
mov edx, dword [edi + 0x5a4]
mov eax, dword [esp + 0x30]
sub edx, dword [edi + 0x59c]
sub eax, dword [esp + 0x28]
cmp eax, edx
je 0x404799
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x28]
push 0x82
push esi
push ebx
push 0
push 0
push 0
mov ecx, edi
call fcn.0041f891
push 0x42
push esi
push ebx
push 0
push 0
push 0
mov ecx, edi
call fcn.0041f891
call dword [0x472530]
push eax
call fcn.0042283f
push eax
mov ecx, edi
call fcn.00422109
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x598], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x59c], edx
mov dword [edi + 0x5a0], eax
lea eax, [esp + 0x104]
mov dword [edi + 0x5a4], ecx
lea edx, [eax + 2]
jmp 0x4047d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4047d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x108]
lea esi, [edi + 0x5b0]
push edx
mov ecx, esi
call fcn.00402380
push 4
push 0x47c084
mov ecx, esi
call fcn.00401e70
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc8]
push eax
push ecx
mov ecx, edi
call fcn.0041db65
mov esi, dword [esp + 0x18]
test esi, esi
je 0x404853
lea edx, [esi + 8]
push edx
call dword [0x472340]
test eax, eax
jne 0x404853
mov eax, dword [esi]
test eax, eax
je 0x40483a
push eax
call dword [0x472360]
mov eax, dword [esi + 4]
test eax, eax
je 0x40484a
push eax
call fcn.0041b0cc
add esp, 4
push esi
call fcn.0041b0cc
add esp, 4
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0043aa16
mov esp, ebp
pop ebp
ret 8