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

Disassembly:
push 0xffffffffffffffff
push 0x49a971
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, str.gxoneclimanual_tools.json
mov dword [esp + 0xb8], eax
call fcn.004621f2
add esp, 4
xor ebx, ebx
mov dword [esp + 0x11c], ebx
mov ecx, dword [esp + 0xf4]
mov edi, 8
cmp dword [esp + 0x108], edi
jae 0x40e6d3
lea ecx, [esp + 0xf4]
lea edx, [esp + 0xb8]
push edx
call fcn.0045cc20
push eax
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x124], 1
call fcn.0047559e
add esp, 8
mov esi, 0x10
mov byte [esp + 0x11c], 3
cmp dword [esp + 0xd0], esi
jb 0x40e71f
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.0047d710
add esp, 4
mov ebp, 0xf
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xe8], ebx
jne 0x40e767
cmp dword [esp + 0xec], esi
jb 0x40e75b
mov edx, dword [esp + 0xd8]
push edx
call fcn.0047d710
add esp, 4
cmp dword [esp + 0x108], edi
jmp 0x40f18c
and dword [esp + 0x9c], 0xfffffe00
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xd8]
push edx
mov byte [esp + 0x124], 5
call fcn.00405a30
add esp, 8
test al, al
je 0x40f156
cmp byte [esp + 0x9c], 6
jne 0x40f156
xor esi, esi
lea eax, [esp + 0x94]
mov dword [esp + 0x90], esi
call fcn.00469dde
test eax, eax
jbe 0x40f0ff
lea ebx, [ebx]
push esi
lea eax, [esp + 0x98]
push eax
call fcn.00469e2e
cmp byte [eax + 8], 7
mov dword [esp + 0x30], eax
jne 0x40f0e3
push 0xb0
call fcn.0047d804
add esp, 4
cmp eax, ebx
je 0x40e81a
call fcn.00408bc0
mov esi, eax
mov dword [esp + 0x34], eax
jmp 0x40e820
xor esi, esi
mov dword [esp + 0x34], esi
push 5
push str.admin
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404770
mov ecx, dword [esp + 0x30]
push ecx
lea edi, [esp + 0x18]
mov byte [esp + 0x120], 6
call fcn.00405b60
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x11c], 5
cmp dword [esp + 0x2c], 0x10
jb 0x40e87a
mov edx, dword [esp + 0x18]
push edx
call fcn.0047d710
add esp, 4
push 8
push str.toolType
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404770
mov eax, dword [esp + 0x30]
push eax
lea edi, [esp + 0x18]
mov byte [esp + 0x120], 7
call fcn.00405b60
add esp, 4
mov dword [esi + 4], eax
mov byte [esp + 0x11c], 5
cmp dword [esp + 0x2c], 0x10
jb 0x40e8ce
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047d710
add esp, 4
push 4
push 0x4a2058
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 8
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x74]
push edx
lea esi, [esp + 0x5c]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 9
cmp dword [eax + 0x18], 0x10
jb 0x40e937
mov esi, dword [eax + 4]
jmp 0x40e93a
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
jmp 0x40e950
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e950
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404770
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x120], 0xa
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 8
push eax
mov eax, ecx
mov byte [esp + 0x128], 0xb
call fcn.00402830
cmp dword [esp + 0x8c], 8
jb 0x40e9ae
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov esi, 0x10
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
cmp dword [esp + 0x2c], esi
jb 0x40e9df
mov eax, dword [esp + 0x18]
push eax
call fcn.0047d710
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x70], esi
jb 0x40e9fe
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x54], esi
jb 0x40ea25
mov edx, dword [esp + 0x40]
push edx
call fcn.0047d710
add esp, 4
push 4
push str.path
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 0xc
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x5c]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x40ea91
mov esi, dword [eax + 4]
jmp 0x40ea94
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40eaa5
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404770
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 0xe
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 0x40
push eax
mov eax, ecx
mov byte [esp + 0x128], 0xf
call fcn.00402830
cmp dword [esp + 0x70], 8
jb 0x40eb00
mov edx, dword [esp + 0x5c]
push edx
call fcn.0047d710
add esp, 4
xor eax, eax
mov esi, 0x10
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esp + 0x2c], esi
jb 0x40eb2b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x8c], esi
jb 0x40eb4d
mov edx, dword [esp + 0x78]
push edx
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x54], esi
jb 0x40eb7a
mov eax, dword [esp + 0x40]
push eax
call fcn.0047d710
add esp, 4
push 4
push str.desc
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 0x10
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x90]
push ecx
lea esi, [esp + 0x5c]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 0x11
cmp dword [eax + 0x18], 0x10
jb 0x40ebe6
mov esi, dword [eax + 4]
jmp 0x40ebe9
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ec00
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404770
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 0x12
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 0x78
push eax
mov eax, ecx
mov byte [esp + 0x128], 0x13
call fcn.00402830
cmp dword [esp + 0x70], 8
jb 0x40ec5b
mov eax, dword [esp + 0x5c]
push eax
call fcn.0047d710
add esp, 4
xor ecx, ecx
mov esi, 0x10
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x2c], esi
jb 0x40ec86
mov edx, dword [esp + 0x18]
push edx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x8c], esi
jb 0x40eca8
mov eax, dword [esp + 0x78]
push eax
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x54], esi
jb 0x40ecd5
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047d710
add esp, 4
push 5
push str.image
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 0x14
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x90]
push edx
lea esi, [esp + 0x5c]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x40ed41
mov esi, dword [eax + 4]
jmp 0x40ed44
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ed55
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404770
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 0x16
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 0x5c
push eax
mov eax, ecx
mov byte [esp + 0x128], 0x17
call fcn.00402830
cmp dword [esp + 0x70], 8
jb 0x40edb0
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov esi, 0x10
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
cmp dword [esp + 0x2c], esi
jb 0x40eddb
mov eax, dword [esp + 0x18]
push eax
call fcn.0047d710
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x8c], esi
jb 0x40edfd
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x54], esi
jb 0x40ee2a
mov edx, dword [esp + 0x40]
push edx
call fcn.0047d710
add esp, 4
push 5
push str.param
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 0x18
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x5c]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 0x19
cmp dword [eax + 0x18], 0x10
jb 0x40ee96
mov esi, dword [eax + 4]
jmp 0x40ee99
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40eeb0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404770
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 0x1a
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 0x94
push eax
mov eax, ecx
mov byte [esp + 0x128], 0x1b
call fcn.00402830
cmp dword [esp + 0x70], 8
jb 0x40ef0e
mov edx, dword [esp + 0x5c]
push edx
call fcn.0047d710
add esp, 4
xor eax, eax
mov esi, 0x10
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esp + 0x2c], esi
jb 0x40ef39
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x8c], esi
jb 0x40ef5b
mov edx, dword [esp + 0x78]
push edx
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x54], esi
jb 0x40ef88
mov eax, dword [esp + 0x40]
push eax
call fcn.0047d710
add esp, 4
push 7
push str.btnName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x138], 0x1c
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a16c8
mov byte [ecx + 4], bl
call fcn.00404770
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x90]
push ecx
lea esi, [esp + 0x34]
call fcn.00405c50
add esp, 0x20
mov byte [esp + 0x11c], 0x1d
cmp dword [eax + 0x18], 0x10
jb 0x40eff4
mov eax, dword [eax + 4]
jmp 0x40eff7
add eax, 4
push eax
lea ecx, [esp + 0x40]
call fcn.00403d80
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 0x1e
call fcn.00403040
add esp, 4
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
add ecx, 0x24
push eax
mov eax, ecx
mov byte [esp + 0x128], 0x1f
call fcn.00402830
cmp dword [esp + 0x70], 8
jb 0x40f048
mov eax, dword [esp + 0x5c]
push eax
call fcn.0047d710
add esp, 4
xor ecx, ecx
mov esi, 0x10
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x54], esi
jb 0x40f073
mov edx, dword [esp + 0x40]
push edx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x8c], esi
jb 0x40f095
mov eax, dword [esp + 0x78]
push eax
call fcn.0047d710
add esp, 4
mov byte [esp + 0x11c], 5
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x2c], esi
jb 0x40f0c2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047d710
add esp, 4
mov edi, dword [esp + 0xb4]
lea edx, [esp + 0xb0]
push edx
add edi, 0x4e0
call fcn.00411780
mov esi, dword [esp + 0x90]
inc esi
lea eax, [esp + 0x94]
mov dword [esp + 0x90], esi
call fcn.00469dde
cmp esi, eax
jb 0x40e7e0
lea esi, [esp + 0x94]
mov byte [esp + 0x11c], 3
call fcn.0046941b
cmp dword [esp + 0xec], 0x10
jb 0x40f12d
mov eax, dword [esp + 0xd8]
push eax
call fcn.0047d710
add esp, 4
cmp dword [esp + 0x108], 8
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x40f1b3
mov ecx, dword [esp + 0xf4]
push ecx
jmp 0x40f1ab
lea esi, [esp + 0x94]
mov byte [esp + 0x11c], 3
call fcn.0046941b
cmp dword [esp + 0xec], 0x10
jb 0x40f184
mov edx, dword [esp + 0xd8]
push edx
call fcn.0047d710
add esp, 4
cmp dword [esp + 0x108], 8
mov byte [esp + 0xd8], bl
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebp
jb 0x40f1b3
mov eax, dword [esp + 0xf4]
push eax
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.0047d444
add esp, 0x10c
ret 4