Function at 0x4048e9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
cmp dword [ebp + 0xc], 0x111
je 0x4053e1
cmp dword [ebp + 0xc], 0x111
ja 0x40575a
cmp dword [ebp + 0xc], 1
je 0x404922
cmp dword [ebp + 0xc], 2
je 0x405747
jmp 0x40575a
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x124
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800200
mov dword [esp + 8], 0x42d7ec
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x28], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0xa
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x124
mov dword [esp + 0xc], 0x50800203
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d83e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x43805c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x43805c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438048]
movzx eax, word [eax + 0x2e]
test ax, ax
je 0x404a71
mov edx, 1
jmp 0x404a76
mov edx, 0
mov eax, dword [0x43805c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0xf1
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x124
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800200
mov dword [esp + 8], 0x42d84c
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x2c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0xb
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], 0x124
mov dword [esp + 0xc], 0x50800203
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d83e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x438060], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x438060]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438048]
movzx eax, word [eax + 0x2c]
test ax, ax
je 0x404beb
mov edx, 1
jmp 0x404bf0
mov edx, 0
mov eax, dword [0x438060]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0xf1
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0xf2
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800200
mov dword [esp + 8], 0x42d894
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x30], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0xf2
mov dword [esp + 0xc], 0x50802201
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d8b6
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x43804c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x43804c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov word [ebp - 0x4b], 0
mov byte [ebp - 0x49], 0
mov eax, dword [0x438048]
fld dword [eax + 0x24]
fnstcw word [ebp - 0x6a]
movzx eax, word [ebp - 0x6a]
or ah, 0xc
mov word [ebp - 0x6c], ax
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x70]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02d
lea eax, [ebp - 0x4b]
mov dword [esp], eax
call sym._sprintf_1
mov eax, dword [0x43804c]
lea edx, [ebp - 0x4b]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x12
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x112
mov dword [esp + 0xc], 0x50800001
mov dword [esp + 8], 0x42d8c6
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x34], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x124
mov dword [esp + 0xc], 0x50802201
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d8b6
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x438050], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x438050]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438048]
fld dword [eax + 0x24]
fld dword [0x42da08]
fmulp st(1)
mov eax, dword [0x438048]
fld dword [eax + 0x24]
fnstcw word [ebp - 0x6a]
movzx eax, word [ebp - 0x6a]
or ah, 0xc
mov word [ebp - 0x6c], ax
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x70]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x64
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fsubp st(1)
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x38]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02d
lea eax, [ebp - 0x4b]
mov dword [esp], eax
call sym._sprintf_1
mov eax, dword [0x438050]
lea edx, [ebp - 0x4b]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0xf2
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800200
mov dword [esp + 8], 0x42d8cc
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x3c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x10], 0xf2
mov dword [esp + 0xc], 0x50802201
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d8b6
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x438054], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x438054]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov word [ebp - 0x4e], 0
mov byte [ebp - 0x4c], 0
mov eax, dword [0x438048]
fld dword [eax + 0x28]
fnstcw word [ebp - 0x6a]
movzx eax, word [ebp - 0x6a]
or ah, 0xc
mov word [ebp - 0x6c], ax
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x70]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02d
lea eax, [ebp - 0x4e]
mov dword [esp], eax
call sym._sprintf_1
mov eax, dword [0x438054]
lea edx, [ebp - 0x4e]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x12
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x10], 0x112
mov dword [esp + 0xc], 0x50800001
mov dword [esp + 8], 0x42d8c6
mov dword [esp + 4], 0x42d82e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x40], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x10], 0x124
mov dword [esp + 0xc], 0x50802201
mov dword [esp + 8], 0x42d83c
mov dword [esp + 4], 0x42d8b6
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [0x438058], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [0x438058]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438048]
fld dword [eax + 0x28]
fld dword [0x42da08]
fmulp st(1)
mov eax, dword [0x438048]
fld dword [eax + 0x28]
fnstcw word [ebp - 0x6a]
movzx eax, word [ebp - 0x6a]
or ah, 0xc
mov word [ebp - 0x6c], ax
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x70]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x64
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fsubp st(1)
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x38]
fldcw word [ebp - 0x6a]
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02d
lea eax, [ebp - 0x4e]
mov dword [esp], eax
call sym._sprintf_1
mov eax, dword [0x438058]
lea edx, [ebp - 0x4e]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x146
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800001
mov dword [esp + 8], 0x42d8f8
mov dword [esp + 4], 0x42d83e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x44], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 2
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x146
mov dword [esp + 0x14], 0x9e
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800001
mov dword [esp + 8], 0x42d924
mov dword [esp + 4], 0x42d83e
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebp - 0x48], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
jmp 0x405782
mov eax, dword [ebp + 0x10]
cmp ax, 1
jne 0x4054f5
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test ax, ax
jne 0x4054f5
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x42d93a
mov dword [esp + 4], 0x42d954
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 6
jne 0x405744
mov edx, dword [0x438048]
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call dbg.eboros_account_remove
test eax, eax
jne 0x405744
mov eax, dword [0x438044]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x405484
mov eax, dword [0x438044]
mov eax, dword [eax + 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
call eax
sub esp, 4
mov ebx, dword [0x438044]
call dbg.ew_win_products_new
mov dword [ebx + 0x48], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4054b3
mov eax, dword [0x438044]
mov eax, dword [eax + 0x50]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
call eax
sub esp, 4
mov ebx, dword [0x438044]
call dbg.ew_win_history_new
mov dword [ebx + 0x50], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8007
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
call eax
sub esp, 4
jmp 0x405744
mov eax, dword [ebp + 0x10]
cmp ax, 2
jne 0x405781
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test ax, ax
jne 0x405781
mov eax, dword [0x43805c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
cmp eax, 1
sete dl
mov eax, dword [0x438048]
movzx edx, dl
mov word [eax + 0x2e], dx
mov eax, dword [0x438060]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
sub esp, 0x10
cmp eax, 1
sete dl
mov eax, dword [0x438048]
movzx edx, dl
mov word [eax + 0x2c], dx
mov word [ebp - 0x51], 0
mov byte [ebp - 0x4f], 0
mov word [ebp - 0x54], 0
mov byte [ebp - 0x52], 0
mov eax, dword [0x43804c]
mov dword [esp + 8], 3
lea edx, [ebp - 0x51]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
mov eax, dword [0x438050]
mov dword [esp + 8], 3
lea edx, [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
lea eax, [ebp - 0x51]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym._strlen
cmp eax, 1
ja 0x405612
mov eax, 0xa
jmp 0x405617
mov eax, 0x64
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x10]
fild dword [ebp - 0x14]
fild dword [ebp - 0x18]
fdivp st(1)
mov eax, dword [0x438048]
faddp st(1)
fstp dword [eax + 0x24]
mov word [ebp - 0x57], 0
mov byte [ebp - 0x55], 0
mov word [ebp - 0x5a], 0
mov byte [ebp - 0x58], 0
mov eax, dword [0x438054]
mov dword [esp + 8], 3
lea edx, [ebp - 0x57]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
mov eax, dword [0x438058]
mov dword [esp + 8], 3
lea edx, [ebp - 0x5a]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
lea eax, [ebp - 0x57]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5a]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x5a]
mov dword [esp], eax
call sym._strlen
cmp eax, 1
ja 0x4056b8
mov eax, 0xa
jmp 0x4056bd
mov eax, 0x64
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x1c]
fild dword [ebp - 0x20]
fild dword [ebp - 0x24]
fdivp st(1)
mov eax, dword [0x438048]
faddp st(1)
fstp dword [eax + 0x28]
mov edx, dword [0x438048]
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call dbg.eboros_account_updateSettings
test eax, eax
jne 0x405707
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dbg.eboros_env_save
test eax, eax
je 0x405732
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d9c0
mov dword [esp + 4], str.Saving_failed
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
jmp 0x405782
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
call eax
sub esp, 4
jmp 0x405781
nop
jmp 0x405781
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_PostQuitMessage]
call eax
sub esp, 4
jmp 0x405782
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
call eax
sub esp, 0x10
jmp 0x405787
nop
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret 0x10