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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4bca50]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov esi, edx
push eax
mov ebx, ecx
xor edi, edi
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
call fcn.004033e0
pop ecx
pop ecx
cmp dword [esp + 0x14], edi
jne 0x40464b
mov dword [ebx], 2
jmp 0x4051fc
mov dword [esp + 0x14], edi
push esi
mov edi, str.PageBindGameList
lea esi, [esp + 0x18]
mov ecx, edi
call fcn.0040c226
cmp dword [esp + 0x18], 0
pop ecx
je 0x404640
lea esi, [ebx + 0x120]
push esi
push str.PrimBindSoftNum
push edi
push dword [esp + 0x18]
mov dword [esp + 0x38], esi
call fcn.0040c209
xor eax, eax
inc eax
add esp, 0x10
mov dword [esp + 0x10], eax
cmp dword [esi], eax
jb 0x4051f2
lea eax, [ebx + 4]
mov dword [esp + 0xd4], eax
lea eax, [ebx + 0x78]
mov dword [esp + 0xc8], eax
lea eax, [ebx + 0x94]
mov dword [esp + 0xe0], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0xb4]
mov dword [esp + 0xc0], eax
lea eax, [ebx + 0xb8]
mov dword [esp + 0xcc], eax
lea eax, [ebx + 0xbc]
mov dword [esp + 0xdc], eax
lea eax, [ebx + 0xc0]
mov dword [esp + 0xe4], eax
lea eax, [ebx + 0xc4]
mov dword [esp + 0xd8], eax
lea eax, [ebx + 0xc8]
mov dword [esp + 0xd0], eax
lea eax, [ebx + 0xb0]
mov dword [esp + 0xc4], eax
lea eax, [ebx + 0xcc]
mov dword [esp + 0x34], eax
lea eax, [ebx + 0xe8]
add ebx, 0x104
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
push 1
push 3
lea ecx, [esp + 0x40]
call fcn.0040776b
push 0
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], 7
call fcn.00401cdf
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PrimSoftTitle
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x4047c4
lea ebx, [esp + 0xec]
push dword [esp + 0xd4]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
xor esi, esi
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PrimSoftID
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404842
lea ebx, [esp + 0xec]
push dword [esp + 0xc8]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PrimSoftName
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x4048be
lea ebx, [esp + 0xec]
push dword [esp + 0xe0]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PicDlUrl
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x40493a
lea ebx, [esp + 0xec]
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.IsCheck
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x4049b3
lea eax, [esp + 0xec]
push dword [esp + 0xc0]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
mov ebx, dword [esp + 0x10]
push ebx
push ecx
lea eax, [esp + 0x48]
push str.left
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404a31
lea eax, [esp + 0xec]
push dword [esp + 0xcc]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push 0x4acd7c
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404aab
lea eax, [esp + 0xec]
push dword [esp + 0xdc]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push str.width
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404b25
lea eax, [esp + 0xec]
push dword [esp + 0xe4]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push str.height
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404b9f
lea eax, [esp + 0xec]
push dword [esp + 0xd8]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push str.hascheck
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404c19
lea eax, [esp + 0xec]
push dword [esp + 0xd0]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push str.PrimBindType
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404c93
lea eax, [esp + 0xec]
push dword [esp + 0xc4]
push eax
push edi
push dword [esp + 0x18]
call fcn.0040c209
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x48]
mov eax, dword [ecx + 0x28]
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x48]
push str.PrimRegRoot
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404d0d
lea ebx, [esp + 0xec]
push dword [esp + 0x34]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PrimRegPath
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404d86
lea ebx, [esp + 0xec]
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PrimRegName
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404dff
lea ebx, [esp + 0xec]
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x404e1f
mov ecx, dword [eax + 4]
jmp 0x404e24
mov ecx, eax
add ecx, 4
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x18], 8
jb 0x404e33
mov ebx, dword [eax + 4]
jmp 0x404e36
lea ebx, [eax + 4]
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 8
jb 0x404e45
mov eax, dword [eax + 4]
jmp 0x404e48
add eax, 4
push ecx
mov ecx, eax
call fcn.00407559
pop ecx
test eax, eax
jne 0x4051c6
push 7
pop ebx
push esi
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], ebx
call fcn.00401cdf
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
mov dword [esp + 0x28], esi
call fcn.0040af5f
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push ecx
push str.PageBindGameReleate
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x124], 8
mov eax, dword [esp + 0x110]
pop ecx
pop ecx
jae 0x404edc
lea eax, [esp + 0x108]
lea ecx, [esp + 0x20]
push ecx
push str.ReleateSoftNum
push eax
push dword [esp + 0x18]
call fcn.0040c209
xor eax, eax
inc eax
add esp, 0x10
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], eax
jb 0x405214
push esi
lea ecx, [esp + 0x124]
mov dword [esp + 0x13c], ebx
call fcn.00401cdf
push esi
lea ecx, [esp + 0x140]
mov dword [esp + 0x158], ebx
call fcn.00401cdf
push esi
lea ecx, [esp + 0x15c]
mov dword [esp + 0x174], ebx
call fcn.00401cdf
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push ecx
push str.ReleateRegRoot
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x404fa8
lea ebx, [esp + 0xec]
cmp dword [esp + 0x11c], 8
mov ecx, dword [esp + 0x108]
jae 0x404fc0
lea ecx, [esp + 0x108]
lea eax, [esp + 0x120]
push eax
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push ecx
push str.ReleatePath
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x40503b
lea ebx, [esp + 0xec]
cmp dword [esp + 0x11c], 8
mov ecx, dword [esp + 0x108]
jae 0x405053
lea ecx, [esp + 0x108]
lea eax, [esp + 0x13c]
push eax
push dword [esp + 0x10]
call fcn.0040bfd1
mov eax, dword [esp + 0x40]
pop ecx
pop ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov eax, dword [ecx + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push esi
push eax
call fcn.0040af5f
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push ecx
push str.ReleateName
push eax
call fcn.00409818
add esp, 0xc
push eax
call fcn.0040764a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040996a
cmp dword [esp + 0x108], 8
mov ebx, dword [esp + 0xf4]
pop ecx
pop ecx
jae 0x4050ce
lea ebx, [esp + 0xec]
cmp dword [esp + 0x11c], 8
mov ecx, dword [esp + 0x108]
jae 0x4050e6
lea ecx, [esp + 0x108]
lea eax, [esp + 0x158]
push eax
push dword [esp + 0x10]
call fcn.0040bfd1
cmp dword [esp + 0x178], 8
mov eax, dword [esp + 0x164]
pop ecx
pop ecx
jae 0x405111
lea eax, [esp + 0x15c]
cmp dword [esp + 0x154], 8
mov ebx, dword [esp + 0x140]
jae 0x405129
lea ebx, [esp + 0x140]
cmp dword [esp + 0x138], 8
mov ecx, dword [esp + 0x124]
jae 0x405141
lea ecx, [esp + 0x124]
push eax
call fcn.00407559
pop ecx
push esi
lea ecx, [esp + 0x15c]
test eax, eax
jne 0x405193
push 1
call fcn.00401a58
push esi
push 1
lea ecx, [esp + 0x144]
call fcn.00401a58
push esi
push 1
lea ecx, [esp + 0x128]
call fcn.00401a58
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
ja 0x405214
push 7
pop ebx
jmp 0x404f04
xor ebx, ebx
inc ebx
push ebx
call fcn.00401a58
push esi
push ebx
lea ecx, [esp + 0x144]
call fcn.00401a58
push esi
push ebx
lea ecx, [esp + 0x128]
call fcn.00401a58
push esi
push ebx
lea ecx, [esp + 0x10c]
call fcn.00401a58
push esi
push 1
lea ecx, [esp + 0xf0]
call fcn.00401a58
lea ecx, [esp + 0x38]
call fcn.004052d3
inc dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax]
jbe 0x404735
mov eax, dword [esp + 0x24]
mov dword [eax], 2
xor eax, eax
inc eax
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047099a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x2e
call fcn.00407d74
cmp eax, esi
jle 0x4052c7
lea ecx, [esp + 0x2f]
push ecx
push 0xffffffffffffffff
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.00407d4a
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x140]
push str.PromotionPageBkgImg
push eax
call fcn.00409a99
mov ebx, dword [esp + 0x30]
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x24]
call fcn.004019a1
push esi
push edi
lea ecx, [esp + 0x144]
call fcn.00401a58
push esi
push edi
lea ecx, [esp + 0x128]
mov dword [ebx], edi
call fcn.00401a58
push esi
push edi
lea ecx, [esp + 0x10c]
call fcn.00401a58
push esi
push edi
lea ecx, [esp + 0xf0]
call fcn.00401a58
lea ecx, [esp + 0x38]
call fcn.004052d3
xor eax, eax
jmp 0x4051ff
mov eax, dword [esp + 0x24]
mov dword [eax], 2
jmp 0x40529b